mercurial/pathutil.py
changeset 52894 bde94bd8e8a2
parent 52871 0bd91b0a1a93
--- a/mercurial/pathutil.py	Sat Feb 08 18:12:29 2025 +0100
+++ b/mercurial/pathutil.py	Sat Feb 08 18:15:18 2025 +0100
@@ -22,6 +22,8 @@
     util,
 )
 
+from .interfaces import misc as int_misc
+
 rustdirs = policy.importrust('dirstate', 'Dirs', pyo3=True)
 parsers = policy.importmod('parsers')
 
@@ -335,7 +337,7 @@
         pos = path.find(pycompat.ossep, pos + 1)
 
 
-class dirs:
+class dirs(int_misc.IDirs):
     '''a multiset of directory names from a set of file paths'''
 
     def __init__(self, map, only_tracked=False):