git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Apr 20, 2010, 16:12 UTC
Message-ID
<4BCDD25F.4030406@drmicha.warpmail.net>
In-Reply-To
<m2q971f65791004192348zab4adf13p93a6a4c1d60f9c16@mail.gmail.com>
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
Previous: Anand KumriaNext: Anand Kumria
Message 2 of 3 in “[bug] git svn clone failing with invalid diff stream”
  1. Anand KumriaApr 20, 2010
  2. Michael J GruberApr 20, 2010
  3. Anand KumriaApr 20, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.