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

Removing corrupt revisions from a repository

From: Justin Mazzola Paluska <jmp_at_MIT.EDU>
Date: 2006-11-02 18:24:47 CET

Hi,

I recently discovered that parts of my FSFS repository are corrupt. I
noticed this when I started getting checksum errors on a particular
part of my trunk (trunk/System).

I then ran “svnadmin verify” on the repository—it reports:

  …
  * Verified revision 1026.
  * Verified revision 1027.
  * Verified revision 1028.
  * Verified revision 1029.
  * Verified revision 1030.
  * Verified revision 1031.
  svnadmin: Malformed representation header

For r1032, a user who checked in several hundred MB of binary files
and many hundreds of small files at the same time into trunk/System.
(He was checking in snapshots of /etc and a home directory.) The user
was using an https URL through apache to reach the repository.

Any time I try to check out later revisions of trunk/System, I get
checksum errors.

Later versions of other parts of my trunk still work fine.

From scanning the mailing list archives, the only way to repair my
repository is to dump the non-broken versions and load them back into
a new repository.
(http://svn.haxx.se/users/archive-2005-08/0899.shtml even seems to
provide a nice script for doing so.) However, I’m not sure that this
will this still preserve my version numbers, which I need to make sure
I can merge my branches back and forth.

Is there a way I can just turn the offending revisions into no-ops?
That is, I’d like to completely remove trunk/System from my
repository, and then allow the user to start over again (but this time
without checking in huge binaries).

If I missed a way of doing this in the archives, please pass me a
pointer to them.

Thanks,
        —Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 2 19:35:37 2006

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.