From: Stefan Beller Date: Tue, 04 Aug 2015 18:56:47 GMT Subject: Re: fetching from an hg remote fails with bare git repositories Message-ID: In-Reply-To: On Tue, Aug 4, 2015 at 10:45 AM, Taylor Braun-Jones wrote: > Fetching from an hg remote fails with bare git repositories. Non-bare > repositories work fine. > > Steps to reproduce: > > mkdir /tmp/hgrepo > cd /tmp/hgrepo > hg init > echo foo > foo.txt > hg add foo.txt > hg commit -m "add foo.txt" foo.txt > git clone hg::/tmp/hgrepo/ /tmp/gitrepo > cd /tmp/gitrepo/ > git fetch # WORKS > git clone --bare hg::/tmp/hgrepo/ /tmp/gitrepo.git > cd /tmp/gitrepo.git/ > git fetch # FAILS > > The error message from the last line is: > > fatal: bad object 0000000000000000000000000000000000000000 > error: hg::/tmp/hgrepo/ did not send all necessary objects > > Taylor Which version of git did you test this with? Does it also happen on the latest version? > -- > 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