D4806: context: stop catching and re-raising FilteredRepoLookupError

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sat Sep 29 21:13:40 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8daa7d3fd38d: context: stop catching and re-raising FilteredRepoLookupError (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4806?vs=11489&id=11496

REVISION DETAIL
  https://phab.mercurial-scm.org/D4806

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -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(



To: martinvonz, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list