mercurial/dispatch.py
changeset 51811 460e80488cf0
parent 51375 82131be5258e
child 51858 607e94e01851
--- a/mercurial/dispatch.py	Tue Aug 20 17:46:17 2024 -0400
+++ b/mercurial/dispatch.py	Tue Aug 20 18:30:47 2024 -0400
@@ -85,7 +85,7 @@
         # store the parsed and canonical command
         self.canonical_command = None
 
-    def _runexithandlers(self):
+    def _runexithandlers(self) -> None:
         exc = None
         handlers = self.ui._exithandlers
         try:
@@ -239,7 +239,7 @@
     return status
 
 
-def _rundispatch(req):
+def _rundispatch(req) -> int:
     with tracing.log('dispatch._rundispatch'):
         if req.ferr:
             ferr = req.ferr