mercurial/hg.py
changeset 46951 338ab1d89ddb
parent 46950 279df499511e
child 46953 394cfc42c05c
--- a/mercurial/hg.py	Wed Apr 14 17:41:02 2021 +0200
+++ b/mercurial/hg.py	Wed Apr 14 18:34:42 2021 +0200
@@ -689,7 +689,7 @@
             if dest:
                 ui.status(_(b"destination directory: %s\n") % dest)
         else:
-            dest = ui.expandpath(dest)
+            dest = urlutil.get_clone_path(ui, dest)[0]
 
         dest = urlutil.urllocalpath(dest)
         source = urlutil.urllocalpath(source)