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

Re: Corrupted revisions - need help

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 20 Nov 2012 09:32:18 +0100

On Tue, Nov 20, 2012 at 08:14:41AM +0200, Daniel Shahaf wrote:
> Stefan Sperling wrote on Mon, Nov 19, 2012 at 21:07:59 +0100:
> > Extract these reps from the FSFS data of the temporary repository and
> > stitch them into the broken repository at appropriate places, recalculating
> > checksums where necessary,
>
> Instead of recalculating, you ought to be able to set them to all-zeroes.

Ah, that's neat :)

Oh, and make sure to remove rows containing checksums of corrupted reps
from rep-cache.db. Alternatively, disable rep-sharing in fsfs.conf.
Else, you might end up with new revisions pointing at existing bad reps
(in particular if people keep trying to add the same file again and
again under different names in an attempt to repair it.)
Received on 2012-11-20 09:33:12 CET

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.