diff -r 55d132525155 -r 642e31cb55f0 mercurial/fileset.py --- a/mercurial/fileset.py Mon Feb 21 13:03:43 2022 -0700 +++ b/mercurial/fileset.py Mon Feb 21 13:08:28 2022 -0700 @@ -503,7 +503,7 @@ } -class matchctx(object): +class matchctx: def __init__(self, basectx, ctx, cwd, badfn=None): self._basectx = basectx self.ctx = ctx