mercurial/commands.py
changeset 14363 82f3b0f3f0a5
parent 14362 8c740a850ad7
child 14371 ec2aae8b375d
--- a/mercurial/commands.py	Wed May 18 19:25:34 2011 +0200
+++ b/mercurial/commands.py	Wed May 18 19:30:17 2011 +0200
@@ -3223,7 +3223,7 @@
 
     Returns 0 on success.
     """
-    hg.repository(hg.remoteui(ui, opts), ui.expandpath(dest), create=1)
+    hg.repository(hg.remoteui(ui, opts), ui.expandpath(dest), create=True)
 
 @command('locate',
     [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),