You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jim Correia <ji...@pobox.com> on 2004/02/23 19:46:51 UTC
move a tag?
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
Re: move a tag?
Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2004-02-23 at 13:46, Jim Correia wrote:
> 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?
You can do whatever you want. If it was never released, the easiest
solution might be:
$ svn mv TagURL TempBranchURL
#.... modify the TempBranch however you want, via merging, or whatever.
$ svn mv TempBranchURL TagURL.
I mean, you *could* commit to the TagURL. But then you're not really
treating it like a tag, are you? :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org