diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -449,9 +449,9 @@ return except KeyError: pass - except error.FilteredRepoLookupError: + except error.FilteredLookupError: raise - except error.RepoLookupError: + except error.LookupError: pass self._node = repo.unfiltered().changelog._partialmatch(changeid)