There is "bridge support for Mercurial and Bazaar" distributed as part of git: git -remote-hg is located in the git tree under contrib/remote-helpers . It is not fully functional, so it will allow you to clone an hg repo in git, but more complex operations, such as tagging and branching, may not work.
I recommend gitifyhg . This is the git -remote-hg fork, and the responsible team seems to be more error prone, so you can tag and branch as you would normally with the git repo except Mercurial for the backend. It is available in pypi, so you can just easy_install gitifyhg , and then:
git co gitifyhg::ssh://my.repo//path/to/repo
Paul Price Mar 31 '13 at 23:46 2013-03-31 23:46
source share