Mercurial > evolve
changeset 3345:72b1f300800f
stablerange: explicitly create a stablerange entry for branchpoint method
We are about to change the default.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 21 Dec 2017 03:07:14 +0100 |
parents | 4d054737a79c |
children | f4e28b781143 |
files | hgext3rd/evolve/stablerange.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/stablerange.py Mon Dec 18 02:17:29 2017 +0100 +++ b/hgext3rd/evolve/stablerange.py Thu Dec 21 03:07:14 2017 +0100 @@ -77,7 +77,8 @@ return ranges _stablerangemethodmap = { - 'branchpoint': lambda repo: repo.stablerange, + 'branchpoint': lambda repo: stablerange(), + 'default': lambda repo: repo.stablerange, 'basic-branchpoint': lambda repo: stablerangebasic(), 'basic-mergepoint': lambda repo: stablerangedummy_mergepoint(), 'mergepoint': lambda repo: stablerange_mergepoint(),