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

Re: Finishing relative svn:externals

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-07-20 05:33:17 CEST

Jeremy Pereira wrote:
>
> I'm a lurker on this list and I wouldn't normally presume to comment,
> but something in your post aroused my curiosity.
>
> On 19 Jul 2007, at 09:47, Blair Zajac wrote:
>
>> I'm picking up feature to support relative URLs in svn:externals:
>> 1) Relative to the current directory
>>
>> You never pull an external from a subdirectory where you are, you
>> always go up, so relative URLs will always start with a ..
>
> Why not? I can even think of a use-case i.e. to flatten the directory
> hierarchy of a working copy. e.g.
>
> path/to/a/really/deeply/nested/but/useful_component useful_component
>
> I realise that with a normal recursive checkout you'll get
> "useful_component" appearing twice in in your working copy hierarchy,
> but it's not as if that can't happen with ../path or even absolute URLs.

True. In that case, you could use ./ to indicate a relative to current
directory path.

Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 20 05:32:37 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.