There is a feature in svn to replace variables with the version number. However it only updates the file if it's actually commited. So this will not work.
Mabye there is a way to configure svn to force update of this number even if other files are commited.
I remember with CVS you could perform defined actions upon a commit. Here we could update lib/version.php. This is a little heavy though for regular checkins.
An alternative would be to put the $id$ string into the changelog, and if some 'unstable/unreleased' flag is set the setup/info view could query the id string from the changelog. The changelog is regularly updated and may be an alternative to lib/version.php which would be used for 'stable/releases'.
paul
-- http://www.visionwt.com
You must be logged in to post messages in this topic!