mercurial/hgweb/hgwebdir_mod.py
changeset 43677 0b7733719d21
parent 43106 d783f945a701
child 43811 29adf0a087a1
--- a/mercurial/hgweb/hgwebdir_mod.py	Wed Nov 13 21:52:25 2019 -0500
+++ b/mercurial/hgweb/hgwebdir_mod.py	Thu Nov 14 08:03:26 2019 -0800
@@ -32,6 +32,7 @@
     error,
     extensions,
     hg,
+    pathutil,
     profiling,
     pycompat,
     registrar,
@@ -436,7 +437,7 @@
             def _virtualdirs():
                 # Check the full virtual path, and each parent
                 yield virtual
-                for p in util.finddirs(virtual):
+                for p in pathutil.finddirs(virtual):
                     yield p
 
             for virtualrepo in _virtualdirs():