summaryrefslogtreecommitdiff
path: root/contrib/hg-to-git
diff options
context:
space:
mode:
authorLibravatar Miklos Vajna <vmiklos@frugalware.org>2008-07-06 05:15:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-05 23:35:12 -0700
commitaf9a01e1c2f6a8814b817eb7f3d78814389a3212 (patch)
treeaa64a8e791d43ce75333e822fd751963c9cab868 /contrib/hg-to-git
parenthg-to-git: rewrite "git-frotz" to "git frotz" (diff)
downloadtgif-af9a01e1c2f6a8814b817eb7f3d78814389a3212.tar.xz
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>
Diffstat (limited to 'contrib/hg-to-git')
-rwxr-xr-xcontrib/hg-to-git/hg-to-git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hg-to-git/hg-to-git.py b/contrib/hg-to-git/hg-to-git.py
index 61540ef806..7b03204ed1 100755
--- a/contrib/hg-to-git/hg-to-git.py
+++ b/contrib/hg-to-git/hg-to-git.py
@@ -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):