0
votes

My SVN revision 22026 is corrupted. I have verified by using svnadmin verify command. I manually verified the 22026 file in db\revprops and in \db\revs folder. 22026 file is empty in revprops folder but content is available in revs folder. It looks like revision 22026 property file is corrupted or empty.

I have used RSYNC backup so my backup also having same issue. How to rectify this issue.

1

1 Answers

0
votes

You can try 2 things:

Dump you repo and load it again ignoring properties:

svnadmin dump REPOS_PATH > full.dump
svnadmin load --bypass-prop-validation NEW_REPOS_PATH < full.dump

If above doesn't work, exclude your problematic revision, as described in this SO answer:

$ svnadmin dump -r1:22025 my_repos > dumpfile.dump
$ svnadmin dump --incremental -r22027:HEAD my_repos >> dumpfile.dump
$ svnadmin load my_repos_new < dumpfile.dump

Since you wrote "content is available in revs folder" you might be able to apply this revision by hand once you recover your repo.