[Top][All Lists]

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

Re: Question re: deleted tags

From: Larry Jones
Subject: Re: Question re: deleted tags
Date: Thu, 20 Jan 2005 00:07:44 -0500 (EST)

Derek Price writes:
> Well, "fixing" it this way would put us back in the position where 
> checkouts and updates could sometimes report that tags don't exist when 
> they do.  I think this is worse than not checking out any data when the 
> tag doesn't exist in the project or sub-project being checked out (which 
> can happen anyhow when the tag is correctly in val-tags).  I just fixed 
> this on feature by having the tag command itself update the "cache".

I think you've forgotten how val-tags works.  If a tag appears in the
val-tags file, it is assumed to be valid and no error is issued, even
though the tag may not appear in any of the files being processed.  If
the tag does not appear in the val-tags file, then CVS examines all of
the files to be processed.  If the tag occurs in any of them, then it is
valid and is added to the val-tags file; if not, then -- and only then
-- do you get the "tag does not exist" error.

-Larry Jones

Mom would be a lot more fun if she was a little more gullible. -- Calvin

reply via email to

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