[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem: Cannot find repository from remote

From: <ben_at_amigos24.net>
Date: Sat, 08 Mar 2008 05:36:32 +0200


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
- is the IP of the local machine, to which I want to
checkout and "workingcopy" the folder to which checkout
- the IP of the machine containing the repository in

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@


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@"

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.


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@
>> - 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@ BBBB
>> ben3_at_192.168.0.38's password:
>> ben3_at_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@
>> [url][/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, then run the checkout
> command on the machine whose IP address is, not on the
> machine whose IP address is 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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-08 04:37:21 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.