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

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

From: Kazuyoshi Furutaka <furutaka.kazuyoshi_at_jaea.go.jp>
Date: Mon, 06 Oct 2008 10:37:34 +0900 (JST)

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.

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...

Thanks in advance,

Yours,
Kazuyoshi

--
Kazuyoshi Furutaka
furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp
---------------------------------------------------------------------
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-06 03:38:24 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.