Frederic Brehm wrote:
>
> I don't remember many unhappy comments about $Rev$ or its cousins $Id$
> and $Name$. There are many reasons to avoid $Log$, though.
Ever archive a Perl script that used variables with the (not exactly
unusual) variable names $Rev, $Name, or $Log? I'd like to see the
whole auto-substitution thing thrown out, myself.
For the OP, I would recommend writing a script which runs `cvs log`
on each file in the build, strips out the desired information, and
formats it appropriately (e.g. a C source file which defines a
structure of file information and the single instance of that
structure). This avoids having auto-expand keywords in a source file.
Oh, and if you write a Perl script, don't store the filename in
variable $Name, or every file will have the same name as the script!
/|/|ike
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs