hg-to-git: use git init instead of git init-db
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
96f2395951
commit
af9a01e1c2
@ -152,7 +152,7 @@ for cset in range(1, int(tip) + 1):
|
||||
|
||||
if not hgvers.has_key("0"):
|
||||
print 'creating repository'
|
||||
os.system('git init-db')
|
||||
os.system('git init')
|
||||
|
||||
# loop through every hg changeset
|
||||
for cset in range(int(tip) + 1):
|
||||
|
Loading…
Reference in New Issue
Block a user