4.7 Deleting, moving, and renaming tagsNormally one does not modify tags. They exist in order to record the history of the repository and so deleting them or changing their meaning would, generally, not be what you want. However, there might be cases in which one uses a tag temporarily or accidentally puts one in the wrong place. Therefore, one might delete, move, or rename a tag. WARNING: the commands in this section are dangerous; they permanently discard historical information and it can be difficult or impossible to recover from errors. If you are a CVS administrator, you may consider restricting these commands with the `taginfo' file (see section C.5 Taginfo).
To delete a tag, specify the `-d' option to either
deletes the non-branch tag
WARNING: Moving branch tags is very dangerous! If you think
you need the
When we say move a tag, we mean to make the same
name point to different revisions. For example, the
If any branch tags are encountered in the repository
with the given name, a warning is issued and the branch
tag is not disturbed. If you are absolutely certain you
wish to move the branch tag, the
WARNING: Moving branch tags is very dangerous! If you think you
need the
When we say rename a tag, we mean to make a
different name point to the same revisions as the old
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 `-r' option to
This document was generated by Frank Budszuhn on 10/28/2004 using slightly modified texi2html |