diff -r a53162bd73ed -r a1e4fa9330d8 mercurial/match.py --- a/mercurial/match.py Thu Aug 01 01:52:11 2024 -0400 +++ b/mercurial/match.py Thu Aug 01 11:43:10 2024 -0400 @@ -1071,7 +1071,7 @@ sub/x.txt: No such file """ - def __init__(self, path, matcher): + def __init__(self, path: bytes, matcher: basematcher) -> None: super(subdirmatcher, self).__init__() self._path = path self._matcher = matcher