obshistory: add some color
authorBoris Feld <boris.feld@octobus.net>
Tue, 09 May 2017 17:43:39 +0200
changeset 2337 c0ed4adf965e
parent 2336 93a37e13424f
child 2338 f62ce1bbd05b
obshistory: add some color
hgext3rd/evolve/__init__.py
--- a/hgext3rd/evolve/__init__.py	Wed May 10 12:26:33 2017 +0200
+++ b/hgext3rd/evolve/__init__.py	Tue May 09 17:43:39 2017 +0200
@@ -162,6 +162,15 @@
 
 obsexcmsg = utility.obsexcmsg
 
+colortable = {'evolve.short_node': 'yellow',
+              'evolve.user': 'green',
+              'evolve.rev': 'blue',
+              'evolve.short_description': '',
+              'evolve.date': 'cyan',
+              'evolve.current_rev': 'bold',
+              'evolve.verb': '',
+              }
+
 _pack = struct.pack
 _unpack = struct.unpack