Mercurial > evolve
changeset 2151:30a949036e1b
stablerange: stop using '.head' in rangelength
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:36 +0100 |
parents | 0a95e8518941 |
children | c00fb215cd80 |
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:18 2017 +0100 +++ b/hgext3rd/evolve/stablerange.py Wed Mar 22 17:43:36 2017 +0100 @@ -239,7 +239,7 @@ return revdepth def rangelength(self, repo, rangeid): - headrev, index = rangeid.head, rangeid.index + headrev, index = rangeid[0], rangeid.index return self.depthrev(repo, headrev) - index def subranges(self, repo, rangeid):