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

Re: externals behavior with tags

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Mon, 31 Jan 2011 01:36:19 -0600

On Jan 30, 2011, at 22:35, amol gole wrote:

> Ryan Schmidt wrote:
>
>> On Jan 29, 2011, at 20:01, amol gole wrote:
>>
>> > Thanks for the link. I knew the -rREV method was supported I just feel that doing that for every externally referenced file is a pain and one more thing to keep track of. Oh well.
>>
>> Don't use "-rREV URL" (an operative revision) in an externals definition. Do use "URL_at_REV" (a peg revision). I recommend you use a (peg) revision in every external you define. I don't consider this more work; I consider it an absolute necessity to unambiguously indicate what resource you're intending to obtain.
>>
>>
>> > Is there a way to search for all instances of an externally ref file in the entire repo? I think a "where used" type function is what im looking for.
>>
>> I don't think so.
>
> Whats the benefit to using the peg revision format?

If the directory in question is ever moved, renamed or deleted in the future, your external won't break.
Received on 2011-01-31 08:37:00 CET

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.