cvs and subversion keyword fun
Wed, Oct 12, 2005Apparently cvs keyword expansion happens on checkout, for some reason I had believed it was on checkin.
CVS can use a mechanism known as keyword substitution (or keyword expansion) to help identifying the files. Embedded strings of the form $keyword$ and $keyword:…$ in a file are replaced with strings of the form $keyword:value$ whenever you obtain a new revision of the file.The emphasis is mine, but you get the gist. Apparently there are others with a similar misconception. I've looked at the subversion documentation and found that they do expansion on checkout also, and in addition to that will unexpand the keywords when doing a diff.