diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -435,7 +435,7 @@ return except error.FilteredLookupError: raise - except (TypeError, LookupError): + except LookupError: pass else: raise error.ProgrammingError(