Public area => The Pub => Off-topic => Topic started by: ziycon on May 9th, 2013, 04:53 PM
Is it possible to output the revision number in a php file within the project that's kept in subversion? I've found a few different ways online that people suggest to do it where most involve using exec() which I'd prefer not to use so as you're using subversion here I thought I'd ask if anyone here knew?
SVN has keywords for this purpose: http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
Note that $Revision$ is per file rather than project wide.
What we do here is not so elegant ;)
Thanks for that, I'll have a look into it. :)