Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 14363:82f3b0f3f0a5
localrepo, sshrepo: use Boolean create argument in __init__
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 18 May 2011 19:30:17 +0200 |
parents | 8c740a850ad7 |
children | ec2aae8b375d |
line wrap: on
line diff
--- 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')),