info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: revision/version numbers


From: Spiro Trikaliotis
Subject: Re: revision/version numbers
Date: Sat, 1 Nov 2003 14:18:45 +0100
User-agent: Mutt/1.3.28i

Hello,

On Fri, Oct 31, 2003 at 04:53:33PM -0500, Robert Clark wrote:

> If you are not too worried a few odd merge conflicts, you could always add the
> $Revision$ or $Id$ keywords to a comment in your source code and the write 
> the canonical 5 lines of Perl to snag the revision number from the file. Or 
> use ident (which is part of RCS) to do that for you.

Sorry for coming to this discussion this late, but IMHO, using the "RCS
way" (ident with $Id$ in the source code *and* the binary) seems to me
to be the best solution for what Katherine needs.

'ident'ing the resulting binary gives you exactly what you need, the
list of all revisions of the sources used to compile that binary.

Spiro.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]