git-svn messed up import, badly

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Cc: Eric Wong <normalperson@...>, Adam Roben <aroben@...>, Avery Pennarun <apenwarr@...>, Samuel Bronson <naesten@...>
Date: Saturday, June 28, 2008 - 3:48 pm

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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn messed up import, badly, Björn, (Sat Jun 28, 3:48 pm)
[PATCH] Revert "git-svn: Speed up fetch", Avery Pennarun, (Sat Jun 28, 4:57 pm)
Re: [PATCH] Revert "git-svn: Speed up fetch", Mikael Magnusson, (Sat Jun 28, 7:51 pm)
Re: [PATCH] Revert "git-svn: Speed up fetch", Avery Pennarun, (Sat Jun 28, 7:58 pm)
Re: [PATCH] git cat-file: Fix memory leak in batch mode, Junio C Hamano, (Sat Jun 28, 11:36 pm)