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.
-Sean
------------------------------
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