Reputation: 5819
I use $Rev:$ in a file to have the revision number, the problem is that the file does not change a lot so the number is not automatically updated. Any help in how to do this?
Upvotes: 1
Views: 2076
Reputation: 2644
$Rev$ won't work the way you expect it.
If you're using command-line subversion you have svnversion that outputs the latest revision.
With tortoisesvn, it's http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-subwcrev.html
Anyway, you should update your build script, so that it merges automatically the lastest revision number.
Upvotes: 3
Reputation: 16581
If you're using this for a build/version number in a file, look into the svnrev or WCSubRev tools to create the information you need.
Upvotes: 0