Submitter | Gregory Szorc |
---|---|
Date | Sept. 29, 2014, 5:30 a.m. |
Message ID | <69a784144e1ed85cc515.1411968626@3.1.168.192.in-addr.arpa> |
Download | mbox | patch |
Permalink | /patch/6025/ |
State | Changes Requested |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4243,9 +4243,9 @@ def init(ui, dest=".", **opts): See :hg:`help urls` for more information. Returns 0 on success. """ - hg.peer(ui, opts, ui.expandpath(dest), create=True) + hg.peer(ui, opts, ui.expandpath(dest, intent='init'), create=True) @command('locate', [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')), ('0', 'print0', None, _('end filenames with NUL, for use with xargs')),