Git for mercury type git-svn

Hello, is there a tool for git that allows you to work with mercury repositories

Fe for svn there is a git-svn package that allows you to clone / commit / update from svn and work with the git way.

So is there any tool for mercury for this?

+1
git svn mercurial
Nov 11 '09 at 9:19
source share
2 answers

See this related SO question: Git compatibility with Mercurial Repository

hg2git seems to be interesting. This is part of the git fast-export tool family.

If you want hg push / pull git from a repo, consider the Hg-Git Mercurial Plugin .

+4
Nov 11 '09 at 13:08
source share

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 
0
Mar 31 '13 at 23:46
source share



All Articles