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

Re: script to put svn revision number in c source file

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2004-03-29 17:08:36 CEST

On 2004-03-29 22:52:18 +0800, Sean Moss-Pultz wrote:
> Thanks Jan. This worked. Any ideas how I can just get the numbers not
> the string. Ie I don't want the string to print as
> $Rev: XXXX
> i just want

Just write code to filter out what you don't want (e.g. skipping the
first 6 characters). I use Id keywords in my XML files and I do that
with XSLT when generating my HTML pages. If you write in C or C++,
you can easily do that in C / C++...

> Thanks again for help this far. Also will every client have to run the
> svn proposet svn:keywords command?

No, properties are stored on the server and retrieved like the file

Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 29 17:09:09 2004

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