configitems: register the 'experimental.effect-flags' config
authorBoris Feld <boris.feld@octobus.net>
Sun, 08 Oct 2017 22:22:27 +0200
changeset 34827 96802496ecc0
parent 34826 18a3274ed675
child 34828 46610c851216
configitems: register the 'experimental.effect-flags' config
mercurial/configitems.py
mercurial/obsolete.py
--- a/mercurial/configitems.py	Sun Oct 08 20:37:13 2017 +0200
+++ b/mercurial/configitems.py	Sun Oct 08 22:22:27 2017 +0200
@@ -348,6 +348,9 @@
 coreconfigitem('experimental', 'nonnormalparanoidcheck',
     default=False,
 )
+coreconfigitem('experimental', 'effect-flags',
+    default=False,
+)
 coreconfigitem('experimental', 'stabilization',
     default=list,
     alias=[('experimental', 'evolution')],
--- a/mercurial/obsolete.py	Sun Oct 08 20:37:13 2017 +0200
+++ b/mercurial/obsolete.py	Sun Oct 08 22:22:27 2017 +0200
@@ -1049,8 +1049,7 @@
 
     # Effect flag metadata handling
     saveeffectflag = repo.ui.configbool('experimental',
-                                        'effect-flags',
-                                        False)
+                                        'effect-flags')
 
     tr = repo.transaction('add-obsolescence-marker')
     try: