mercurial/cmdutil.py
changeset 51284 f15cb5111a1e
parent 51282 9d3721552b6c
child 51551 a151fd01e98c
--- a/mercurial/cmdutil.py	Wed Dec 20 20:13:22 2023 +0100
+++ b/mercurial/cmdutil.py	Tue Dec 19 21:29:34 2023 +0100
@@ -4118,8 +4118,10 @@
     return 0
 
 
-def readgraftstate(repo, graftstate):
-    # type: (Any, statemod.cmdstate) -> Dict[bytes, Any]
+def readgraftstate(
+    repo: Any,
+    graftstate: statemod.cmdstate,
+) -> Dict[bytes, Any]:
     """read the graft state file and return a dict of the data stored in it"""
     try:
         return graftstate.read()