equal
deleted
inserted
replaced
44 |
44 |
45 cmdtable = {} |
45 cmdtable = {} |
46 command = cmdutil.command(cmdtable) |
46 command = cmdutil.command(cmdtable) |
47 colortable = {'topic.active': 'green', |
47 colortable = {'topic.active': 'green', |
48 'topic.list.troubledcount': 'red', |
48 'topic.list.troubledcount': 'red', |
|
49 'topic.list.headcount.multiple': 'yellow', |
49 'topic.stack.index': 'yellow', |
50 'topic.stack.index': 'yellow', |
50 'topic.stack.state.base': 'dim', |
51 'topic.stack.state.base': 'dim', |
51 'topic.stack.state.clean': 'green', |
52 'topic.stack.state.clean': 'green', |
52 'topic.stack.index.current': 'cyan', # random pick |
53 'topic.stack.index.current': 'cyan', # random pick |
53 'topic.stack.state.current': 'cyan bold', # random pick |
54 'topic.stack.state.current': 'cyan bold', # random pick |
299 if data['troubledcount']: |
300 if data['troubledcount']: |
300 fm.plain(', ') |
301 fm.plain(', ') |
301 fm.write('troubledcount', '%d troubled', |
302 fm.write('troubledcount', '%d troubled', |
302 data['troubledcount'], |
303 data['troubledcount'], |
303 label='topic.list.troubledcount') |
304 label='topic.list.troubledcount') |
|
305 if 1 < data['headcount']: |
|
306 fm.plain(', ') |
|
307 fm.write('headcount', '%d heads', |
|
308 data['headcount'], |
|
309 label='topic.list.headcount.multiple') |
304 fm.plain(')') |
310 fm.plain(')') |
305 fm.plain('\n') |
311 fm.plain('\n') |
306 fm.end() |
312 fm.end() |
307 |
313 |
308 def summaryhook(ui, repo): |
314 def summaryhook(ui, repo): |