Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've a problem with my svn repo. I cannot use it, I even cannot dump it.

svnadmin verify repo


Can't set position pointer in file 'svn/db/revs/0/0'

When I try to dump repo (no matter what revision range), console output shows:

* Dumped revision 0.
svnadmin: Final line in revision file missing space

I've googled that this may be connected with wrong version apr apache2 library, but I have other repositories which work good, so I thing this isn't the case.

Is there any way to save at least some files from my repo? Can svn repo get corrupted so easily (probably after power-cut, however I'm not sure).

share|improve this question
Are the permissions set so that your user (or the user the web server is running as) can write to that location? I've seen things like this when somehow the filesystem permissions on the repo have got borked - a chown -R sorted that out. – superdupersheep Feb 27 '11 at 18:08

Did you run svnadmin repair [path to repo]?

Check for a missing or damaged file. If you are running on Windows, verify that the file is in UNIX format (\n) and not Windows format (\n\r).

Worst case, copy in a replacement file. It works for revprops (comment files), haven't tried it for revs (data files).

share|improve this answer
'svnadmin repair'? what's that? 0_o – bahrep Mar 6 '13 at 14:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.