[cvsnt] $Name$ and update

David Rouillon drouillon at rexel.fr
Wed Feb 5 22:24:39 GMT 2003


I have a probem with 'update' command:
I have a project with a file wich include this line of code:
const char version[] = "$Name$"
And my file has 2 tags: V0-1 and V0-2 but there isn't any difference between them except the tags.
So, to have a copy of my project I'm using:
cvs checkout -kv -r V0-1 myproject
All files are checkout and version var become:
const char version[] = "V0-1"

But When I use this command to have the release V0-2:
cvs update -kv -r V0-2
All files wich are different between release V0-1 and V0-2 are update, but not my file with the $Name$ key.
I have alway the generated line:
const char version[] = "V0-1"

How can I force change of $Name$ Key?

Thanks for any help.
Bye bye


David





More information about the cvsnt mailing list