title: Subversion as version-incrementor at each commit?
body: <p>I'd like to update the (highest) revision number to a file inside a subversion repository after each commit.</p>
  
  <p>I thought of a svn version keyword, but doesn't this only get updated if the specific file was changed?</p>
  
  <p>i.e. I have a file <em>version.php</em> where i have the version/revision numbers, but only update <em>anotherfile.php</em> in my commit - this won't change the version/revision information <em>version.php</em> has.</p>
  
  <p>Is a commit hook my only option? If yes, any examples?</p>