Skip to content
Snippets Groups Projects
Commit 13a19011 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

changelog: remove copy of revlog.nodemap()

It's been there since 2012, "clfilter: introduce `filteredrevs` attribute
on changelog." I don't think we can apply changelog filtering to nodemap at
this level, so this patch removes the nodemap stub completely.
parent 8547c859
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,6 @@
error,
pycompat,
revlog,
util,
)
from .utils import (
dateutil,
......@@ -344,12 +343,6 @@
if i not in self.filteredrevs:
yield i
@util.propertycache
def nodemap(self):
# XXX need filtering too
self.rev(self.node(0))
return self._nodecache
def reachableroots(self, minroot, heads, roots, includepath=False):
return self.index.reachableroots2(minroot, heads, roots, includepath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment