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>
Miklos Vajna committed
Jul 6, 2008 at 05:15 UTC
af9a01e1c2f6a8814b817eb7f3d78814389a3212
1 file changed
+1
-1
contrib/hg-to-git/hg-to-git.py
+1
-1
@@ -152,7 +152,7 @@ for cset in range(1, int(tip) + 1):
152
153
if not hgvers.has_key("0"):
154
print 'creating repository'
155
- os.system('git init-db')
155
+ os.system('git init')
156
157
# loop through every hg changeset
158
for cset in range(int(tip) + 1):