Clarification: keywords (e.g. $RCSfile: $ $Name: $) are RCS entities ....
Hmm. Now that I look it up
(
http://www.badgertronics.com/writings/cvs/keywords.html), this is
incorrect. $Name: $ seems to be a cvs specific keyword and thus
must be expanded by CVS. It would be logical then to assume that
if the sticky tag changes (i.e. cvs stat shows 'Sticky Tag:
1.1.1.1'
not 'Sticky Tag:') then $Name: $ should change as well.
And from some cvs manual:
-----------------
http://www.badgertronics.com/writings/cvs/keywords.html
$Name: $
If a sticky tag is in effect, this is the name of that tag. Otherwise
blank.
$Name: guide_release_1 $
----------------
A little testing should show that this is true.
Hmmm again. I just tried to reproduce and some curious behaviour was observed:
- created a file and added to cvs with no keywords
- checkout file
- add $Name: $ $RCSfile$ $Author$
- commit
- tag (TAG_0)
- up (TAG_0)
- Observe: RCS keywords are properly expanded... but $Name: $ not expanded. cvs stat shows 'Sticky Tag: TAG_0'
- delete file
- cvs up
- Observe: All keywords expanded.
Maybe it should be expanded the same as RCS keywords. Any reason why not?
Regards,
--Russ