2009/3/27 Daniel Kinzler daniel@brightbyte.de:
Indeed. It would be much nicer if it could report the *directories* revision number. Does SVN have a keyword substitution for this? Does SVN allow scripts/plugins for this type of thing? That would by quite useful.
SVN does not have any such keyword, and the reason is the same as why doing this with a post-commit hook is not a good idea. See http://subversion.tigris.org/faq.html#version-value-in-source and a note at http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposa...
The proper way, IMO, is to do that with the sync script, or something similar.
-- [[cs:User:Mormegil | Petr Kadlec]]