[Devel] OpenSER CVS was migrated to SVN

Bastian Friedrich bastian.friedrich at collax.com
Tue Feb 27 09:02:00 CET 2007


Hi,

On Dienstag 27 Februar 2007, Bastian Friedrich wrote:
> > @(#) $Id: main.c 1693 2007-02-26 11:43:16Z bogdan_iancu $
>
>                    ^^^^
> It's right there... :)

I'd like to propose an idea which could at least partially solve the 
problem (Ovidiu, you are right... this /is/ a revision number, but the 
last revision at which main.c was changed rather than the repository 
revision):

Currently, "ChangeLog" is a simple text file. If developers are 
encouraged to /instantly/ log their modifications in a "ChangeLog.h" 
file, the revision of that file would always be equivalent to the 
repository revision. By marking all of that file but one line as a 
comment, it could be included in main.c. The remaining line would 
be '#define REVISION "$Id:$' (or whatever).

Unfortunately, an automated processing through SVN hooks seems 
impossible in sourceforge's environment :(

What do you think?

   Bastian

-- 
Collax GmbH . Burkheimer Straße 3 . 79111 Freiburg . Germany
p: +49 (0) 761-45684-24
f: +49 (0) 761-45684-10        www.collax.com

\ CONgress (n) - Opposite of PROgress




More information about the Devel mailing list