diff -r f1ef512e14ab -r 460e80488cf0 mercurial/dispatch.py --- 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