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

Re: SVN CHECKOUT Remote Unix Box

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 26 Sep 2008 17:03:52 -0500

On Sep 26, 2008, at 16:57, Charles E. James wrote:

> I am working from a QA Unix box checking out a tag from a remote
> svn server. Will this command be the proper way to do it:
>
> Set env var on remote QA box:
> SVNROOT=":svn+ssh:username_at_svn.server.org/svn/ist-svn/projects/ist
> SVN_RSH="usr/bin/ssh"
>
> Command to run from remote QA Box to the svn server:
> Check out:
> svn checkout file:///path/to/tagdirectory tagnumber
>
> OR do I need to run this command:
>
> svn checkout svn+ssh:username_at_svn.server.org/svn/ist-svn/projects/
> ist/projectname/tag tagnumber

There isn't a variable SVNROOT. You give the URL you want to check
out in the "svn checkout" command.

Usually the directory is called "tags", not "tag", and since tags are
nothing special, just another directory, you must specify the tag
name as part of the checkout URL, just like you would for any other
part of the repository you wanted to check out.

So if you have a tag "foo" that you want to check out, and you are
using the standard naming of "tags" for the tags directory, then you
can check it out using:

svn checkout svn+ssh:username_at_svn.server.org/svn/ist-svn/projects/ist/
projectname/tags/foo wc

where "wc" is the name of the working copy that will be created locally.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-27 00:04:14 CEST

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.