Add a note about hg's unnamed branches and multiple heads
authorRocco Rutte <pdmef@gmx.net>
Tue, 13 Mar 2007 15:27:29 +0000 (15:27 +0000)
committerRocco Rutte <pdmef@gmx.net>
Tue, 13 Mar 2007 15:27:29 +0000 (15:27 +0000)
Signed-off-by: Rocco Rutte <pdmef@gmx.net>
hg2git.py
hg2git.txt

index acb3d4a..690acda 100644 (file)
--- a/hg2git.py
+++ b/hg2git.py
@@ -77,7 +77,7 @@ def gitmode(x):
 
 def wr(msg=''):
   print msg
-  #map(lambda x: sys.stderr.write('\t[%s]\n' % x),msg.split('\n'))
+  map(lambda x: sys.stderr.write('\t[%s]\n' % x),msg.split('\n'))
 
 def checkpoint(count):
   count=count+1
index 13a2035..f4da258 100644 (file)
@@ -15,12 +15,16 @@ Using it is quite simple for a mercurial repository <repo>:
   mkdir repo-git # or whatever
   cd repo-git
   git init
-  hg2git.sh <repo>
+  hg2git.sh -r <repo>
 
 Incremental imports to track hg repos is supported, too.
 
-Notes
-=====
+Notes/Limitations
+=================
+
+hg2git supports multiple branches but only named branches with exaclty
+one head each. Otherwise commits to the tip of these heads within branch
+will get flattened into merge commits.
 
 As each git-fast-import run creates a new pack file, it may be required
 to repack the repository quite often for incremental imports (especially