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

Re: Tags and svn:externals

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Sat, 16 Feb 2008 20:26:15 -0600

On Feb 16, 2008, at 18:41, Blair Zajac wrote:

> Marcelo de Moraes Serpa wrote:
>>
>
>> I'm just about to create a tag of the first release of my
>> application. However, it uses several external packages that I
>> also commit regularly from within the app repository itself (it is
>> more practical).
>> Will the copy command also copy a snapshot of the svn:externals
>> package? (I guess not) - so, is it better to copy the working copy
>> directory snapshot to the tag?
>> Any suggestions?
>> Thanks,
>> Marcelo.
>
> The copy will copy the exact svn:externals property so a checkout
> from the tag will do a checkout of the external.
>
> So if you don't have a -r N in the external, then the tag will
> continue to pick up HEAD of the external. So people normally put
> in an explicit revision in the external when they tag it so that
> the tag doesn't pick up newer commits.

Or you can use the svncopy.pl script to create the tag, which will
add the -r argument to the external definition when it makes the tag.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-17 03:26:45 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.