From: Michael J Gruber Date: Tue, 20 Apr 2010 16:12:15 GMT Subject: Re: [bug] git svn clone failing with invalid diff stream Message-ID: <4BCDD25F.4030406@drmicha.warpmail.net> In-Reply-To: Anand Kumria venit, vidit, dixit 20.04.2010 08:48: > Hi, > > Using both git 1.7.0.4 and 1.5.6.5 I am unable to clone the Subversion > respository for Serendipity. > > URL: svn://svn.berlios.de/serendipity > > It fails consistently on r1341 with: > > (1.5.6.5): Svndiff data contains invalid instruction: Invalid diff > stream: [tgt] insn 335 starts beyond the target view position at > /usr/bin/git-svn line 3856 > > and > > (1.7.0.4): Svndiff data contains invalid instruction: Invalid diff > stream: [tgt] insn 335 starts beyond the target view position at > /usr/lib/git-core/git-svn line 5047 > > On, seemingly UTF-8 encoded data. Any ideas / pointers would be appreciated. That message actually comes from the underlying svn diff itself. To me it looks like a problem with the underlying fsfs on the server: http://www.szakmeister.net/fsfsverify/ hg convert runs into the same problem, btw. It would be worthwhile to try svnsync and clone the synced repo, but it seems berlios does not support the necessary replay command. Time to talk to them! Michael