Show More
@@ -275,8 +275,8 b' def _modesetup(ui, coloropt):' | |||||
275 |
|
275 | |||
276 | def modewarn(): |
|
276 | def modewarn(): | |
277 | # only warn if color.mode was explicitly set and we're in |
|
277 | # only warn if color.mode was explicitly set and we're in | |
278 |
# a |
|
278 | # a formatted terminal | |
279 |
if mode == realmode and ui. |
|
279 | if mode == realmode and ui.formatted(): | |
280 | ui.warn(_('warning: failed to set color mode to %s\n') % mode) |
|
280 | ui.warn(_('warning: failed to set color mode to %s\n') % mode) | |
281 |
|
281 | |||
282 | if realmode == 'win32': |
|
282 | if realmode == 'win32': |
General Comments 0
You need to be logged in to leave comments.
Login now