Bug Report
----------
Reported By: Stephen Rasku
Module: CVS Manual
Version: 1.10.8
OS: All
Description:
In section 4.7, "Deleting, moving, and renaming tags", it indicates
that you rename tags by creating a tag and deleting the old tag. This
is the example it gives:
cvs rtag -r old-name-0-4 rel-0-4 tc
cvs rtag -d old-name-0-4 tc
Unfortunately, this won't work if the original tag is a branch -- the
renamed tag won't be a branch tag. You need to use cvs admin -n to do
this:
cvs admin -n old-name-0-4:rel-0-4 tc
cvs tag -d old-name-0-4 tc
The document should be updated to reflect this. In fact, this should
probably be the "approved" way of doing this since it should work in
either case.
I have included a patch with proposed changes. I don't have texinfo
installed here so I haven't tried to parse the changes. Even though I
am not an expert, the changes are not substantial so there should be
no problem with them.
--
Stephen Rasku E-mail: [EMAIL PROTECTED]
Senior Software Engineer Phone: (604) 872-6676
TGI Technologies Web: http://www.tgivan.com/
Index: cvs.texinfo
===================================================================
RCS file: /tgi/data/cvsroot/tools/cvs/doc/cvs.texinfo,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 cvs.texinfo
--- cvs.texinfo 2000/04/27 17:21:01 1.1.1.3
+++ cvs.texinfo 2000/05/30 19:04:24
@@ -3599,14 +3599,14 @@
tag. For example, one may have misspelled the tag name
and want to correct it (hopefully before others are
relying on the old spelling). To rename a tag, first
-create a new tag using the @samp{-r} option to
-@code{cvs rtag}, and then delete the old name. This
+create an alias for the old tag by using @code{cvs admin -n}
+and then delete the old name. This
leaves the new tag on exactly the same files as the old
tag. For example:
@example
-cvs rtag -r old-name-0-4 rel-0-4 tc
-cvs rtag -d old-name-0-4 tc
+cvs admin -n old-name-0-4 rel-0-4 tc
+cvs tag -d old-name-0-4 tc
@end example
@node Tagging add/remove