mercurial/changelog.py
changeset 23015 21c44c1aed87
parent 23014 f00813325c5a
child 23088 fe5f044b753d
--- a/mercurial/changelog.py	Wed Oct 15 17:02:44 2014 -0700
+++ b/mercurial/changelog.py	Thu Oct 16 02:05:06 2014 -0700
@@ -190,7 +190,8 @@
         """filtered version of revlog.rev"""
         r = super(changelog, self).rev(node)
         if r in self.filteredrevs:
-            raise error.LookupError(hex(node), self.indexfile, _('no node'))
+            raise error.FilteredLookupError(hex(node), self.indexfile,
+                                            _('filtered node'))
         return r
 
     def node(self, rev):