I have CVS 1.11.1p1 installed and am using pserver mode on several UNIX
platforms (sgi, DEC alpha, and IBM) and have discovered what I consider to
be a bug with the tag and rtag commands.

1.  If you have a file that has been imported on a vendor branch you can
create a tag for a non-existing revision as shown here:

[millerd@a01n01:/swcm] cvs rtag -f -r1.30 testing MM5/MPP/RSL/RSL/compat.h
[millerd@a01n01:/swcm] cvs status -v MM5/MPP/RSL/RSL/compat.h
===================================================================
File: compat.h          Status: Up-to-date

   Working revision:    1.1.1.2 Thu Oct 18 19:50:19 2001
   Repository revision: 1.1.1.2 /swcm/cvsroot/MM5/MPP/RSL/RSL/compat.h,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        testing                         (revision: 1.30)

And if you checkout "-rtesting" you will get an empty file.

2.  If you have a file that is not from an import you can not tag a
non-existing reversion, however, you get no error that the revision does not
exist.

3.  In the first example with the vendor branch, if you do not include the
"-f" the tag will not be made but again you get no error message that the
revision does not exist.

I believe a non-existing revision should not be tagable or am I missing
something.

Dale Miller



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to