info-cvs
[Top][All Lists]
Advanced

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

RE: revision/version numbers


From: Robert Clark
Subject: RE: revision/version numbers
Date: Fri, 31 Oct 2003 16:53:33 -0500

On Fri, 2003-10-31 at 16:31, Katherine King wrote:
> It doesn't as such - the tester has to trust us that far, but this is still
> something that they are demanding.  It came up today because we had to do a
> deploy from a branch (most are off the main branch).  If it is possible to
> extract the version numbers of the checked out version of the code
> automatically, with a script, this will help. :)

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.

Check:

  <url:http://www.cvshome.org/docs/manual/current/cvs_12.html#SEC98>

for all the gory details.

- Rob





reply via email to

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