*sigh*
Why is it that you can spend an hour trying to do something such as… oh, I don’t know… restoring a corrupt Subversion database, you don’t have any success in an hour’s work, but once you get home you manage it in about five minutes? Not that it’s ever happened to me, of course 😉
Seriously though, for future reference (for me), the command to restore a Subversion Berkeley DB is:
svnadmin recover /path/to/repository
NOT — and I want to make this absolutely clear — NOT this command:
svnadmin recover /path/to/repository/db
Because, you see, that second command will not work. It will just give you a strange error message about the version of the repository. Which is not good, and makes you waste an hour looking round various forums trying to upgrade the thing when it’s absolutely unnecessary…
Leave a Reply