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

corrupt repository Missing field in node-rev

From: Robin Luther <robin_at_computer-shoppe.net>
Date: Sat, 14 Apr 2012 07:45:40 -0700

I have a subversion repository that had some corruption back 6 months ago. I
knew that all I needed to do was find the corrupted db/revpros/0/XX file and
replace it with a similar revisioned file and so I did not deal with it at
the time.

 

The errors are (when trying to run "verify" command):

 

error message on: svnadmin verify /myrepository/path -r 416 (and 417):

"revision file lacks trailing newline'

 

then on rev 418,419,420 the error is:

"Corrupt node-revision '0-2.0.r416/2259'. Missing field in node-rev"

 

This error is one that apparently was fixed 5 years ago, but I am running
subversion version 1.6.6 from June 2011, on Ubuntu.

 

So now I am wanting a non-corrupted svn repository and cannot clean it up. I
have tried to run cleanup, that does not help. I have tried to replace out
up to 5 potentially corrupted /db/revprops/0/xx files but this did not help.
I tried to dump revisions 0-415, then dump revisions 435-489. (this would
leave out the corrupted files that do not verify). I created a blank
repository and loaded 0-415 then tried to load the second dump file.
(thinking I could then try to get a working copy of files from that and
update them as needed). I got error "File already exists: filesystem
'.../db', transaction '415-bl', path 'project'."

 

Can you restore multiple dump files to a repository? If so, how?

 

Any suggestions on how to fix this?

 

thank you!

 
Received on 2012-04-14 20:50:45 CEST

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