Mercurial > evolve
changeset 2171:3be48332b802
stablerange: use depthrevs in debugstablerange
We stop using the property from the class to get us closer to tuple.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 22 Mar 2017 18:53:25 +0100 |
parents | f8d3d965552e |
children | e2394b33ae51 |
files | hgext3rd/evolve/obsdiscovery.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 18:41:26 2017 +0100 +++ b/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 18:53:25 2017 +0100 @@ -399,6 +399,7 @@ repo.stablerange.warmup(repo, revs) cl = repo.changelog rangelength = repo.stablerange.rangelength + depthrev = repo.stablerange.depthrev ranges = stablerange.subrangesclosure(repo, revs) ui.status('rev node index size depth obshash\n') for r in ranges: @@ -406,7 +407,7 @@ s(cl.node(r[0])), r[1], rangelength(repo, r), - r.depth, + depthrev(repo, r[0]), node.short(_obshashrange(repo, r))) ui.status('%3d %s %5d %4d %5d %s\n' % d)