topic: add color for the active topic
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Sun, 14 Aug 2016 20:40:46 +0200
changeset 1976 ebdc2a6a9a25
parent 1975 acbbf7f0751e
child 1977 137f8b04901e
topic: add color for the active topic We reuse the same color that the one used for the active bookmark.
hgext3rd/topic/__init__.py
--- a/hgext3rd/topic/__init__.py	Sat Aug 13 00:37:33 2016 +0200
+++ b/hgext3rd/topic/__init__.py	Sun Aug 14 20:40:46 2016 +0200
@@ -44,7 +44,8 @@
 
 cmdtable = {}
 command = cmdutil.command(cmdtable)
-colortable = {'topic.stack.index': 'yellow',
+colortable = {'topic.active': 'green',
+              'topic.stack.index': 'yellow',
               'topic.stack.state.base': 'dim',
               'topic.stack.state.clean': 'green',
               'topic.stack.index.current': 'cyan',       # random pick