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

Re: Recover a corrupt repository

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-12-12 14:57:30 CET

On Dec 12, 2007, at 04:55, Jef Driesen wrote:

> I have a repository with 36 revisions. When I tried to commit the
> 37th revision, the svn aborted with a segmentation fault. And now
> my repository is corrupt. How do I recover it?
>
> It appears that the latest commit has overwritten r29, because db/
> revprops/29 contains the commit message of that last commit. Both
> db/revprops and db/revs contain 38 files (with numbers 0 to 37).
> But my db/current contains "29 c 2". If I dump the repository, the
> last revision is r29, which contains the changes of that last commit.

I think you'll have to recover your db/revs/29, db/revprops/29 and db/
current files from your backups.

After that, "svnadmin verify" would be a good idea.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 12 14:58:10 2007

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.