Way to get current revision as keyword...?
From: Theo Van Dinter <felicity_at_kluge.net>
Date: 2004-12-04 18:23:29 CET
I have some code which wants to display the current version of the software,
push(@EXTRA_VERSION, ( 'r' . qw{$LastChangedRevision: 109718 $ updated by SVN}[1] ));
such that @EXTRA_VERSION gets "r109718" added to it. However, I'd
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
Thanks. :)
-- Randomly Generated Tagline: But let me tell you, the slim lazy Homer you knew is dead. Now I'm a big fat dynamo. -- Homer Simpson King-Size Homer
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.