# HG changeset patch # User Pierre-Yves David # Date 1513822034 -3600 # Node ID 72b1f300800fc4f5c9c4ce7f7bd45e2bf401e68c # Parent 4d054737a79c617c79cfcce82f4f7674c9a403d5 stablerange: explicitly create a stablerange entry for branchpoint method We are about to change the default. diff -r 4d054737a79c -r 72b1f300800f hgext3rd/evolve/stablerange.py --- 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(),