Patchwork [3,of,4] configitems: register the 'profiling.showmin' config

login
register
mail settings
Submitter Boris Feld
Date Oct. 1, 2017, 6:32 p.m.
Message ID <dcee30ee38b6865c13b0.1506882747@FB>
Download mbox | patch
Permalink /patch/24369/
State Accepted
Headers show

Comments

Boris Feld - Oct. 1, 2017, 6:32 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1498787037 -7200
#      Fri Jun 30 03:43:57 2017 +0200
# Node ID dcee30ee38b6865c13b03bcbe4e817341dca1a15
# Parent  5e5cd4ac398ab2d3c5c964adbf639cc5590fe7c1
# EXP-Topic config.register.profiling
configitems: register the 'profiling.showmin' config

Patch

diff -r 5e5cd4ac398a -r dcee30ee38b6 mercurial/configitems.py
--- a/mercurial/configitems.py	Fri Jun 30 03:43:56 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:43:57 2017 +0200
@@ -341,6 +341,9 @@ 
 coreconfigitem('profiling', 'showmax',
     default=0.999,
 )
+coreconfigitem('profiling', 'showmin',
+    default=dynamicdefault,
+)
 coreconfigitem('profiling', 'sort',
     default='inlinetime',
 )