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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
$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.