bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rtag -a bug


From: Larry Jones
Subject: Re: rtag -a bug
Date: Fri, 20 Sep 2002 14:21:30 -0400 (EDT)

Hackett, Jonny E writes:
> 
> rtag -a <tagname> <module> 
> 
> The above command will add the <tagname> to the head revision of files where
> that tag doesn't exist.

Yes, it will, provided those files are not in the Attic.  It will also
*remove* the tag from any files in the Attic where it does exist.

> According to the cvs documentation, this command should only remove the
> specified tag from files in the Attic.
>
> Is the documentation incorrect?  Or is this a valid bug.

The documentation is perhaps too terse.  The functionality may leave
something to be desired, too.  Here's what it really does:

If you use -a and don't use either -r or -D, the tag is removed from any
files that are in the Attic and added to the most recent revision of any
files that are not in the Attic.

If you use -a along with -r or -D (or both), the tag is added to any
files (whether in the Attic or not) that have a matching revision and
removed from any files (whether in the Attic or not) that don't.

-Larry Jones

Apparently I was misinformed. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]