I know that RCS will replace the string
$Id:$ in any (text?) files you check in
with the file's RCS ID, which can be useful. I
imagine that CVS has a similar automated feature.
Getting either to play nicely with the
major.minor.patchlevel numbering scheme is less
trival, though.