git-remote-hg
brew install git-remote-hg
v0.7_2
GPL-2.0-only
Transparent bidirectional bridge between Git and Mercurial
25
30-day installs · #6226
55
90-day · #7062
225
365-day · #7060
379
★ GitHub stars · updated 1y ago
Runtime dependencies
Build dependencies
Links
- https://github.com/felipec/git-remote-hg
- GitHub: felipec/git-remote-hg
- Brew formula source: Formula/g/git-remote-hg.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"asciidoctor"
],
"categories": [],
"caveats": null,
"conflicts_with": [
"git-cinnabar"
],
"dependencies": [
"mercurial",
"python@3.14"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Transparent bidirectional bridge between Git and Mercurial",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:05+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "git-remote-hg",
"github_default_branch": "master",
"github_last_commit_at": "2025-08-14T22:02:24Z",
"github_readme_excerpt": "`git-remote-hg` is the semi-official Mercurial bridge from the Git project, once\ninstalled, it allows you to clone, fetch and push to and from Mercurial\nrepositories as if they were Git ones:\n\n--------------------------------------\ngit clone \"hg::http://selenic.com/repo/hello\"\n--------------------------------------\n\nTo enable this, simply add the `git-remote-hg` script anywhere in your `$PATH`:\n\n--------------------------------------\ncurl https://raw.githubusercontent.com/felipec/git-remote-hg/master/git-remote-hg -o ~/bin/git-remote-hg\nchmod +x ~/bin/git-remote-hg\n--------------------------------------\n\nThat\u0027s it :)\n\nObviously you will need Mercurial installed.\n\n== Configuration ==\n\nIf you want to see Mercurial revisions as Git commit notes:\n\n--------------------------------------\n% git config core.notesRef refs/notes/hg\n--------------------------------------\n\nIf you are not interested in Mercurial permanent and global branches (aka.\ncommit labels):\n\n--------------------------------------\n% git config --global remote-hg.track-branches false\n--------------------------------------\n\nWith this configuration, the \u0027branches/foo\u0027 refs won\u0027t appear.\n\nIf you want the equivalent of `hg clone --insecure`:\n\n--------------------------------------\n% git config --global remote-hg.insecure true\n--------------------------------------\n\nIf you want `git-remote-hg` to be compatible with `hg-git`, and generate exactly\nthe same commits:\n\n--------------------------------------\n% git config --global remote-hg.hg-git-compat true\n--------------------------------------\n\n== Notes ==\n\nRemember to run `git gc --aggressive` after cloning a repository, especially if\nit\u0027s a big one. Otherwise lots of space will be wasted.\n\nThe newest supported version of Mercurial is 6.2, the oldest one is 4.0.\n\n=== Pushing branches ===\n\nTo push a branch, you need to use the \u0027branches/\u0027 prefix:\n\n--------------------------------------\n% git checkout branches/next\n# do stuff\n% git push origin branches/next\n---------",
"github_repo": "felipec/git-remote-hg",
"github_stars": 379,
"github_topics": [],
"homepage": "https://github.com/felipec/git-remote-hg",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 25,
"installs_365d": 225,
"installs_90d": 55,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "GPL-2.0-only",
"llm_generated_at": null,
"llm_model": null,
"name": "git-remote-hg",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6226,
"rank_365d": 7060,
"rank_90d": 7062,
"raw_hash": "a3ff5bf7b4e34d13",
"recommended_dependencies": [],
"revision": 2,
"ruby_source_path": "Formula/g/git-remote-hg.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.7",
"versioned_formulae": [],
"why_use_this": null
}