tags:

views:

84

answers:

3

Probably duplicate of

I'm looking for a way to update a file (let's say lastbuild.txt) with the last SVN revision number when I commit. How can I do that ?

thank you :)

+1  A: 

SVN supports hooks - scripts or programs that get called on certain actions. You may set a post-commit hook that will update file for you.

Read more on hooks here.

elder_george
A: 

If the file is under versioning you can use svn:keywords it's way easier than hooks.

http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html

crossy