Signed-off-by: Rocco Rutte <pdmef@gmx.net>
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
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