Hi,
I am hosting a project on Google Code, using Subversion. I would like to tag builds with the revision number.
One possibility I have researched is to use svn:keywords
to substitute the revision number into some file. This isn't exactly what I want, because it will only tell when that particular file was last changed.
Another option would be to use the output of the svnversion
command as part of the build process. This isn't entirely ideal either, because that command may not be present on all systems that will build the code. One idea I had was to make a simple script that emulates svnversion
by looking for the revision number in the .svn directory.
So my question is, what's a platform-independent way to accomplish the aforementioned goal? Alternatively, where can I find the specification for files like .svn/all-wcprops (so I can roll my own solution)?