Clarification: keywords (e.g. $RCSfile: $ $Name: $) are RCS entities ....
Hmm. Now that I look it up
), 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: 184.108.40.206
not 'Sticky Tag:') then $Name: $ should change as well.
And from some cvs manual:
If a sticky tag is in effect, this is the name of that tag. Otherwise
$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$
- 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?