mirror of
https://github.com/frej/fast-export.git
synced 2026-03-06 10:10:43 +01:00
Add a note about hg's unnamed branches and multiple heads
Signed-off-by: Rocco Rutte <pdmef@gmx.net>
This commit is contained in:
@@ -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
|
||||
|
||||
10
hg2git.txt
10
hg2git.txt
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user