> + cl.__class__ = type('filteredchangelog', > + (filteredchangelogmixin, cl.__class__), > + {})
Nit: maybe this can be just `class filteredchangelog(...): pass` since we don't name the type dynamically. And we might need a class cache like _filteredrepotypes to work around leaks of dynamically-created types. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel