keyword-substitution

How do I disable CVS Sticky Option -kk for keyword substitution?

I have a file in cvs that has Sticky Options set to -kk. This replaces all cvs keywords with just the keyword name to facilitate diffs. For example, $Author: Alex B$ becomes $Author$. How do I disable the -kk behavior and get back to "normal" cvs where keywords are substituted in? I've tried rm'ing the file and updating, I've t...

Moving from CVS to git: $Id:$ equivalent?

I read through a bunch of questions asking about simple source code control tools and git seemed like a reasonable choice. I have it up and running and it works well so far. One aspect that I like about CVS is the automatic incrementation of a version number. I understand that this makes less sense in a distributed repository, but a...

How can I get an updated $Revision$ in my code

I have a project into which I'd like to embed the revision number automagically. In this case, it's a multi-file perl script. In the main file, I have a line that looks like this: my $revision = '$Revision: 24 $'; When I make a release, I checkout the project to my release dir. The revision number does change whenever I check-in a ch...