##// END OF EJS Templates
color: respect HGPLAIN
Steve Borho -
r10871:3f301907 default
parent child Browse files
Show More
@@ -180,6 +180,8 b' def write_err(orig, *args, **opts):'
180 return orig(*[style(str(a), label) for a in args], **opts)
180 return orig(*[style(str(a), label) for a in args], **opts)
181
181
182 def uisetup(ui):
182 def uisetup(ui):
183 if ui.plain():
184 return
183 global mode
185 global mode
184 mode = ui.config('color', 'mode', 'auto')
186 mode = ui.config('color', 'mode', 'auto')
185 if mode == 'auto':
187 if mode == 'auto':
General Comments 0
You need to be logged in to leave comments. Login now