'rtag' is used to create a tab in the repository that is equal to another
tag in the repository. It is (afaict (as far as I can tell)) only used to
create a branch tag equal to another tag.

E.G.:

cvs tag base-name       # create a base for branch
cvs rtag -r base-name -b name module    # create branch

Note that rtag essentially requires both the module name, AND the old
version. So, it might be of more use for something like

cvs rtag -r rel-1.0 -b rel-1.0-patch1 releasedModule
cvs get -r rel-1.0-patch1 releasedModule

as that uses an existing tag (rel-1.0), and creates a new branch, then
checks that branch out.

Laird Nelson wrote:
> 
> Can someone give me a pointer on when to use cvs tag vs. when to use cvs
> rtag?  I know, for example, that cvs tag doesn't show up in the history
> file, and that cvs rtag requires you? I think? to feed it the revision
> number of whatever you're tagging, thus preventing you from saying "cvs
> rtag the tree the way it is now".  What common situations is each
> command used in?
> 
> Cheers,
> Laird

Reply via email to