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

Re: Some parts of repository corrupted - how to recover?

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-05-14 16:33:19 CEST

On Wed, May 14, 2003 at 11:19:51PM +1200, Edmund Horner wrote:
> >You could try db_dump and db_load. Not sure if you would have any more
> >luck with that, though :)
>
> Thanks for the tip Michael, that was the first time I've actually those
> enticing db_* programs.
>
> I dumped representations, and got a text file in which the target
> checksums appear twice (as opposed to four time in the binary). I
> edited the checksums to 0s, and loaded them into a new representations
> file (which was half the size of the original). However, Subversion
> appears to work exactly the same as before, complete with problem paths.
>
> Is that what you were suggesting, or was I supposed to dump/load
> something else?

I was just suggesting db_dump/db_load as an alternative to hex editing
the database files. As to how SVN uses the database files exactly and
what to do when something gets corrupted, I don't have much of a clue.

I suspect what you did above was what Karl was suggesting, though.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 14 16:34:51 2003

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

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