]> git.ipfire.org Git - thirdparty/git.git/commitdiff
hg-to-git: use git init instead of git init-db
authorMiklos Vajna <vmiklos@frugalware.org>
Sun, 6 Jul 2008 03:15:20 +0000 (05:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jul 2008 06:35:12 +0000 (23:35 -0700)
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hg-to-git/hg-to-git.py

index 61540ef806e67e35022301f4a3fbd5e710b7ddb1..7b03204ed18500756ba55818f0808b52db68d048 100755 (executable)
@@ -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):