Code

Add hg-to-git conversion utility.
authorStelian Pop <stelian@popies.net>
Fri, 12 Jan 2007 21:57:03 +0000 (22:57 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 5 Feb 2007 21:52:45 +0000 (13:52 -0800)
commit98d47d4ccf76725e7833c1bbda1da82f7648925f
treeb742caceae6c42aa96066c671bbc819f47f92eed
parent3fb624521e059c6c3caef470a9ff03f72b86036c
Add hg-to-git conversion utility.

hg-to-git.py  is able to convert a Mercurial repository into a git one,
and preserves the branches in the process (unlike tailor)

hg-to-git.py can probably be greatly improved (it's a rather crude
combination of shell and python) but it does already work quite well for
me. Features:
- supports incremental conversion
  (for keeping a git repo in sync with a hg one)
- supports hg branches
- converts hg tags

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-tools.txt
contrib/hg-to-git/hg-to-git.py [new file with mode: 0755]
contrib/hg-to-git/hg-to-git.txt [new file with mode: 0644]