changelog: drop unnecessary override of "hasnode"
revlog.hasnode() calls self.rev(node) that takes filtering into account.
--- a/mercurial/changelog.py Thu May 07 14:19:20 2015 -0500
+++ b/mercurial/changelog.py Sun May 10 11:39:01 2015 -0500
@@ -172,14 +172,6 @@
self.rev(self.node(0))
return self._nodecache
- def hasnode(self, node):
- """filtered version of revlog.hasnode"""
- try:
- i = self.rev(node)
- return i not in self.filteredrevs
- except KeyError:
- return False
-
def headrevs(self):
if self.filteredrevs:
try: