[PATCH 0 of 1 STABLE V2] color: port to using ctypes

Adrian Buehlmann adrian at cadifra.com
Fri Mar 11 04:51:10 CST 2011

Better tested the error cases this time. I even preserved the warts...



$ hg --version -q
Mercurial Distributed SCM (version 1.8.1+2-8e94a1b4e9a4)
$ hg --config color.mode=win32 log -r 28 -p > foo
win32console not found, please install pywin32

(note: This hg.exe *does* have pywin32 packaged. It's the one shipping with TortoiseHg 2.0.X,
which still depends on pywin32).


$ hg --config color.mode=win32 log -r 28 -p > foo
warning: failed to set color mode to win32

More information about the Mercurial-devel mailing list