##// END OF EJS Templates
configitems: register the 'blackbox.logsource' config
marmoute -
r33187:0ef40bb2 default
parent child Browse files
Show More
@@ -67,6 +67,9 b" configitem('blackbox', 'dirty',"
67 67 configitem('blackbox', 'maxsize',
68 68 default='1 MB',
69 69 )
70 configitem('blackbox', 'logsource',
71 default=False,
72 )
70 73
71 74 lastui = None
72 75
@@ -199,7 +202,7 b' def wrapui(ui):'
199 202 any(ctx.sub(s).dirty() for s in ctx.substate)
200 203 )):
201 204 changed = '+'
202 if ui.configbool('blackbox', 'logsource', False):
205 if ui.configbool('blackbox', 'logsource'):
203 206 src = ' [%s]' % event
204 207 else:
205 208 src = ''
General Comments 0
You need to be logged in to leave comments. Login now