diff -r 33524c46a092 -r ffd3e823a7e5 mercurial/bundlerepo.py --- 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)