path: root/Documentation/git-tools.txt
diff options
authorStelian Pop <>2007-01-12 21:57:03 (GMT)
committerJunio C Hamano <>2007-02-05 21:52:45 (GMT)
commit98d47d4ccf76725e7833c1bbda1da82f7648925f (patch)
treeb742caceae6c42aa96066c671bbc819f47f92eed /Documentation/git-tools.txt
parent3fb624521e059c6c3caef470a9ff03f72b86036c (diff)
Add hg-to-git conversion utility. is able to convert a Mercurial repository into a git one, and preserves the branches in the process (unlike tailor) 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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-tools.txt')
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-tools.txt b/Documentation/git-tools.txt
index 6b407f9..10653ff 100644
--- a/Documentation/git-tools.txt
+++ b/Documentation/git-tools.txt
@@ -86,6 +86,14 @@ Foreign SCM interface
series in git back and forth.
+ - *hg-to-git* (contrib/)
+ hg-to-git converts a Mercurial repository into a git one, and
+ preserves the full branch history in the process. hg-to-git can
+ also be used in an incremental way to keep the git repository
+ in sync with the master Mercurial repository.