diff -r 1b3aa9762d3a -r 3dbc7b1ecaba mercurial/error.py --- a/mercurial/error.py Fri Mar 24 00:11:38 2023 +0100 +++ b/mercurial/error.py Fri Mar 24 02:22:12 2023 -0400 @@ -155,7 +155,7 @@ """Exception raised on errors in parsing the command line.""" def __init__(self, command, message): - # type: (bytes, bytes) -> None + # type: (Optional[bytes], bytes) -> None self.command = command self.message = message super(CommandError, self).__init__()