[Zope-Coders] Note about CVS - do not use empty "" tags
Ken Manheimer
klm@zope.com
Mon, 26 Nov 2001 11:15:30 -0500 (EST)
It looks like someone has been slightly misusing CVS tags, attempting to
tag something in the repository with an "" empty string (presumably, to
clear a tag, move something to the HEAD, whatever). What's happening is a
tag with a null name is being created, slightly confusing CVS.
(Some of you may have occasionally noticed the message:
duplicate key found for `y'
on CVS operations - this is due to registration of the null key. I have
no idea why it's reported sometimes and not others.)
Generally, when you're aiming to refer to the HEAD, you should either be
using the explicit name "HEAD" (eg, as the parameter for the cvs '-r'
flag) or be using the '-A' flag (on the 'update' operation, for resetting
sticky tags).
Please keep this in mind - this empty tag keeps reappearing in the
val-tags central CVS bookkeeping file, and we suspect it's because someone
is explicitly designating an empty string as a tag. (Alternative
explanations are welcome - i'm getting tired of removing the bogus entry
from the val-tags file, and would like to stem the problem one way or
another. CVS ought to be preventing it, of course, but oh well...-)
--
Ken
klm@zope.com