Why?!!!

*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…

5 Replies to “Why?!!!”

  1. Yeah, it was just one of those things! I think sometimes taking a break, clearing your head and then coming back to a problem is the best thing. Ah well, lesson learned, which is good!

  2. I must introduce you to the philosophy of Teaology. The idea is that to banish stress, all that is really needed is a good cup of tea. Allowing the tasty hot stuff to fill your insides will instantly bring on a calming effect that renders all your worldly problems irrelevant and not worth worrying about.

    Drink tea, stay calm, save the world.

Leave a Reply

Your email address will not be published. Required fields are marked *