Mercurial > hg
changeset 47154:4532166a50b1
revlog: use revlog.display_id for FilteredLookupError
Differential Revision: https://phab.mercurial-scm.org/D10580
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:23:17 +0200 |
parents | fbf38517d17d |
children | 96ee8ca99f5a |
files | mercurial/repoview.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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