You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Schonle <be...@amigos24.net> on 2008/03/07 18:47:15 UTC
Problem: Cannot find repository from remote
Problem: Cannot find repository when connecting remotely
Hello,
I have managed to setup a repository (on ubuntu server), import, update
and checkout locally.
However, if I try to connect to the svn remotely via putty from a
windows machine / or via terminal from another ubuntu machine I get the
error:
"No repository found in svn://192.168.0.38/svn/myproject "
<svn://192.168.0.38/svn/myproject>
What I tried to connect:
----------------------------------------
1) connect with putty to the computer where the repository lies
2) Entering:
$ svn co svn://192.168.0.38/svn/myproject targetfolder --username ben
OR
$ svn co svn://localhost/svn/myproject targetfolder --username ben3
3) Error: $ svn co svn://192.168.0.38/svn/myproject targetfolder
--username ben
(Locally this is working "$ svn checkout file:///home/svn/myproject
targetfolder " )
=======================================
What is the correct syntax for connecting remotely to a svn?
=======================================
Would be great, if someone could help,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Problem: Cannot find repository from remote
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 7, 2008, at 21:36, ben@amigos24.net wrote:
> Ryan wrote:
>
>> Use the svn command in the DOS command prompt on the Windows
>> machine to do the checkout. Or use TortoiseSVN as you've already
>> done.
>
>
> I am a rookie on Linux on svn in particular. Thus my question, what
> would be that command, considering:
> - the \ in Windows.
> - the fact that svn needs to know where the repository is
> - 192.168.0.35 is the IP of the local machine, to which I want to
> checkout and "workingcopy" the folder to which checkout
> - 192.168.0.38 the IP of the machine containing the repository in
> home/svn/myproject
>
>
> 1) Assuming I use windows commandline: I move to the folder of the
> working copy:
>
> ------------------------------
> "cd workingcopy"
> ------------------------------
>
>
> 2) I connect to the SVN on the remote machine
>
> ------------------------------
>
> svn co svn+ssh://ben3@192.168.0.38/home/svn/myproject
> ------------------------------
>
> It asks for authetication, I enter the credentials.
>
>
> 3) I run the svn command being already in the folder "workingcopy":
>
> ----------------------------------------------------------------------
> --------
> "svn checkout svn+ssh://ben3@192.168.0.35"
> ----------------------------------------------------------------------
> --------
>
> 4) It now should ask me for the credentials and checkout to that
> folder
>
>
>
> Would be nice, if someone could validate the steps and commands of
> how to connect remotely to the svn and of how to checkout to the
> local windows machine.
See the output of "svn help checkout" which will tell you that the
usage is "checkout URL[@REV]... [PATH]"
In other words, if you want a working copy of svn+ssh://
ben3@192.168.0.38/home/svn/myproject checked out into path\to
\workingcopy, you would run
svn checkout svn+ssh://ben3@192.168.0.38/home/svn/myproject path\to
\workingcopy
on the machine where you want path\to\workingcopy to be created (i.e.
in the DOS command prompt window on the Windows machine whose IP
address is 192.168.0.35).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Problem: Cannot find repository from remote
Posted by "ben@amigos24.net" <be...@amigos24.net>.
Hi
Ryan wrote: "Use the svn command in the DOS command prompt on the
Windows machine to do the checkout. Or use TortoiseSVN as you've already
done. "
I am a rookie on Linux on svn in particular. Thus my question, what
would be that command, considering:
- the \ in Windows.
- the fact that svn needs to know where the repository is
- 192.168.0.35 is the IP of the local machine, to which I want to
checkout and "workingcopy" the folder to which checkout
- 192.168.0.38 the IP of the machine containing the repository in
home/svn/myproject
1) Assuming I use windows commandline: I move to the folder of the
working copy:
------------------------------
"cd workingcopy"
------------------------------
2) I connect to the SVN on the remote machine
------------------------------
svn co svn+ssh://ben3@192.168.0.38/home/svn/myproject
------------------------------
It asks for authetication, I enter the credentials.
3) I run the svn command being already in the folder "workingcopy":
------------------------------------------------------------------------------
"svn checkout svn+ssh://ben3@192.168.0.35"
------------------------------------------------------------------------------
4) It now should ask me for the credentials and checkout to that folder
Would be nice, if someone could validate the steps and commands of how
to connect remotely to the svn and of how to checkout to the local
windows machine.
Thx,
Ben
Ryan Schmidt wrote:
> On Mar 7, 2008, at 14:16, Ben Schonle wrote:
>
>> A short update:
>> -------------------
>>
>>
>> Hello,
>>
>> I can now check out to a remote machine using Tortoise.
>> - I mark a folder to be used for the local working copy and click
>> "Checkout" in the context menu appearing on right click.
>> - I enter: svn+ssh://ben3@192.168.0.38/home/svn/myproject
>> - It asks the psw for ben3 twice
>> - I enter password twice.
>> - It checks out and creates a local copy.
>
> Great! So it works. Seems like you're done...
>
>> Now to the persisting problem:
>> -------------------------------------
>> - I use putty, ssh
>> - I login first with ben3, enter the password for ben3
>> - Then I enter:
>>
>> svn co svn+ssh://ben3@192.168.0.38/home/svn/myproject BBBB
>> ben3@192.168.0.38's password:
>> ben3@192.168.0.38's password:
>> A BBBB/bewegtesbild
>> A BBBB/bewegtesbild/sbf
>> A BBBB/testsvnfolder
>> A BBBB/eigen
>> A BBBB/eigen/trunk
>> A BBBB/eigen/trunk/test
>> A BBBB/eigen/branches
>> A BBBB/eigen/tags
>> Checked out revision 3.
>>
>> It checks out into a folder BBBB, BUT on the machine where the
>> repository is, not the remote machine.
>
> Makes sense, doesn't it? You've ssh'd to the remote machine. Then on
> that machine, you've issued a checkout command. The working copy is
> checked out to the same machine on which you ran the checkout command.
>
>> I was wondering now whether I somehow have to define the path BBBB
>> differently like
>> svn co svn+ssh://ben3@192.168.0.38/home/svn/myproject
>> [url]http://192.168.0.35/C:/IBBBB[/url] ???
>
> No, the working copy is always checked out to the machine on which you
> ran the checkout command. If you want to check out the working copy on
> the machine whose IP address is 192.168.0.35, then run the checkout
> command on the machine whose IP address is 192.168.0.35, not on the
> machine whose IP address is 192.168.0.38 like you're doing.
>
>> The problem is that this is not working and how would I define the
>> path if the remote machine uses Windows as OS?
>
> Use the svn command in the DOS command prompt on the Windows machine
> to do the checkout. Or use TortoiseSVN as you've already done.
>
>> Cheers,
>> Ben
>>
>> PS: I started svn serve with:
>>
>> $ svnserve -d --foreground -r /home/svn
>
> Since you're using the svn+ssh protocol (and not the svn protocol),
> you don't need to start svnserve manually (and a copy you've started
> manually won't be used). The svn+ssh protocol starts a copy of
> svnserve for you when needed and closes it when it's done.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Problem: Cannot find repository from remote
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 7, 2008, at 14:16, Ben Schonle wrote:
> A short update:
> -------------------
>
>
> Hello,
>
> I can now check out to a remote machine using Tortoise.
> - I mark a folder to be used for the local working copy and click
> "Checkout" in the context menu appearing on right click.
> - I enter: svn+ssh://ben3@192.168.0.38/home/svn/myproject
> - It asks the psw for ben3 twice
> - I enter password twice.
> - It checks out and creates a local copy.
Great! So it works. Seems like you're done...
> Now to the persisting problem:
> -------------------------------------
> - I use putty, ssh
> - I login first with ben3, enter the password for ben3
> - Then I enter:
>
> svn co svn+ssh://ben3@192.168.0.38/home/svn/myproject BBBB
> ben3@192.168.0.38's password:
> ben3@192.168.0.38's password:
> A BBBB/bewegtesbild
> A BBBB/bewegtesbild/sbf
> A BBBB/testsvnfolder
> A BBBB/eigen
> A BBBB/eigen/trunk
> A BBBB/eigen/trunk/test
> A BBBB/eigen/branches
> A BBBB/eigen/tags
> Checked out revision 3.
>
> It checks out into a folder BBBB, BUT on the machine where the
> repository is, not the remote machine.
Makes sense, doesn't it? You've ssh'd to the remote machine. Then on
that machine, you've issued a checkout command. The working copy is
checked out to the same machine on which you ran the checkout command.
> I was wondering now whether I somehow have to define the path BBBB
> differently like
> svn co svn+ssh://ben3@192.168.0.38/home/svn/myproject [url]http://
> 192.168.0.35/C:/IBBBB[/url] ???
No, the working copy is always checked out to the machine on which
you ran the checkout command. If you want to check out the working
copy on the machine whose IP address is 192.168.0.35, then run the
checkout command on the machine whose IP address is 192.168.0.35, not
on the machine whose IP address is 192.168.0.38 like you're doing.
> The problem is that this is not working and how would I define the
> path if the remote machine uses Windows as OS?
Use the svn command in the DOS command prompt on the Windows machine
to do the checkout. Or use TortoiseSVN as you've already done.
> Cheers,
> Ben
>
> PS: I started svn serve with:
>
> $ svnserve -d --foreground -r /home/svn
Since you're using the svn+ssh protocol (and not the svn protocol),
you don't need to start svnserve manually (and a copy you've started
manually won't be used). The svn+ssh protocol starts a copy of
svnserve for you when needed and closes it when it's done.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Problem: Cannot find repository from remote
Posted by Ben Schonle <be...@amigos24.net>.
A short update:
-------------------
Hello,
I can now check out to a remote machine using Tortoise.
- I mark a folder to be used for the local working copy and click
"Checkout" in the context menu appearing on right click.
- I enter: svn+ssh://ben3@192.168.0.38/home/svn/myproject
- It asks the psw for ben3 twice
- I enter password twice.
- It checks out and creates a local copy.
Now to the persisting problem:
-------------------------------------
- I use putty, ssh
- I login first with ben3, enter the password for ben3
- Then I enter:
svn co svn+ssh://ben3@192.168.0.38/home/svn/myproject BBBB
ben3@192.168.0.38's password:
ben3@192.168.0.38's password:
A BBBB/bewegtesbild
A BBBB/bewegtesbild/sbf
A BBBB/testsvnfolder
A BBBB/eigen
A BBBB/eigen/trunk
A BBBB/eigen/trunk/test
A BBBB/eigen/branches
A BBBB/eigen/tags
Checked out revision 3.
It checks out into a folder BBBB, BUT on the machine where the
repository is, not the remote machine.
I was wondering now whether I somehow have to define the path BBBB
differently like
svn co svn+ssh://ben3@192.168.0.38/home/svn/myproject
[url]http://192.168.0.35/C:/IBBBB[/url] ???
The problem is that this is not working and how would I define the path
if the remote machine uses Windows as OS?
Cheers,
Ben
PS: I started svn serve with:
$ svnserve -d --foreground -r /home/svn
Ryan Schmidt wrote:
> On Mar 7, 2008, at 12:47, Ben Schonle wrote:
>
>> I have managed to setup a repository (on ubuntu server), import,
>> update and checkout locally.
>>
>> However, if I try to connect to the svn remotely via putty from a
>> windows machine / or via terminal from another ubuntu machine I get
>> the error:
>>
>> "No repository found in svn://192.168.0.38/svn/myproject "
>> <svn://192.168.0.38/svn/myproject>
>
> [snip]
>
>> What is the correct syntax for connecting remotely to a svn?
>
> That depends on how you're starting svnserve, specifically on the "-d"
> argument you're passing to svnserve.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Problem: Cannot find repository from remote
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 7, 2008, at 12:47, Ben Schonle wrote:
> I have managed to setup a repository (on ubuntu server), import,
> update and checkout locally.
>
> However, if I try to connect to the svn remotely via putty from a
> windows machine / or via terminal from another ubuntu machine I get
> the error:
>
> "No repository found in svn://192.168.0.38/svn/myproject " <svn://
> 192.168.0.38/svn/myproject>
[snip]
> What is the correct syntax for connecting remotely to a svn?
That depends on how you're starting svnserve, specifically on the "-
d" argument you're passing to svnserve.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org