diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -410,7 +410,7 @@ self._node = changeid self._rev = repo.changelog.rev(changeid) return - except error.FilteredRepoLookupError: + except error.FilteredLookupError: raise except LookupError: pass