svnadmin recover — Recovers any lost state in a repository.
svnadmin recover REPOS_PATH
Run this command if you get an error indicating that your repository needs to be recovered.
Only run this when you are absolutely certain you're the only process accessing the repository—it requires exclusive access. See the section called “Repository Recovery” for a detailed explanation of repository recovery.
Recover a hung repository:
$ svnadmin recover /usr/local/svn/repos/ Acquiring exclusive lock on repository db. Recovery is running, please stand by... Recovery completed. The latest repos revision is 34.