changeset 46952 | 82366464190a |
parent 46950 | 279df499511e |
child 46954 | 5d91eeac37ab |
--- a/mercurial/commands.py Wed Apr 14 18:34:42 2021 +0200 +++ b/mercurial/commands.py Wed Apr 14 18:02:25 2021 +0200 @@ -4376,7 +4376,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()