author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Fri, 02 Dec 2022 16:34:00 +0100 | |
changeset 49741 | 2aaa5d1e57e9 |
parent 49740 | 53ad92b20556 |
child 49742 | 30eb36d93072 |
--- a/mercurial/commands.py Fri Dec 02 16:30:48 2022 +0100 +++ b/mercurial/commands.py Fri Dec 02 16:34:00 2022 +0100 @@ -4423,7 +4423,7 @@ Returns 0 on success. """ opts = pycompat.byteskwargs(opts) - path = urlutil.get_clone_path(ui, dest)[1] + path = urlutil.get_clone_path_obj(ui, dest) peer = hg.peer(ui, opts, path, create=True) peer.close()