Ident String In CVS|
For those of you using CVS for version control, you can insert the following
string in any (text-)file:
This string can go anywhere, for instance in a comment-block. When you
commit a file, CVS searches for this string and inserts some useful
information in the following format:
$Id: SomeFile.cpp,v 1.20 2002/08/06 18:02:11 jeroen Exp $
What this gives you is a quick overview of which file you're looking at,
what version it is, who did the latest commit and when. This is very useful
in an environment where multiple versions of a file are floating around,
which is very common when you're using CVS. Developer X may have checked out
his sources on monday-morning, while Y committed his critical bug-fix one
hour later. When X complains about something not working, a quick check of
the ident-string will reveal he/she does not have the latest version.
The zip file viewer built into the Developer Toolbox made use
of the zlib library, as well as the zlibdll source additions.