[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: amol gole <moleman_24_at_yahoo.com>
Date: Sat, 29 Jan 2011 18:01:11 -0800 (PST)

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.

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.

-AG

 

________________________________
 From: NN Ott <nonot100_at_gmail.com>;
To: amol gole <moleman_24_at_yahoo.com>;
Cc: <users_at_subversion.apache.org>;
Subject: Re: externals behavior with tags
Sent: Wed, Jan 26, 2011 10:36:13 PM
 

On Wed, Jan 26, 2011 at 5:02 PM, amol gole <moleman_24_at_yahoo.com> wrote:

I am a tortise svn user. I recently started trying the svn:externals property to
share files between projects. I got this feature to work and I am happy with it
so far.

>
>My question is related to how tags should behave with such shared files. I use
>tags as snapshots of my project in time. The tag is a copy of my trunk/branch
>when I created it. However, if I am using shared files via the externals
>property, these externally linked files will not be static - they will change if
>I do an update on my tag! This is definitely not the behavior I'm looking for.
>
>
>Immediately I can think of 2 ways to "fix" this behavior of the tag not being
>truly static:
>1. In a tag, externally linked files loose their external link and are now just
>copies of the files. (yuck)
>2. In a tag, the svn:externals property is changed slightly such that it points
>to the specific revision of the file when the tag was created. (using -rREV url
>filename format)
>
>
>Is this really a problem or is there another fix available that I am unaware of?
>
>
>
>

Option 2 is supported, and in fact is the recommended method.

See:
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.externals

      
Received on 2011-01-30 03:01:51 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.