On 4/29/2010 2:18 PM, Blair Zajac wrote:
> 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.
>
> Blair
>
>
Thanks, that explains what I needed to know... Relative paths using a
parent (..) or absolute paths aren't handled. So it won't work with my
system, since all the build files point to a parent "sandbox" directory,
not the current directory, for the dependencies...
--
"Dingo" Dave Bartmess
Broomfield, CO. USA
http://edingo.net
Received on 2010-04-29 23:14:56 CEST