I had a problem with a corrupt repository today.
svn log gave me “Malformed file” errors even though svnadmin verify said everything was OK.
It’s always bad when your source history is gone so I’ll also post an answer in case it helps someone.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Backup your repository!
Note the last revision it was able to dump (eg. 99), the next one has the error (e.g. 100).
If it contains garbage or NULs you can fix it:
run “svnadmin dump REPOSPATH > nul” again – it should finish without errors