Mercurial > evolve
changeset 2152:c00fb215cd80
stablerange: stop using '.head' in '_slicepoint'
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:44:10 +0100 |
parents | 30a949036e1b |
children | 7c5149a129d2 |
files | hgext3rd/evolve/stablerange.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/stablerange.py Wed Mar 22 17:43:36 2017 +0100 +++ b/hgext3rd/evolve/stablerange.py Wed Mar 22 17:44:10 2017 +0100 @@ -255,7 +255,7 @@ return value def _slicepoint(self, repo, rangeid): - rangedepth = self.depthrev(repo, rangeid.head) + rangedepth = self.depthrev(repo, rangeid[0]) step = _hlp2(rangedepth) standard_start = 0 while standard_start < rangeid.index and 0 < step: