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

I've messed with the repository - how to recover?

From: Tino Schwarze <subversion.lists_at_tisc.de>
Date: Wed, 29 Sep 2010 09:28:12 +0200

Hi there,

during preparing a CVS->Subversion conversion I've messed with the
repository. There are some post-conversion steps to get things into
shape and fix up certain shortcomings of the conversion. Since I didn't
want to convert the repository again (it takes about 12 hours), I
thought, I'd just remove all the after-conversion revisions from db/revs
and db/revprops and update db/current accordingly.

Which went fine until some time later I've got messages like
* Verified revision 115301.
svnadmin: Corrupt representation '115310 0 81 20352 c424c0a7265e750bf498553ac60741b1 9a82bd0495ac67916ebaecee4212668344eb6446 115301-2h1d/_8'
svnadmin: Malformed representation header
(this was from running svnadmin verify after I saw similar messages)

It looks like there are revisions which refer to future revisions. Did I
miss something? I've seen rep-cache.db hanging around - might this have
caused problems since it still contained references to revisions I've
removed? According to
http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_fs_fs/structure
it is safe to remove the rep-cache.db I'd just lose representation
sharing for my testing repository, right?

Thanks,

Tino.

PS: Yes, I know, "don't try this at home." ;-)

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."
www.tisc.de
Received on 2010-09-29 09:28:50 CEST

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.