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

Re: Can we use relative paths in svn:externals propset?

From: Blair Zajac <blair_at_orcaware.com>
Date: Thu, 29 Apr 2010 13:18:49 -0700

On 04/29/2010 01:09 PM, David Bartmess wrote:
> I have two projects under a single repository, with A being dependent on
> B being checked out.
> To set the svn:externals propset, can I use a relative path for the
> checkout directory for the depending (B) directory?
> Such as :
> svn propset svn:externals "../buildsupport
> http://<URL>/buildsupport/trunk" BuildScripts
> Will this work? I can't afford to try it on that repository since it's a
> live development repository...

You can always try setting up externals by modifying them in your
working copy and running svn update and see if you get the desired
result. You don't need to commit the change to test it.

IIRC, you can't have a relative path to a directory outside the
directory where the external is, as it doesn't know if it's a Subversion
working copy or not.

Received on 2010-04-29 22:19:21 CEST

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