GSoC: hg and git interoperability (status report)

Abderrahim Kitouni a.kitouni at gmail.com
Mon Jun 8 15:12:23 CDT 2009


Hi all,

This week, I started working on Scott Chacon's hg-git, I've added support for
direct clone/pull/push of git repositories (I hope it won't conflict with
hgsubversion, I haven't tested it).

Next, I plan to remove the need to keep a full git repository inside hg (well,
it's currently not needed in the sense that it will stop working if you delete
it, but it will be regenerated and used if you do), and keep only the objects
subdirectory. At this point I hope that I can plug-in the code I wrote earlier
(which converts back to git on the fly and thus keeps no cache), and maybe add
some smart caching.

My branch can be found at http://bitbucket.org/abderrahim/hg-git/ (it's not yet
merged)

On Sun, 31 May 2009 18:29:54 -0500
Augie Fackler <durin42 at gmail.com> wrote:
> I was originally of this opinion too, but I've been convinced by Scott  
> Chacon that we can do better. In fact, his extension already has some  
> of the parts needed for that.
I'm still of this opinion. While this approach may be useful, I generally don't
want the git repository to have --HG-- data at the end of commit message if
there are only 2 contributors using hg.

I'll try to factor this and make it configurable.

Regards,
Abderrahim


More information about the Mercurial-devel mailing list