0

Possible Duplicate:
Git interoperability with a Mercurial Repository

I'm using Git for all of my projects. Now I would like to clone a project that is using Mercurial.

Is there some kind of Mercurial <-> Git bridge or something that I can use?

Community
  • 1
  • 1
jgauffin
  • 99,844
  • 45
  • 235
  • 372
  • You could use the solution outlined here: http://stackoverflow.com/questions/883452/git-interoperability-with-a-mercurial-repository – obmarg Dec 19 '11 at 18:34
  • @MauvisLedford: I don't want to convert/export it. I want to clone it so that I can receive updates. – jgauffin Dec 19 '11 at 18:50
  • @jgauffin, same approach, although getting constant updates from the origin would be hard. – Mauvis Ledford Dec 19 '11 at 19:15
  • @MauvisLedford: No its not the same. A clone makes it easier to merge my changes with the ones from the origin. Doing an export equals manual merging, or am I wrong? – jgauffin Dec 19 '11 at 19:18

1 Answers1

0

Preface

  1. Git can't pull of push to Mercurial repo
  2. Mercurial (with hg-git) works with git in both direction

Resume

You have to use one more hg-repo in the middle maybe mentioned by obmarg way, or my (untested) way

Community
  • 1
  • 1
Lazy Badger
  • 94,711
  • 9
  • 78
  • 110