changeset 2337:c0ed4adf965e

obshistory: add some color
author Boris Feld <boris.feld@octobus.net>
date Tue, 09 May 2017 17:43:39 +0200
parents 93a37e13424f
children f62ce1bbd05b
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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