[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: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Fri, 7 Mar 2008 23:35:56 -0600

On Mar 7, 2008, at 21:36, ben_at_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_at_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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-08 06:36:44 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.