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

move a tag?

From: Jim Correia <jim.correia_at_pobox.com>
Date: 2004-02-23 20:46:51 CET

svn newbie question...

I've read the docs about how tags conceptually differ from cvs. I'm
coming from the cvs/p4 world where if we needed to move/adjust a tag or
label, you either would do

cvs tag -F ...

or in p4, edit the label then do a labelsync

I realize that in svn a tag is just a copy:

$ svn copy http://svn.example.com/repos/trunk/calc \
            http://svn.example.com/repos/tags/calc/release-1.0 \
       -m "Tagging the 1.0 release of the 'calc' project."

Committed revision 351.

Suppose if after I made the release-1.0 tag, but before the actual
release, a bug was fixed. I want to "move" the tag so that it
represents revision 354 now.

What is the right way to do this?

Remove the tag, and make a new copy?

Merge the changes into the tag? (Does this answer change if you use the
access control scripts mentioned in the book?)

Define a new tag? (Is this conceptually what the design anticipates in
this situation?)

Something else?

Thanks,
Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 23 20:46:45 2004

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.