D3145: context: stop catching RepoLookupError from namespace.singlenode()

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Apr 6 13:11:04 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3198d5a2514e: context: stop catching RepoLookupError from namespace.singlenode() (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3145?vs=7781&id=7785

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

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
@@ -449,10 +449,6 @@
                 return
             except KeyError:
                 pass
-            except error.FilteredRepoLookupError:
-                raise
-            except error.RepoLookupError:
-                pass
 
             self._node = repo.unfiltered().changelog._partialmatch(changeid)
             if self._node is not None:



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


More information about the Mercurial-devel mailing list