[wp-hackers] SVN Revision in footer?
wordpress at dd32.id.au
Sun Sep 14 04:09:22 GMT 2008
Unfortunately it appears the $rev$ keyword is the latest revision of that
file, not of Repo itself, Theres a svnversion binary, but it appears that
needs to be run on the local working copy of the repo in order to achieve
the result, it doesnt happen magically like the keywords.
On Sun, 14 Sep 2008 13:19:09 +1000, Eric Marden <wp at xentek.net> wrote:
>> I have done this for many PHP projects that use SVN, it's just a
>> case of reading 'entries' in the base .svn folder. The revision
>> number is on the 4th line.
> There is also a way of making it happen automatically, kind of like
> CVS's $Id$ tag that gets replaced.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers