mercurial/debugcommands.py
changeset 46960 69359c91dc43
parent 46959 9e021cffb356
child 46961 d7b36a4e03de
--- a/mercurial/debugcommands.py	Wed Apr 14 21:11:39 2021 +0200
+++ b/mercurial/debugcommands.py	Wed Apr 14 21:15:22 2021 +0200
@@ -3654,7 +3654,9 @@
             )
         source = b"default"
 
-    source, branches = urlutil.parseurl(ui.expandpath(source))
+    source, branches = urlutil.get_unique_pull_path(
+        b'debugssl', repo, ui, source
+    )
     url = urlutil.url(source)
 
     defaultport = {b'https': 443, b'ssh': 22}