[Top][All Lists]

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

Re: sticky non-branch tags are sometines treated as branches in empty

From: Larry Jones
Subject: Re: sticky non-branch tags are sometines treated as branches in empty
Date: Wed, 3 Dec 2003 12:15:27 -0500 (EST)

"Paul Gelderblom \(ptok\)" writes:
> This is a multi-part message in MIME format.

Please do not send MIME and/or HTML encrypted messages to the list.
Plain text only, PLEASE!

> However, we have found out that sometimes commit on these sticky tags
> succeed, because CVS somewhere in the process _converts_ the sticky
> normal tag into
> a branch! This happens when there are empty directories in the
> tree on which cvs update -r TAG has been done.

The problem is that tags do not have an independent existance -- they
only exist inside RCS files.  Thus, a tag can be a branch tag in one
file and a non-branch tag in another.  The rule CVS uses is that if the
tag is a non-branch tag in any file in the directory, then the tag is
marked as a non-branch tag in the CVS/Tag file; otherwise, it is marked
as a branch tag, which naturally results in a branch tag in an empty
directory.  Just one more reason why you should always use -P on
checkout and update and not try to store empty directories in CVS.

> I guess that N means Tag and T means Branch(!), but could not
> find documentation on the Tag file format in the CVS dox.

Did you try looking in the index?


-Larry Jones

I've never seen a sled catch fire before. -- Hobbes

reply via email to

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