I am using svnX (0.9.13) on Mac OS X Lion (10.7.2 11C74) and have seem to have, what I believe, is a corrupted SVN repository. I have searched the site for similar questions and have found a couple, yet none describe how to recover when you cannot complete a checkout from the repository. I do not have an up to date working directory either.
The specific error is:
svn: Checksum mismatch while reading representation:
expected: [hash]
actual: [different hash]
If the alert is dismissed (the only option), the checkout will continue until the end. On first glance, most of the files seem to be there, but when I run the application, it is clear there is a mishmash of versions. The repository lives on a USB flash drive, which could be a source of corruption. I am the only user who access these files and they have not been touched for over a week and were in a working state.
Any suggestions on how to proceed would be appreciated.
dump
, you can specify a revision range via the-r
parameter. Try skipping the bad revision and see if that helps. If you have a backup, you might be able to do a dump from the backup, then start the dump of your current one to the revision after your backup. Then, combine the two and see what happens. There's not much else you can do. It's like what happens if your hard drive crashes. You try to save what you can and hope for the best.