mercurial/repair.py
changeset 43571 c21aca51b392
parent 43117 8ff1ecfadcd1
child 43811 29adf0a087a1
--- a/mercurial/repair.py	Wed Oct 23 12:15:42 2019 -0700
+++ b/mercurial/repair.py	Wed Nov 06 14:13:19 2019 +0100
@@ -24,6 +24,7 @@
     exchange,
     obsolete,
     obsutil,
+    pathutil,
     phases,
     pycompat,
     util,
@@ -476,7 +477,7 @@
         if b'treemanifest' in repo.requirements:
             # This logic is safe if treemanifest isn't enabled, but also
             # pointless, so we skip it if treemanifest isn't enabled.
-            for dir in util.dirs(seenfiles):
+            for dir in pathutil.dirs(seenfiles):
                 i = b'meta/%s/00manifest.i' % dir
                 d = b'meta/%s/00manifest.d' % dir