marmoute created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D7327 AFFECTED FILES mercurial/localrepo.py CHANGE DETAILS diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1823,11 +1823,11 @@ def known(self, nodes): cl = self.changelog - nm = cl.nodemap + get_rev = cl.index.get_rev filtered = cl.filteredrevs result = [] for n in nodes: - r = nm.get(n) + r = get_rev(n) resp = not (r is None or r in filtered) result.append(resp) return result To: marmoute, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel