Interest in integrating hg-git into Mercurial

Gregory Szorc gregory.szorc at gmail.com
Thu Aug 1 17:01:08 UTC 2019


Is there any interest in integrating hg-git (or hg-git functionality) into
the Mercurial distribution as an officially supported extension?

Given the popularity of Git and the difficulty of installing semi-complex
Python software like hg-git, I was thinking it would be beneficial to
end-users for Mercurial to support interacting with Git repositories
out-of-the-box with as little set-up pain as possible. hg-git feels like
the path of least resistance towards attaining that goal. (I would
eventually like to see support for Mercurial opening Git repositories
natively. While I think this is technically viable, it is probably a year
or two away, as it needs significant work to shore up Mercurial's storage
interfaces and internal code contracts to support such a significant
invariant as interfacing with Git repositories.)

Vendoring hg-git would like also entail vendoring its dependencies:
urllib3, certifi, and dulwich. Vendoring urllib3 and certifi is probably
not the worst thing in the world, as it would give us an excuse to refactor
Mercurial's HTTP internals to move off the ugly hacks we employ to use
Python's standard library.

I'm not promising I will follow through and do this work. At this time I'm
mostly interested in taking a quick pulse to see if there is any interest
in doing it. If there is general support, I may follow through :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20190801/5ec11cf7/attachment.html>


More information about the Mercurial-devel mailing list