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

Re: fetching from an hg remote fails with bare git repositories

From
Taylor Braun-Jones <taylor@braun-jones.org>
Date
Aug 6, 2015, 18:21 UTC
Message-ID
<CAKfKJYtujyEBH4JhTyt=PzZbpB-iYhi=h5FbjAM2j9cuDGh1Hw@mail.gmail.com>
In-Reply-To
<20150804230359.GA27965@glandium.org>
On Tue, Aug 4, 2015 at 7:03 PM, Mike Hommey <mh@glandium.org> wrote:
> Another missing detail is what you're using for mercurial support in
> git. I would guess https://github.com/felipec/git-remote-hg.

Yes. I was going off some outdated information on the web that told me the felipec/git-remote-hg had moved to mainline git. I now see that has been undone.

> Shameless plug, you may want to give a try to
> https://github.com/glandium/git-cinnabar.

Thanks, I'll keep an eye on the project for support for pushing merge commits. That missing feature is a show-stopper for me right now. Since git-cinnabar is not doing a full hg clone under the hood, is there a chance that it will support shallow clones? (even before the native hg client has this feature...)

> Anyways, your error looks like what I fixed in 33cae54, which git
> describe tells me made it to git 2.3.2.

Yep, grabbing the latest version of git (2.5.0) solved the problem. Sorry for the bother.

Taylor
Previous: Mike Hommey
Message 5 of 5 in “fetching from an hg remote fails with bare git repositories”
  1. Taylor Braun-JonesAug 4, 2015
  2. Stefan BellerAug 4, 2015
  3. Taylor Braun-JonesAug 4, 2015
  4. Mike HommeyAug 4, 2015
  5. Taylor Braun-JonesAug 6, 2015

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.