I want to display the revision number directly in an about-dialog.
I hoped that there is a format-Parameter so that I could easily include
it in the .res-file (C++).
As it doesn't seem to be, a workaround would be using a string-object
and filter all the not wanted parts of the substitution.
Sean Laurent schrieb:
> 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 Mon Nov 22 11:27:04 2004