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

Re: Repository broken - please help

From: Matthias Fechner <idefix_at_fechner.net>
Date: 2005-01-27 17:25:31 CET

Hello Martin,

* Martin J. Stumpf <mjs@jhu.edu> [27-01-05 10:27]:
> I too had a problem with a repository and tried to run svnadmin recover
> to fix it. There were problems with the log files and the recover failed
> as on your system. I then did a svnadmin dump myreps > myrepos.dump
> followed by a svnadmin load newrepos < myreps.dump into a fresh newly
> created repository with a different name. I then did a svnadmin verify
> on the new repository and it was fine. I renamed the broken repository
> to myrepos.old and then renamed the new one to myrepos and checked out a
> working copy. All was fine after that.

ok, this was really a great tip. I did the following:
removed in db/log.*
Than make svnadmin recover
Than make a dump
create a new repository
load the dump into this repository
renamed the old one
and renamed the new one to the right name

I can now checkin my files again.

Thx Martin.

-- 
Bye
Matthias
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 27 17:28:24 2005

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