Skip to content

Commit

Permalink
hg-to-git: use git init instead of git init-db
Browse files Browse the repository at this point in the history
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Miklos Vajna authored and Junio C Hamano committed Jul 6, 2008
1 parent 96f2395 commit af9a01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/hg-to-git/hg-to-git.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def getgitenv(user, date):

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):
Expand Down

0 comments on commit af9a01e

Please sign in to comment.