mercurial/changelog.py
changeset 18587 cbf5f3eb9d13
parent 18379 e0c4f4ba624c
child 19898 3f92e749d381
equal deleted inserted replaced
18586:40f9472f5737 18587:cbf5f3eb9d13
   181 
   181 
   182     def rev(self, node):
   182     def rev(self, node):
   183         """filtered version of revlog.rev"""
   183         """filtered version of revlog.rev"""
   184         r = super(changelog, self).rev(node)
   184         r = super(changelog, self).rev(node)
   185         if r in self.filteredrevs:
   185         if r in self.filteredrevs:
   186             raise error.LookupError(node, self.indexfile, _('no node'))
   186             raise error.LookupError(hex(node), self.indexfile, _('no node'))
   187         return r
   187         return r
   188 
   188 
   189     def node(self, rev):
   189     def node(self, rev):
   190         """filtered version of revlog.node"""
   190         """filtered version of revlog.node"""
   191         if rev in self.filteredrevs:
   191         if rev in self.filteredrevs: