--- a/hgext/color.py Mon Jun 07 18:35:54 2010 +0200
+++ b/hgext/color.py Thu Jun 03 23:18:18 2010 -0500
@@ -108,7 +108,9 @@
'status.ignored': 'black bold',
'status.modified': 'blue bold',
'status.removed': 'red bold',
- 'status.unknown': 'magenta bold underline'}
+ 'status.unknown': 'magenta bold underline',
+ 'ui.labeled': 'none',
+ 'ui.plain': 'none'}
def render_effects(text, effects):
@@ -142,6 +144,8 @@
_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, '')