changeset 2150:0a95e8518941

stablerange: stop using '.head' in debugstablerange We now access '[0]' as we'll do with the future tuple.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 22 Mar 2017 17:43:18 +0100
parents a2f45d0dd0ed
children 30a949036e1b
files hgext3rd/evolve/obsdiscovery.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/obsdiscovery.py	Wed Mar 22 17:38:28 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py	Wed Mar 22 17:43:18 2017 +0100
@@ -400,7 +400,7 @@
     ranges = stablerange.subrangesclosure(repo, revs)
     ui.status('rev         node index size depth      obshash\n')
     for r in ranges:
-        d = (r.head,
+        d = (r[0],
              s(cl.node(r[0])),
              r.index,
              len(r),