>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

This should be:

cvs admin -n rel-0-4:old-name-0-4 tc
cvs tag -d old-name-0-4 tc

Including updated patch...
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:09:22
@@ -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 rel-0-4:old-name-0-4 tc
+cvs tag -d old-name-0-4 tc
 @end example
 
 @node Tagging add/remove

Reply via email to