in reply to Perl/SVN/versioning - ideas?
You can use SVN's automatic keyword expansion:
our $VERSION = '1.20.$Rev$'; ...
And enable it for that file:
svn propset svn:keywords "Rev" yourfile.pl
Note that this expansion happens on the client side, so be sure to check if all SVN clients involved with the project support it (most do, for example the 'svn' command line client).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl/SVN/versioning - ideas?
by DreamT (Pilgrim) on Aug 02, 2011 at 16:19 UTC | |
by moritz (Cardinal) on Aug 02, 2011 at 17:32 UTC | |
by ikegami (Patriarch) on Aug 02, 2011 at 18:12 UTC |