I've not sure if this could be implemented with Subversion, but is there a way to add a file with the revision number on commit?
- File name: revision.txt
- Would only have one line: revision number
- If exists, update with new revision number
UPDATE:
OK, I've added this option to my SVN configuration
[auto-props]
enable-auto-props = yes
*.php = svn:keywords=Id
Here is the file I'm checking in with SVN (command line)
<?php
/**
* $Id$
*/
?>
$Id$
Looking in the repository I only see the code above and not the revision number.
$id$keyword substitution? svnbook.red-bean.com/en/1.7/… - Michael Berkowski