mercurial/hgweb/hgwebdir_mod.py
changeset 47627 aceede7c4929
parent 46819 d4ba4d51f85f
child 47802 de2e04fe4897
--- 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