diff -r a87338fe8cfa -r a06a503e3cf8 mercurial/match.py --- a/mercurial/match.py Wed Dec 14 22:22:12 2022 -0500 +++ b/mercurial/match.py Wed Dec 14 22:24:54 2022 -0500 @@ -368,7 +368,7 @@ % ( pat, inst.message, - ) # pytype: disable=unsupported-operands + ) ) except IOError as inst: if warn: