diff --git a/mercurial/repoview.py b/mercurial/repoview.py --- a/mercurial/repoview.py +++ b/mercurial/repoview.py @@ -220,6 +220,12 @@ def wrapchangelog(unfichangelog, filteredrevs): cl = copy.copy(unfichangelog) cl.filteredrevs = filteredrevs + + class filteredchangelog(cl.__class__): + pass + + cl.__class__ = filteredchangelog + return cl class repoview(object):