D1774: repoview: use named attributes on revlog index entries
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sat Jan 6 08:26:31 UTC 2018
indygreg updated this revision to Diff 4740.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1774?vs=4635&id=4740
REVISION DETAIL
https://phab.mercurial-scm.org/D1774
AFFECTED FILES
mercurial/repoview.py
CHANGE DETAILS
diff --git a/mercurial/repoview.py b/mercurial/repoview.py
--- a/mercurial/repoview.py
+++ b/mercurial/repoview.py
@@ -217,7 +217,7 @@
# bypass call to changelog.method
unfiindex = unfichangelog.index
unfilen = len(unfiindex) - 1
- unfinode = unfiindex[unfilen - 1][7]
+ unfinode = unfiindex[unfilen - 1].node
revs = filterrevs(unfi, self.filtername, self._visibilityexceptions)
cl = self._clcache
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list