[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Checksum mismatch in repo: how to fix?

From: Kenneth Jensen <xmlsec_at_gmail.com>
Date: 2005-05-05 14:33:09 CEST

On 5/4/05, Max Bowsher <maxb@ukf.net> wrote:
> Kenneth Jensen wrote:
> > Hello,
> >
> > I have been committing my masters thesis to a partially corrupt
> > repository for a few days now, only just discovering it today. :(

<snip>

> > Does anybody have hints to how I restore the sanity in my repo? Or
> > should I just throw it out, load the last backup and commit my local
> > changes? I won't miss any work, but lose the history of the last week
> > or so.
>
> I suggest finding the highest revision number in your last good dump, then
> trying:
>
> svnadmin dump --incremental -r <that-revnum-plus-1>:head myrepos >
> myextradump
>
> If that works, you can then load your backup, and myextradump, one after
> the other into a new repository.

Thanks for the suggestion.

My repo is at revision 116, and the highest revision in the latest
"working" dump is 110. I tried dumping rev 110:111 but it failed. As
did 109:110, and almost any of the other combos I tried. Stangely,
dumping incrementally from 95:96 works, though 94:95 fails, just like
96:97 - even dumping from revision 1:2 fails...

The errors thrown are these (in random order):

svn: Invalid diff stream: insn 0 cannot be decoded

svn: Invalid diff stream: insn 0 overflows the target view

svn: Unexpected end of svndiff input

I guess I'll load the backup at revision 110, and try and commit my
local copy into that... I don't have enough time to spend fixing the
borked repo right now. :-)

The repository has survived upgrading the server OS from Mandrake 9.2
to 10.1, including the trouble with changing from the old subversion
RPMs from Ben Resers urpmi-site to the new included-with-Mandrake
subversion packages, and also upgrading the Berkeley DB libs from v.
4.1 to 4.2, so I guess it was bound to go wrong at some point. ;-)

Thanks again.

---
Cheers,
Kenneth
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 5 14:34:53 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.