mercurial/interfaces/dirstate.py
changeset 49960 c166b212bdee
parent 49882 8c7895db8955
child 49961 7a8bfc05b691
--- a/mercurial/interfaces/dirstate.py	Tue Dec 13 10:00:04 2022 +0100
+++ b/mercurial/interfaces/dirstate.py	Wed Jan 25 18:46:20 2023 +0100
@@ -35,7 +35,7 @@
     _checkexec = interfaceutil.Attribute("""Callable for checking exec bits.""")
 
     @contextlib.contextmanager
-    def parentchange():
+    def parentchange(repo):
         """Context manager for handling dirstate parents.
 
         If an exception occurs in the scope of the context manager,