Missing rev file
From: Michael Johns <michael.johns_at_clear2pay.com>
Date: Wed, 9 Jan 2008 02:57:51 +0100
I've seen a handful of posts around the web regarding this issue, but I've yet to find anyone who has successfully conquered it. I'm hoping I can find such a brilliant mind here.
One of the revisions in my repository is missing. It's revision 2521, to be exact. And by "missing," I mean that the db\revs\2521 file flat-out doesn't exist. Why? I don't know, and I've taken steps to make sure it doesn't happen again, but I'm still left with this one missing revision. This is causing a handful of problems, none of which are affecting our usage of the repository, but all of which I'd like resolved.
I don't care too much about recovering the contents of this revision. I know more or less what was in there, and I have copies of that data I can commit again if need be. What I do care about is cleaning up the problem so I can produce a clean backup of the repository. As it stands now, a dump fails at 2521, for obvious reasons.
I've tried "spoofing" the revision by copying other rev files and modifying them to look like 2521. By doing this, I can get a dump (and a verify) to proceed past 2521, but it always fails later on down the line, presumably on a revision that depends on 2521.
Is there any way at all to trick SVN into thinking that revision exists so I can dump the entire repository? Again, I don't care one bit if the data is valid; I just want the dump to complete. Because the revision doesn't exist at all, excellent tools such as fsfsverify won't help me.
Any and all insight will be appreciated.
This is an archived mail posted to the Subversion Users mailing list.