--- a/contrib/dirstatenonnormalcheck.py Thu Jul 15 17:24:09 2021 +0200
+++ b/contrib/dirstatenonnormalcheck.py Thu Jul 08 12:18:21 2021 +0200
@@ -37,12 +37,12 @@
ui.develwarn(b"[map] %s\n" % b_nonnormalcomputed, config=b'dirstate')
-def _checkdirstate(orig, self, arg):
+def _checkdirstate(orig, self, *args, **kwargs):
"""Check nonnormal set consistency before and after the call to orig"""
checkconsistency(
self._ui, orig, self._map, self._map.nonnormalset, b"before"
)
- r = orig(self, arg)
+ r = orig(self, *args, **kwargs)
checkconsistency(
self._ui, orig, self._map, self._map.nonnormalset, b"after"
)