changeset 34827:96802496ecc0

configitems: register the 'experimental.effect-flags' config
author Boris Feld <boris.feld@octobus.net>
date Sun, 08 Oct 2017 22:22:27 +0200
parents 18a3274ed675
children 46610c851216
files mercurial/configitems.py mercurial/obsolete.py
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: