# HG changeset patch # User Pierre-Yves David # Date 1457983341 0 # Node ID dbd6d51e63f1842bce3f6e188135493a0fbfe624 # Parent 95874e8fc5f2a491fbc3c303829ac6c85c33f295 stack: add some default color configuration We can make the output more insightful with some default colors, let's do it. diff -r 95874e8fc5f2 -r dbd6d51e63f1 hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Mon Mar 14 19:03:32 2016 +0000 +++ b/hgext3rd/topic/__init__.py Mon Mar 14 19:22:21 2016 +0000 @@ -45,6 +45,13 @@ cmdtable = {} command = cmdutil.command(cmdtable) +colortable = {'topic.stack.index': 'yellow', + 'topic.stack.state.clean': 'dim', + 'topic.stack.index.current': 'cyan', # random pick + 'topic.stack.state.current': 'cyan bold', # random pick + 'topic.stack.desc.current': 'cyan', # random pick + 'topic.stack.state.unstable': 'red', + } testedwith = '3.7'