[BISECTED] git-svn: "Failed to read object ..." during clone
From: Björn Steinbrink <hidden>
Date: 2016-06-15 22:44:39
From: Björn Steinbrink <hidden>
Date: 2016-06-15 22:44:39
Hi Adam,
when cloning the SVN repository at svn://svn.debian.org/estron/ git-svn bails
out with:
Failed to read object e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 at
/usr/local/bin/git-svn line 3195, <GEN36> line 645.
Bisection led to:
ffe256f9bac8a40ff751a9341a5869d98f72c285 is first bad commit
commit ffe256f9bac8a40ff751a9341a5869d98f72c285
Author: Adam Roben [off-list ref]
Date: Fri May 23 16:19:41 2008 +0200
git-svn: Speed up fetch
We were spending a lot of time forking/execing git-cat-file and
git-hash-object. We now maintain a global Git repository object in order to use
Git.pm's more efficient hash_and_insert_object and cat_blob methods.
I can reliable reproduce the problem using this command:
git svn clone -r215:230 svn://svn.debian.org/estron/trunk
$ git --version
git version 1.5.6.rc0.13.g2d392
$ git svn --version
git-svn version 1.5.6.rc0.13.g2d392 (svn 1.4.6)
Björn