hg-git, an experimental hg plugin to push to and pull from git servers

Martin Geisler mg at lazybytes.net
Fri May 1 13:53:55 CDT 2009


Ted Pavlic <ted at tedpavlic.com> writes:

>> http://hg-git.github.com/
>
> I think many git users would like the opposite -- the ability to be
> able to push/pull from an hg server using git. That would make Google
> Code's choice of Mercurial a lot more acceptable to many die-hard git
> users.

By being a two-way bridge, hg-git must allow that too with a workflow
like this (I haven't tried and don't know if the commands are correct):

  hg clone http://soc.googlecode.com/hg/ hg-soc
  # create git-soc repository
  cd soc
  hg gpush ../git-soc

The git-soc repository is now a Git repository. Changes can be made
there and the hg-git extension can pull them back into hg-soc. From
there Mercurial can push them to googlecode as normal.

The Mercurial repository could be completely managed by a Git extension
so that one can work directly with a Mercurial repository from Git.

So this means that Git users can begin working with repositories on
Bitbucket as well :-)

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20090501/09b71f08/attachment.pgp 


More information about the Mercurial mailing list