[PATCH 2 of 2 stable] color: set _colormode to None when mode is unset (issue3895)

Simon H. simohe at besonet.ch
Wed Apr 24 17:25:52 CDT 2013


I am terrible sorry for having broken this.
Thank you very much for fixing it, especially for having reacted this 
quickly. And for the tests which prevent breaking again.

Greetings,
simohe

On 2013-04-20 01:58, Siddharth Agarwal wrote:
> # HG changeset patch
> # User Siddharth Agarwal <sid0 at fb.com>
> # Date 1366415830 25200
> #      Fri Apr 19 16:57:10 2013 -0700
> # Branch stable
> # Node ID a8b636b0dc16463b9845911f7c310ce6ebb6c402
> # Parent  f1a1080137afc080daae6f0cbfa255e1409a7ebb
> color: set _colormode to None when mode is unset (issue3895)
>
> Previously, colorui assumed that it would only be called when mode wasn't
> None. 7ae12ce87594 changed that, so now colorui needs to care about whether it
> should colorize output.
>
(snip)


More information about the Mercurial-devel mailing list