comparison hgext/blackbox.py @ 33136: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 1df74b71396d
comparison
equal deleted inserted replaced
33135:0a638f37f2d2 33136:59c135bb31bc
60 60
61 configtable = {} 61 configtable = {}
62 configitem = registrar.configitem(configtable) 62 configitem = registrar.configitem(configtable)
63 63
64 configitem('blackbox', 'maxsize', 64 configitem('blackbox', 'maxsize',
65 default=1048576, 65 default='1 MB',
66 ) 66 )
67 67
68 lastui = None 68 lastui = None
69 69
70 filehandles = {} 70 filehandles = {}