Skip to content

Comparison of git remote hg alternatives

Felipe Contreras edited this page Aug 8, 2022 · 7 revisions

It’s for Mercurial, not Git. So you need to use it through Mercurial’s UI. It’s good for Mercurial users, not Git users.

If you are only interested in the conversion, git-remote-hg has a configuration option (remote-hg.hg-git-compat) that allows it to behave as hg-git, so the result of a conversion with git-remote-hg is exactly the same as one with hg-git.

A friendly fork of git-remote-hg which is mostly in sync, but it has a few extra features that I’m still thinking how to merge into this project properly.

gitifyhg is a fork of git-remote-hg (unadmitted) that basically does the same thing with slightly different implementation details and development practices. Seems to be dead now.

git-remote-hg has all the features of gitifyhg, and more. It passes all the tests of gitifyhg.

This is a very nice tool, but only allows you to export stuff (fetch an hg repo), and you have to manually run the git fast-import command, setup the marks, and so on. It was unmaintained for a while, but seems to be back alive.

It needs separate tools, such as hg convert, and git fast-export, and it doesn’t use remote helper infrastructure, so it’s not transparent: you have to run git-hg clone, git-hg fetch, and so on.

Not well maintained.

You need quite a lot of patches on top of git, so your vanilla version of Git is not going to cut it. In addition to that it doesn’t support as many features: no tags, no bookmarks. Plus it fails all the extensive tests of git-remote-hg.

It needs hg-git, and is dead now.

It needs hg-git, doesn’t use git’s remote helper infrastructure: you have to do git hg clone, git hg pull, etc. Very crude, and hasn’t received updates in a decade.