info-cvs
[Top][All Lists]
Advanced

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

tag -r non-existing-revision


From: Miller Dale Contractor HQ AFWA
Subject: tag -r non-existing-revision
Date: Wed, 27 Feb 2002 18:40:02 -0600

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:

address@hidden:/swcm] cvs rtag -f -r1.30 testing MM5/MPP/RSL/RSL/compat.h
address@hidden:/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





reply via email to

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