Mercurial > public > mercurial-scm > hg
diff hgext/color.py @ 11310:ac873ecfc3c2
Backed out changeset: e1dde7363601
author | Steve Borho <steve@borho.org> |
---|---|
date | Tue, 08 Jun 2010 15:52:41 -0500 |
parents | e1dde7363601 |
children | 40c06bbf58be |
line wrap: on
line diff
--- a/hgext/color.py Thu Jun 03 23:18:18 2010 -0500 +++ b/hgext/color.py Tue Jun 08 15:52:41 2010 -0500 @@ -108,9 +108,7 @@ 'status.ignored': 'black bold', 'status.modified': 'blue bold', 'status.removed': 'red bold', - 'status.unknown': 'magenta bold underline', - 'ui.labeled': 'none', - 'ui.plain': 'none'} + 'status.unknown': 'magenta bold underline'} def render_effects(text, effects): @@ -144,8 +142,6 @@ _buffers = None def style(msg, label): - if label in ('ui.plain', 'ui.labeled'): - return msg effects = [] for l in label.split(): s = _styles.get(l, '')