Color extension in ANSI mode - Hg 1.6

Eduard Stefan alexandrul.ct at gmail.com
Sat Jul 3 05:52:04 CDT 2010


I have a little problem with the color extension:
I'm capturing the commands output with ui.pushbuffer()
& ui.popbuffer(), but the output doesn't contain
any ANSI sequence.

I've set the TERM environment variable, also tried
running "hg.exe diff -r 334 --color always"
- in all cases the captured output has no ANSI codes.

In case of "hg.exe diff -r 334 --color always > a.txt"
the text file does contain the expected ANSI codes.

Has anything changed in ui.pushbuffer()/ui.popbuffer()
behavior in 1.6 version (1.5 worked fine)?

Have a nice day,
  Eduard


More information about the Mercurial-devel mailing list