[PATCH 1 of 1] color: add styles for tags

Marc Simpson marc at 0branch.com
Sun Aug 21 14:40:52 CDT 2011


# HG changeset patch
# User Marc Simpson <marc at 0branch.com>
# Date 1313955610 -3600
# Node ID 2f0a3977c9390cef8bbad69ecab4d3e20a9682b8
# Parent  ef43610a4cce7b8810af95fab1591adf821c3669
color: add styles for tags

diff -r ef43610a4cce -r 2f0a3977c939 hgext/color.py
--- a/hgext/color.py	Sat Aug 20 21:47:10 2011 +0100
+++ b/hgext/color.py	Sun Aug 21 20:40:10 2011 +0100
@@ -68,6 +68,9 @@
   branches.current = green
   branches.inactive = none
 
+  tags.normal = green
+  tags.local = black bold
+
 The available effects in terminfo mode are 'blink', 'bold', 'dim',
 'inverse', 'invisible', 'italic', 'standout', and 'underline'; in
 ECMA-48 mode, the options are 'bold', 'inverse', 'italic', and
@@ -257,7 +260,9 @@
            'status.ignored': 'black bold',
            'status.modified': 'blue bold',
            'status.removed': 'red bold',
-           'status.unknown': 'magenta bold underline'}
+           'status.unknown': 'magenta bold underline',
+           'tags.normal': 'green',
+           'tags.local': 'black bold'}
 
 
 def _effect_str(effect):


More information about the Mercurial-devel mailing list