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

Re: how can I recover my rep. from "Malformed svndiff data in representatioN"?

From: John Szakmeister <john_at_szakmeister.net>
Date: Mon, 6 Oct 2008 21:22:08 -0400

On Sun, Oct 5, 2008 at 9:37 PM, Kazuyoshi Furutaka
<furutaka.kazuyoshi_at_jaea.go.jp> wrote:
> Hi all,
>
> I've just started using a subversion repo. which now has only 5
> revisions, on a x86_64 linux machine running Fedora 9.
> The version of the subversion (rpm package) is:
> subversion-1.4.6-7.x86_64
> subversion-1.4.6-7.i386
> The repo uses FSFS and is mainly accessed via svn+ssh.
>
> A few days ago, when I tried to checkout the latest revision,
> I got the following message
> svn: Decompression of svndiff data failed
> and some files were missing from the checked-out copy.

Can you provide more information about your setup? Do you have a good
link? Was it LAN access or WAN? Was it a large commit?

> So I used "fsfsverify.py" http://www.szakmeister.net/fsfsverify/.
> Using the script I found that THE FIRST REVISION seems to be
> corrupted. Then I run the script over the revision 1 with and
> without "-f" a few dozen times, and finally got the following
> message:
> Traceback (most recent call last):
> File "./work/fsfsverify/fsfsverify.py", line 1134, in <module>
> options.dumpWindows)
> File "./work/fsfsverify/fsfsverify.py", line 571, in verify
> svndiff = Svndiff(f, self.length)
> File "./work/fsfsverify/fsfsverify.py", line 461, in __init__
> (self.startingOffset)
> __main__.InvalidSvndiffHeader: Invalid svndiff header at offset 887125
>
> After that, when I do for example `svn diff` I get the following
> message:
> Malformed svndiff data in representation
>
> `svnadmin verify` ends with the same message.
> * Verified revision 0.
> svnadmin: Malformed svndiff data in representation
>
>
> (How) is it possible to remedy this situation?
>
> There're only 5 revisions in the repo, and the only modification
> we did in the first three revisions were deletion of useless files,
> so it's not difficult to build the repo/revisions again from scratch.
> But it's going to have many revisions and I don't want to encounter
> the same situation again...

Can I see the corrupted revision? And get the full output of fsfsverify?

Thanks!

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-07 03:23:08 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.