mercurial/context.py
changeset 23687 8f32dcfbc338
parent 23616 11a160547d7f
child 23688 20932983d520
--- a/mercurial/context.py	Thu Nov 27 10:16:56 2014 -0500
+++ b/mercurial/context.py	Tue Dec 23 17:13:51 2014 -0800
@@ -895,7 +895,7 @@
     def _changectx(self):
         try:
             return changectx(self._repo, self._changeid)
-        except error.RepoLookupError:
+        except error.FilteredRepoLookupError:
             # Linkrev may point to any revision in the repository.  When the
             # repository is filtered this may lead to `filectx` trying to build
             # `changectx` for filtered revision. In such case we fallback to