dirstate: add missing methods and kwargs to idirstate interface
authorAnton Shestakov <av6@dwimlabs.net>
Wed, 11 Jan 2023 16:51:37 +0400
changeset 49961 8c7895db8955
parent 49960 b3ae17037b54
child 49962 becd16690cbe
dirstate: add missing methods and kwargs to idirstate interface
mercurial/interfaces/dirstate.py
--- a/mercurial/interfaces/dirstate.py	Thu Jan 05 19:52:00 2023 +0400
+++ b/mercurial/interfaces/dirstate.py	Wed Jan 11 16:51:37 2023 +0400
@@ -12,6 +12,7 @@
         sparsematchfn,
         nodeconstants,
         use_dirstate_v2,
+        use_tracked_hint=False,
     ):
         """Create a new dirstate object.
 
@@ -214,3 +215,8 @@
 
     def clearbackup(tr, backupname):
         '''Clear backup file'''
+
+    def verify(m1, m2, p1, narrow_matcher=None):
+        """
+        check the dirstate contents against the parent manifest and yield errors
+        """