# HG changeset patch # User Boris Feld # Date 2017-10-19 15:50:20 # Node ID cc977ec0b8b9302bd6ad8e3eeacabb2776161492 # Parent ec765a71bd653af0220bf67c450bb7470dc0903c config: also gather effect-flags on experimental.evolution Effect-flags config was in flight while the previous evolve config renaming was written. Now that both landed, gather effect-flags in experimental.evolution like the others evolve-related configurations. Differential Revision: https://phab.mercurial-scm.org/D1197 diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -369,6 +369,10 @@ coreconfigitem('experimental', 'evolutio coreconfigitem('experimental', 'evolution.createmarkers', default=None, ) +coreconfigitem('experimental', 'evolution.effect-flags', + default=False, + alias=[('experimental', 'effect-flags')] +) coreconfigitem('experimental', 'evolution.exchange', default=None, ) @@ -387,9 +391,6 @@ coreconfigitem('experimental', 'mmapinde coreconfigitem('experimental', 'nonnormalparanoidcheck', default=False, ) -coreconfigitem('experimental', 'effect-flags', - default=False, -) coreconfigitem('experimental', 'exportableenviron', default=list, ) diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py --- a/mercurial/obsolete.py +++ b/mercurial/obsolete.py @@ -1077,7 +1077,7 @@ def createmarkers(repo, relations, flag= # Effect flag metadata handling saveeffectflag = repo.ui.configbool('experimental', - 'effect-flags') + 'evolution.effect-flags') tr = repo.transaction('add-obsolescence-marker') try: diff --git a/tests/test-obsmarkers-effectflag.t b/tests/test-obsmarkers-effectflag.t --- a/tests/test-obsmarkers-effectflag.t +++ b/tests/test-obsmarkers-effectflag.t @@ -13,7 +13,7 @@ Global setup > rebase = > [experimental] > evolution = all - > effect-flags = 1 + > evolution.effect-flags = 1 > EOF $ hg init $TESTTMP/effect-flags