[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

hint for improved keyword substitution

From: Mycroft Holmes <psion.s5_at_gmail.com>
Date: Tue, 18 Mar 2008 18:24:43 +0100

Here's a modest proposal for svn 1.5 final.
the $PROPERTY: VALUE $ syntax is a nightmare in C/C++ sources.

I'd like to have some directive that replaces the FIRST occurrence of
a user-specified keyword in the following lines.
imagine something like:

//
// this is a comment
//
// $Revision: MY_DUMMY_KEYWORD $
//
// svn will leave intact the line above and replace the first
occurrence of the keyword with its value...
//

#define SVN_REVISION_NUMBER MY_DUMMY_KEYWORD

int main()
{
}

Hope someone is listening... :)
MH

  • application/pkcs7-signature attachment: smime.p7s
Received on 2008-03-18 18:31:17 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.