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

git-svn messed up import, badly

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Jun 28, 2008, 19:48 UTC
Message-ID
<20080628194808.GA29908@atjola.homenet>
Hi,

Samuel reported on #git that a git-svn import was failing for him. I tried to reproduce that, and while it failed on a different svn revision for me, it still failed pretty badly.

The repo is at:
	svn://scm.gforge.inria.fr/svn/coq/
I cloned with:
	git svn clone -s svn://scm.gforge.inria.fr/svn/coq/
And with my current git-svn import, I'm getting this error message:
Checksum mismatch: trunk/.depend 16e748c219f9f95bf3d05c6b2af5444290bc8471
expected: 05fb5edb8c8057be006c7e913ae0c764
     got: 763b9a426c5bd61e0a85252459d37cfa

I got that when it bailed out from "git svn clone" and I get it on each "git svn fetch" run, trying to resume the import.

Looking at the history of trunk/.depend and comparing the diffs that git gives me to those that "svn diff" gives me, I noticed that the diffs for changes to .depend introduced in svn revision 2314 differ heavily between svn and my git-svn import.

Tarball of the repo and the two diffs is at: http://people.linux-vserver.org/~doener/broken-git-svn-import.tbz [4.8MB]

$ git --version git version 1.5.6.1.78.gde8d9

git svn --version git-svn version 1.5.6.1.78.gde8d9 (svn 1.4.6)

Avery and Adam on Cc:, because Avery reported a somewhat similar issue that he bisected down to the git-svn speed-up patch by Adam.

Unfortunately, I currently don't have enough time on my hands to perform a bisection.

If you need anything else, let me know.

Thanks, Björn

Next: Avery Pennarun
Message 1 of 11 in “git-svn messed up import, badly”
  1. Björn SteinbrinkJun 28, 2008
  2. Revert "git-svn: Speed up fetch"Avery Pennarun, Jun 28, 2008
  3. git-svn: avoid filling up the disk with temp files.Avery Pennarun, Jun 28, 2008
  4. Björn SteinbrinkJun 29, 2008
  5. git cat-file: Fix memory leak in batch modeBjörn Steinbrink, Jun 29, 2008
  6. Junio C HamanoJun 29, 2008
  7. Björn SteinbrinkJun 29, 2008
  8. Björn SteinbrinkJun 29, 2008
  9. Eric WongJun 29, 2008
  10. Mikael MagnussonJun 28, 2008
  11. Avery PennarunJun 28, 2008

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.