diff -r 8c740a850ad7 -r 82f3b0f3f0a5 mercurial/commands.py --- 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')),