
12 May
2006
12 May
'06
7:43 a.m.
Pedro LamarĂ£o wrote:
The keyword $Revision$ can substitute in a file the revision of the last commit to that file. But that number won't change on commits to other files.
A tool is available, WCSubRev.exe, that reads the Subversion status of all files in a working copy (excluding externals), and can substitute in a file the revision of the last commit (among other things). It is usually called in build scripts while making a (tag for) release.
This is windows only as it is part of TortoiseSVN (http://tortoisesvn.tigris.org) but I'm sure it could easily be ported to other platforms. We use this for our versioning too, it is very useful. Cheers Russell