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

Re: Freezing externals when tagging

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2005-11-02 20:40:51 CET

Ryan Schmidt wrote:
> On Nov 1, 2005, at 22:09, Phil Endecott wrote:
>> I tag releases of the application using "svn cp appl/trunk appl/
>> tags/version123". But when I do this the externals property is not
>> "frozen" in any way, so someone checking out a tagged version will
>> continue to get the most recent version of the library. I want to
>> avoid that happening.
>
> Look into the svncopy.pl script which is in the contrib/client-side
> directory of the Subversion source distribution.

Thanks Ryan, that does exactly what I need.

(Here's an extract from its README, in case anyone else needs something
like this:)

This Perl script copies one Subversion location or set of locations to
another, in the same way as svn copy.

svncopy --pin-externals (or svncopy --tag) will update any unversioned
svn:externals in the destination tree to contain the current version of
the directory listed in the svn:externals definition. This effectively
pins the reference to the current version, and is the behaviour you want
for tagging.

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 2 20:43:24 2005

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.