mercurial/bundlerepo.py
changeset 46907 ffd3e823a7e5
parent 46780 6266d19556ad
child 47012 d55b71393907
--- a/mercurial/bundlerepo.py	Sun Apr 11 23:54:35 2021 +0200
+++ b/mercurial/bundlerepo.py	Mon Apr 12 03:01:04 2021 +0200
@@ -43,6 +43,9 @@
     util,
     vfs as vfsmod,
 )
+from .utils import (
+    urlutil,
+)
 
 
 class bundlerevlog(revlog.revlog):
@@ -475,7 +478,7 @@
             cwd = pathutil.normasprefix(cwd)
             if parentpath.startswith(cwd):
                 parentpath = parentpath[len(cwd) :]
-    u = util.url(path)
+    u = urlutil.url(path)
     path = u.localpath()
     if u.scheme == b'bundle':
         s = path.split(b"+", 1)