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

Re: fs corruption, now back to rev 0

From: John Szakmeister <john_at_szakmeister.net>
Date: 2006-07-19 11:02:42 CEST

----- filo smith <filo.maillists@gmail.com> wrote:
> Hi, I had some fs corruption. Now one of my repositories seems fine,
> the other went back to rev0.
>
> I still have the repository tree and there is stuff in ./db/revs but
> svn list shows nothing.

It sounds like your db/current file got horked. I've attached a python script to help create the contents of the current file. You need to do the following:
 1) Make a BACKUP of the repository!
 2) Run: python make-current.py /path/to/repos
 3) Try an 'svn ls file:///path/to/repos' and see if you get the contents of the HEAD revision.

Be sure to work from a copy as the script will overwrite the db/current file!
 
-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 19 11:05:37 2006

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