Laird Nelson writes:
> 
> But if I update that file to a revision which has state "dead", thus
> causing CVS to remove it from the directory, then when I do a cvs update
> in that directory, instead of recognizing that I've updated that file to
> a sticky tag (i.e. the tag identifying a dead revision), CVS brings back
> the previous revision of the file (the one tagged with SOME_TAG).
[...]
> Is this desired functionality?

I don't think I'd call it "desired", but I don't think I'd call it a
bug, either -- it's just the way CVS works.  The same thing happens
without an initial sticky tag, incidentally; if you update a file to a
previous dead revision and then update the directory, you get the head
revision of the file back again.  

The reason this happens, is that when you update to a dead revision, the
file is removed completely, including its entry in CVS/Entries, so
there's no longer any record of there being a specific revision of it
checked out; when you update the directory, you naturally get the
default revision.  I'm not sure what the consequences of keeping the
CVS/Entries entry in this case would be...

-Larry Jones

These child psychology books we bought were such a waste of money.
-- Calvin's Mom

Reply via email to