summaryrefslogtreecommitdiff
path: root/contrib/hg-to-git/hg-to-git.py
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-07-06 03:15:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-07-06 06:35:12 (GMT)
commitaf9a01e1c2f6a8814b817eb7f3d78814389a3212 (patch)
treeaa64a8e791d43ce75333e822fd751963c9cab868 /contrib/hg-to-git/hg-to-git.py
parent96f2395951fd81ad49217d49074dfbcf3f0df685 (diff)
downloadgit-af9a01e1c2f6a8814b817eb7f3d78814389a3212.zip
git-af9a01e1c2f6a8814b817eb7f3d78814389a3212.tar.gz
git-af9a01e1c2f6a8814b817eb7f3d78814389a3212.tar.bz2
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/hg-to-git.py')
-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 61540ef..7b03204 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):