Add a note about hg's unnamed branches and multiple heads

Signed-off-by: Rocco Rutte <pdmef@gmx.net>
This commit is contained in:
Rocco Rutte
2007-03-13 15:27:29 +00:00
parent 5732cd0313
commit d9bb3271a4
2 changed files with 8 additions and 4 deletions

View File

@@ -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

View 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