rtag
Synopsis: rtag [OPTIONS] TAG PROJECT(S)
- Alternate names – rt, rfreeze
- Requires – Repository
- Changes – Repository
Tags a module directly in the repository (requires no working copy).
You probably need to have your CVSROOT environment variable set or use
the -d global option for this to work. (See also tag.)
Options:
- -a – Clears the tag from any removed files, because removed files stay
in the repository for historical purposes but are not considered part of
the live project anymore. Although it's illegal to tag files with a tag
name that's already in use, there should be no interference if the name
is only used in removed files (which, from the current point of view of
the project, don't exist anymore).
- -b – Creates a new branch, with branch name TAG.
- -D DATE – Tags the latest revisions no later than DATE.
- -d – Deletes the tag. No record is made of this change – the tag
simply disappears. CVS does not keep a change history for tags.
- -F – Forces reassignment of the tag name, if it happens to exist
already for some other revision in the file.
- -f – Forces to head revision if a given tag or date is not found. (See
-r and -D.)
- -l – Local. Runs in the current directory only.
- -n – Won't execute a tag program from CVSROOT/modules. (See the section
Repository Administrative Files later in this chapter for
details about such programs.)
- -R – Recursive. Descends into subdirectories (the default). The -R
option exists only to counteract a -l in .cvsrc.
- -r REV – Tags revision REV (which may itself be a tag name).