stablerange: stop using '.index' in '_queryrange'
We now access '[1]' as we'll do with the future tuple.
--- a/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 17:52:08 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 17:52:29 2017 +0100
@@ -323,7 +323,7 @@
def _queryrange(ui, repo, remote, allentries):
mapping = {}
n = repo.changelog.node
- nodeentries = [(n(entry[0]), entry.index, entry) for entry in allentries]
+ nodeentries = [(n(entry[0]), entry[1], entry) for entry in allentries]
def gen():
for enode, eindex, entry in nodeentries: