##// END OF EJS Templates
changelog: drop unnecessary override of "hasnode"...
Yuya Nishihara -
r24961:8d81b36f default
parent child Browse files
Show More
@@ -172,14 +172,6 b' class changelog(revlog.revlog):'
172 self.rev(self.node(0))
172 self.rev(self.node(0))
173 return self._nodecache
173 return self._nodecache
174
174
175 def hasnode(self, node):
176 """filtered version of revlog.hasnode"""
177 try:
178 i = self.rev(node)
179 return i not in self.filteredrevs
180 except KeyError:
181 return False
182
183 def headrevs(self):
175 def headrevs(self):
184 if self.filteredrevs:
176 if self.filteredrevs:
185 try:
177 try:
General Comments 0
You need to be logged in to leave comments. Login now