context: stop catching and re-raising FilteredRepoLookupError
FilteredRepoLookupError is only raised by changectx's constructor and
the higher-level scmutil.revsymbol(), so there's no need to catch it
in changectx's constructor.
Differential Revision: https://phab.mercurial-scm.org/D4806
--- a/mercurial/context.py Fri Sep 28 22:18:45 2018 -0400
+++ b/mercurial/context.py Thu Sep 27 09:56:13 2018 -0700
@@ -445,8 +445,6 @@
except (error.FilteredIndexError, error.FilteredLookupError):
raise error.FilteredRepoLookupError(_("filtered revision '%s'")
% pycompat.bytestr(changeid))
- except error.FilteredRepoLookupError:
- raise
except IndexError:
pass
raise error.RepoLookupError(