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

Re: [BUG] git-svn returning "Incomplete data: Delta source ended unexpectedly"

From
EWEric Wong <normalperson@yhbt.net>
Date
Jul 14, 2010, 21:09 UTC
Message-ID
<20100714210940.GA7803@dcvr.yhbt.net>
In-Reply-To
<AANLkTiljzOuaEToKscBxlc4qGilyNRiUtjoBxW1lJZlp@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 12 quoted lines
> I run a SVN -> Git mirror which fetches & rebases with git-svn and
> pushes the result to GitHub:
> 
>     http://github.com/avar/openstreetmap-mirror/blob/master/josm-mirror.sh
> 
> Something about what that script is doing corrupted the git-svn
> repository, likely due to a git-svn bug. Now when I do git svn fetch
> on 1.7.1:
> 
>     $ git svn fetch
>     Incomplete data: Delta source ended unexpectedly at
> /usr/lib/git-core/git-svn line 5061

The geticons.pl file on the git side doesn't match what SVN expects when doing a delta.

Show 9 quoted lines
> I re-cloned the repository and started running my mirror again from
> that. But it would be nice if we could track this bug down.
> 
> Here's a copy of the repository:
> 
>     http://v.nix.is/~avar/josm.old.tar.gz
> 
> Unpacking it and running git svn fetch will yield the same error on
> another box I have with 1.7.1.

Something went wrong with your mirror script (the way you're doing externals is probably screwing it up, badly).

Compare the "git svn log" output of your in-progress repository with the "svn log http://josm.openstreetmap.de/svn/trunk"

The revision numbers/commit messages don't sync up at all.
-- 
Eric Wong
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 2 of 4 in “[BUG] git-svn returning "Incomplete data: Delta source ended unexpectedly"”
  1. Ævar Arnfjörð BjarmasonJul 14, 2010
  2. Eric WongJul 14, 2010
  3. Ævar Arnfjörð BjarmasonJul 14, 2010
  4. Nicolas NobleAug 25, 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.