I have a file called VERSION in the repository root. Everytime I deploy the repository I put the output of svnversion in that file manually. But I want that my VCS manages it. So every time I export the whole repository or just the VERSION file it should contain 2 things at least.
- Version/Revision number of the whole repository
- Last modified date of the whole repository.
Currently I do this by
svn info | tail -4 | cut -f3- -d" " > VERSION
Subwcrev template-file (may be outside repo) into VERSION file inside exported tree.
2 commands, but without handwork