Inserting revision numbers in source
From: DK <dk_at_dsl.pipex.com>
 
Date: 2006-10-30 23:47:51 CET 
Hi,
 I would like to know if anyone has asked for this before and, if so, what
 I am a developer on a C++ project hosted on SourceForge.net, which uses
 By this I mean that I would have two members in the source ("version.in" and
         #define FILEVER        3, 4, 0, $WCREV$
 What I would like is that when anyone commits anything to this project,
 During the commit process, the new "version.h" would be sent back to the
 This way "version.h" always has the current build number in it should anyone
 This differs from the current $Rev$ keyword in that the whole field is
         #define FILEVER        3, 4, 0, $Rev$:
 would become
         #define FILEVER        3, 4, 0, $Rev: nnnn$:
 which is not a valid C statement.  This would not be a problem for future
 It also differs from the SubWCRev program which would, in the process of
 I would envision a different keyword associated with the "version.in" file
 If anyone has an alternative solution, I would be grateful to hear.
 Thanks
 David.
  | 
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.