This can be accomplished via a svn post-commit hook script. Everytime a commit occurs, it could write the revision number to a file or something.