hgext3rd/topic/__init__.py
changeset 1908 dbd6d51e63f1
parent 1907 95874e8fc5f2
child 1909 36112e361ee4
equal deleted inserted replaced
1907:95874e8fc5f2 1908:dbd6d51e63f1
    43 from . import topicmap
    43 from . import topicmap
    44 from . import discovery
    44 from . import discovery
    45 
    45 
    46 cmdtable = {}
    46 cmdtable = {}
    47 command = cmdutil.command(cmdtable)
    47 command = cmdutil.command(cmdtable)
       
    48 colortable = {'topic.stack.index': 'yellow',
       
    49               'topic.stack.state.clean': 'dim',
       
    50               'topic.stack.index.current': 'cyan', # random pick
       
    51               'topic.stack.state.current': 'cyan bold', # random pick
       
    52               'topic.stack.desc.current': 'cyan', # random pick
       
    53               'topic.stack.state.unstable': 'red',
       
    54              }
    48 
    55 
    49 testedwith = '3.7'
    56 testedwith = '3.7'
    50 
    57 
    51 def _contexttopic(self):
    58 def _contexttopic(self):
    52     return self.extra().get(constants.extrakey, '')
    59     return self.extra().get(constants.extrakey, '')