Submitter | phabricator |
---|---|
Date | April 14, 2021, 11:40 p.m. |
Message ID | <differential-rev-PHID-DREV-nzyznezcxswqkcuol54a-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48736/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4375,7 +4375,8 @@ Returns 0 on success. """ opts = pycompat.byteskwargs(opts) - peer = hg.peer(ui, opts, ui.expandpath(dest), create=True) + path = urlutil.get_clone_path(ui, dest)[1] + peer = hg.peer(ui, opts, path, create=True) peer.close()