diff -r fbf38517d17d -r 4532166a50b1 mercurial/repoview.py --- a/mercurial/repoview.py Mon May 03 12:23:07 2021 +0200 +++ b/mercurial/repoview.py Mon May 03 12:23:17 2021 +0200 @@ -333,7 +333,7 @@ r = super(filteredchangelogmixin, self).rev(node) if r in self.filteredrevs: raise error.FilteredLookupError( - hex(node), self._indexfile, _(b'filtered node') + hex(node), self.display_id, _(b'filtered node') ) return r