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

Re: Externals with a different directory name?

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-10 06:42:50 CET

On Mar 9, 2007, at 09:12, Tom Malia wrote:

> How would I reference the necessary "tag"/"version" of the 3rd
> party code
> without using subdirectories in the URL?
>
> My 3rd party vendor repository looks like:
>
> VENDOR_REPO_ROOT
> |_Solomon
> |_versions
> |_V55
> | |_{Version 55 source files}
> |_V60
> | |_{Version 60 source files}
>
>
> My internal/common source code repository looks like:
> MY_SOLOMON_PROJ_REPO_ROOT
> |_Project_Nbr1
> |_{Common Code and Project file}
>
>
> So my externals property to bring in the desired version of the
> third party
> code, assume would have to use a URL like:
> Svn:localhost/VENDOR_REPO_ROOT/Solomon/Version/V55
>
> Because what I want to try to do is check out the content of that V55
> subdirectory in the repository to a Directory named "Solomon" in my
> working
> directory.... so I have to include the "subdirectories" in my URL
> don't I?

The syntax for svn:externals is:

<localname> <remoteurl>

So you could set the svn:externals property of the appropriate
directory to the following value:

Solomon svn://localhost/VENDOR_REPO_ROOT/Solomon/Version/V55

This will check out the code in svn://localhost/VENDOR_REPO_ROOT/
Solomon/Version/V55 into a directory in your project called Solomon,
which it will create for you.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 10 06:43:14 2007

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.