changeset 49882:8c7895db8955

dirstate: add missing methods and kwargs to idirstate interface
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 11 Jan 2023 16:51:37 +0400
parents b3ae17037b54
children becd16690cbe
files mercurial/interfaces/dirstate.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
+        """