diff -r 1fdf315eff66 -r aceede7c4929 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Sat Jul 10 14:06:06 2021 +0200 +++ b/mercurial/hgweb/hgwebdir_mod.py Sat Jul 10 14:06:19 2021 +0200 @@ -70,7 +70,7 @@ except KeyError: repos.append((prefix, root)) continue - roothead = os.path.normpath(os.path.abspath(roothead)) + roothead = os.path.normpath(util.abspath(roothead)) paths = scmutil.walkrepos(roothead, followsym=True, recurse=recurse) repos.extend(urlrepos(prefix, roothead, paths)) return repos