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

git-svn: incomplete data after terminated "git svn clone"

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Feb 10, 2009, 11:50 UTC
Message-ID
<40aa078e0902100350m2d885516o853b1ec56eb43ce1@mail.gmail.com>

I'm a novice at Git, so bear with me even if the answer is obvious to experienced users, please :)

I recently tried to clone an existing (very big) SVN repo by using "git svn clone <repo> -s", and by mistake I pressed Ctrl-C after the clone operation had been running for ~16 hours. When trying to re-issue the clone, I got the error message "Incomplete data: Delta source ended unexpectedly at /home/erifay01/libexec/git-core/git-svn line 4249" after git-svn fetching another 8 or so revisions. Now, I realize I shouldn't have done this, but I'd still prefer avoiding to have to re-do it all.

I already tried re-building the svn metadata by moving away ".git/svn" and re-issuing the clone command, but no luck. It quickly re-builds everything up to the revision that git-svn broke at, but fails with the same error message.

Now, I'm wondering if there's any way of going back to the state before I pressed Ctrl-C, so I can rebuild from there. I know what revision I terminated at, and I have the corresponding SHA.

-- Erik "kusma" Faye-Lund kusmabite@gmail.com (+47) 986 59 656

Next: Thomas Rast
Message 1 of 4 in “git-svn: incomplete data after terminated "git svn clone"”
  1. Erik Faye-LundFeb 10, 2009
  2. Thomas RastFeb 10, 2009
  3. Erik Faye-LundFeb 10, 2009
  4. Luciano Miguel Ferreira RochaFeb 10, 2009

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.