# HG changeset patch # User Pierre-Yves David # Date 2017-06-18 18:49:08 # Node ID 59c135bb31bcb3ac7f805eb6b35bf28149897703 # Parent 0a638f37f2d23599b1a84e264184cd5479c91dec blackbox: use a human readable version of the default Now that the default value is also converted we can use a human readable version for it. This will be useful if we start to automatically display the default config value in various place. diff --git a/hgext/blackbox.py b/hgext/blackbox.py --- a/hgext/blackbox.py +++ b/hgext/blackbox.py @@ -62,7 +62,7 @@ configtable = {} configitem = registrar.configitem(configtable) configitem('blackbox', 'maxsize', - default=1048576, + default='1 MB', ) lastui = None