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: 763b9a426c5bd61e0a85252459d37cfaI 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