mercurial/ui.py
changeset 46907 ffd3e823a7e5
parent 46906 33524c46a092
child 46965 b03527bdac01
--- a/mercurial/ui.py	Sun Apr 11 23:54:35 2021 +0200
+++ b/mercurial/ui.py	Mon Apr 12 03:01:04 2021 +0200
@@ -559,7 +559,7 @@
                         )
                         p = p.replace(b'%%', b'%')
                     p = util.expandpath(p)
-                    if not util.hasscheme(p) and not os.path.isabs(p):
+                    if not urlutil.hasscheme(p) and not os.path.isabs(p):
                         p = os.path.normpath(os.path.join(root, p))
                     c.alter(b"paths", n, p)