Theo Van Dinter wrote:
> I have some code which wants to display the current version of the
> software,
> including the SVN revision that the code comes from. We currently use:
>
> push(@EXTRA_VERSION, ( 'r' . qw{$LastChangedRevision: 109718 $ updated
> by
> SVN}[1] ));
>
> such that @EXTRA_VERSION gets "r109718" added to it. However, I'd
> really like the version to be the actually revision number of the tree
> (r109813), not the revision number for the last time that specific piece
> of
> code was modified.
>
> ie: the keyword would be updated upon checkout, update, export, etc.
>
> There doesn't seem to be a way to do this without a post-co/export/etc
> script
> to mangle that line. Am I missing something blazingly obvious, or is this
> a RFE?
FAQ.
http://subversion.tigris.org/project_faq.html#version-value-in-source
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 4 18:30:09 2004