changeset 43510 | 85628a595c37 |
parent 43506 | 9f70512ae2cf |
child 43559 | 90de6bcdf226 |
--- a/mercurial/repoview.py Thu Nov 07 14:59:11 2019 -0500 +++ b/mercurial/repoview.py Fri Nov 08 11:23:22 2019 -0800 @@ -227,9 +227,10 @@ cl = copy.copy(unfichangelog) cl.filteredrevs = filteredrevs - cl.__class__ = type( - 'filteredchangelog', (filteredchangelogmixin, cl.__class__), {} - ) + class filteredchangelog(filteredchangelogmixin, cl.__class__): + pass + + cl.__class__ = filteredchangelog return cl