changeset 33143:59c135bb31bc

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 18 Jun 2017 20:49:08 +0200
parents 0a638f37f2d2
children 99ce2f586cd4
files hgext/blackbox.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/blackbox.py	Sat Jun 17 13:21:06 2017 +0200
+++ b/hgext/blackbox.py	Sun Jun 18 20:49:08 2017 +0200
@@ -62,7 +62,7 @@
 configitem = registrar.configitem(configtable)
 
 configitem('blackbox', 'maxsize',
-    default=1048576,
+    default='1 MB',
 )
 
 lastui = None