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

Re: Format of LastChangedRevision

From: Sean Laurent <sean_at_neuronfarm.com>
Date: 2004-11-19 17:22:11 CET

On Friday 19 November 2004 09:20 am, Thomas Becker wrote:
> I've included the property svn:keywords for my source code.
> Substitution of $Rev$ works fine. The only problem is that the format of
> the substituted string ist $Rev: 123$. Does anyone know how to reformat
> the string so that the tag will be substituted by the revision number
> only (without the "$" and the "Rev:")?

What do you want to accomplish? The reason I ask is that there are
alternative techniques that might work for you. For example, look into the
'svnversion' command; it outputs "a compact 'version number' for the working
copy path". For C/C++ development, I use that in my Makefile to create a
header file with the revision number as a #define. For Java, I dump the
output to a properties file... YMMV.

Everyone has a photographic memory. Some don't have film.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 19 17:22:50 2004

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