threads / bug / 23532

[bug] git svn clone failing with invalid diff stream

Subject: [bug] git svn clone failing with invalid diff stream

## tl;dr

3 messages between Apr 20, 2010 and Apr 20, 2010.

replies: 2people: 2as markdown or json

Anand Kumria· Apr 20, 2010, 06:48 UTC · lore
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.

Regards, Anand

Michael J Gruber· Apr 20, 2010, 16:12 UTC · re: Anand Kumria · lore

Re: [bug] git svn clone failing with invalid diff stream

Anand Kumria venit, vidit, dixit 20.04.2010 08:48:
Show 20 quoted lines
> 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
Anand Kumria· Apr 20, 2010, 16:42 UTC · re: Michael J Gruber · lore

Re: [bug] git svn clone failing with invalid diff stream

On Wed, Apr 21, 2010 at 2:12 AM, Michael J Gruber <git@drmicha.warpmail.net> wrote:

Show 28 quoted lines
> 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.

Thanks - I was afraid I was doing something incorrect or it might have been some other issue at my end.

I've reached out to the Berlios and Subversion guys, since the page on fsfsverify seems to indicate it is a hard to reproduce problem needing a test case; and this appears to be one.

Cheers, Anand

← back to recent threads