Is there some svn or svnadmin command that will display the revision of a local repo? I’d like to be able to have a Windows batch or PowerShell script that would let me zip up the repo and name it with the rev to email.
The best I can figure out is just to find the highest file in [reporoot]\db\revs\0, but it seems kind of clunky and I don’t know if it is reliable.
(Edit)
svnversionis not so good because it relates to the working copy, not to the repository.svn infoalso relates to the working copy.=>
svnlook youngest REPOS_PATHshould do it. See also svn redbook.