# HG changeset patch # User Pierre-Yves David # Date 1490201050 -3600 # Node ID c00fb215cd80327938746de9bff7c88d2ad22f5d # Parent 30a949036e1b621e06970fa4506bcd97d4131d1d stablerange: stop using '.head' in '_slicepoint' We now access '[0]' as we'll do with the future tuple. diff -r 30a949036e1b -r c00fb215cd80 hgext3rd/evolve/stablerange.py --- 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: