Mercurial > hg
changeset 15048:2f0a3977c939
color: add styles for tags
author | Marc Simpson <marc@0branch.com> |
---|---|
date | Sun, 21 Aug 2011 20:40:10 +0100 |
parents | ef43610a4cce |
children | 79a861b8f553 |
files | hgext/color.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):