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

Boris Feld boris.feld at octobus.net
Sun Oct 1 14:32:27 EDT 2017


# HG changeset patch
# User Boris Feld <boris.feld at 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

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',
 )


More information about the Mercurial-devel mailing list