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.
--- 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