How to automatically update a file on upload using SVN
Probably a duplicate
- Subversion as version-incrementing on every commit?
- post commit hook to update the file under version
- ...
I am looking for a way to update a file (say lastbuild.txt) with the latest SVN revision number on commit. How can i do this?
Thank you:)
+2
source to share
3 answers
Check out the following documentation:
http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks
0
user143940
source
to share
If the file is under version control, you can use svn: keywords easier than catching it.
http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html
0
source to share