[Top][All Lists]

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

Re: Bug on TAGs

From: Larry Jones
Subject: Re: Bug on TAGs
Date: Thu, 27 Jun 2002 10:10:08 -0400 (EDT)

patrick.nomblot writes:
> I have found a bug (I suppose it is) on TAG wich becomes a branch. A TAG 
> name with a "-" becomes a branch when used in the repository root :

The tag name doesn't have to contain a "-", any name will work the same.
Nor does it only happen in the root directory, any directory with no
files behaves the same way.

The problem is that a tag has no life of its own -- it only exists
inside each individual RCS file.  A tag can be a branch tag in one RCS
file and a revision tag in another.  So, there's no way for CVS to know
in isolation whether a tag is intended to be a branch tag or a revision
tag.  What update does is to assume that the tag is a branch tag unless
there's at least one RCS file in the directory where it's a revision
tag.  If there are no files in a directory, then the initial assumption
is never contradicted.

This simply can't be made to work right without completely redesigning
CVS.  My feeling is that the current behavior is the lesser of two

-Larry Jones

Life's a lot more fun when you're not responsible for your actions. -- Calvin

reply via email to

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