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

login
register
mail settings
Submitter phabricator
Date April 6, 2018, 5:11 p.m.
Message ID <cd3cfe791842878a5c3644ee560ec67a@localhost.localdomain>
Download mbox | patch
Permalink /patch/30442/
State Not Applicable
Headers show

Comments

phabricator - April 6, 2018, 5:11 p.m.
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




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

Patch

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: