# HG changeset patch # User Pierre-Yves David # Date 1490201528 -3600 # Node ID e3b75a5d6b38684050056129ed63792137b4a32d # Parent e57f28fafe4144c4a427b079a771e643eb92d27b stablerange: stop using '.index' in debugstablerange We now access '[1]' as we'll do with the future tuple. diff -r e57f28fafe41 -r e3b75a5d6b38 hgext3rd/evolve/obsdiscovery.py --- a/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 17:48:39 2017 +0100 +++ b/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 17:52:08 2017 +0100 @@ -402,7 +402,7 @@ for r in ranges: d = (r[0], s(cl.node(r[0])), - r.index, + r[1], len(r), r.depth, node.short(_obshashrange(repo, r)))