[issue3289] Color extension does not work on Windows with a shell other than cmd.exe

jmb bugs at mercurial.selenic.com
Tue Feb 28 09:17:27 UTC 2012


New submission from jmb <jeberger at free.fr>:

When using zsh in Console2 on Windows, the colour extension tries to output
ANSI colour codes instead of using the win32 API. When forcing
color.mode=win32, it works but I get a warning ("warning: failed to set
color mode to win32") if I try to send the output of hg through a pipe.

I've currently worked around the issue by forcing color.mode=win32 and
commenting out the warning in hgext/color.py:179

----------
messages: 19194
nosy: jmb
priority: bug
status: unread
title: Color extension does not work on Windows with a shell other than cmd.exe

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3289>
____________________________________________________



More information about the Mercurial-devel mailing list