# HG changeset patch # User Yuya Nishihara # Date 1534477724 -32400 # Node ID 13a1901176f11825cf21c51d167cd1a0908b1f92 # Parent 8547c8590ac1b49a640d64d1c0878cb5364b3a3b 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. diff -r 8547c8590ac1 -r 13a1901176f1 mercurial/changelog.py --- a/mercurial/changelog.py Fri Aug 17 10:51:05 2018 +0900 +++ b/mercurial/changelog.py Fri Aug 17 12:48:44 2018 +0900 @@ -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)