# HG changeset patch # User Boris Feld # Date 2017-10-08 20:22:27 # Node ID 96802496ecc0e244a2fb98279df44649207ccdfd # Parent 18a3274ed675b78a680b0ca3ab4e22a2b6c66f70 configitems: register the 'experimental.effect-flags' config diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -348,6 +348,9 @@ coreconfigitem('experimental', 'mmapinde coreconfigitem('experimental', 'nonnormalparanoidcheck', default=False, ) +coreconfigitem('experimental', 'effect-flags', + default=False, +) coreconfigitem('experimental', 'stabilization', default=list, alias=[('experimental', 'evolution')], diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py --- a/mercurial/obsolete.py +++ b/mercurial/obsolete.py @@ -1049,8 +1049,7 @@ def createmarkers(repo, relations, flag= # Effect flag metadata handling saveeffectflag = repo.ui.configbool('experimental', - 'effect-flags', - False) + 'effect-flags') tr = repo.transaction('add-obsolescence-marker') try: