[PATCH 3 of 3] color: also enable by default on windowso

Josef 'Jeff' Sipek jeffpc at josefsipek.net
Mon Apr 17 22:19:37 EDT 2017


On Sun, Apr 16, 2017 at 02:55:27 +0200, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
> # Date 1492302848 -7200
> #      Sun Apr 16 02:34:08 2017 +0200
> # Node ID 9d4f7de0a25c91103f6419c4675bcb21ad7c5098
> # Parent  7ec1415a4de91a5c56e549cd4a40cb8e9411f8d9
> # EXP-Topic color
> # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
> #              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 9d4f7de0a25c
> color: also enable by default on windowso

Typo in "windows".

Jeff.

> 
> I've not found anything related to color + windows on the bug tracker. So I'm
> suggesting we get bolder and turn it on for windows too in the release
> candidate. We can always backout that changeset if we find serious issue on
> windows.
> 
> diff --git a/mercurial/color.py b/mercurial/color.py
> --- a/mercurial/color.py
> +++ b/mercurial/color.py
> @@ -45,7 +45,7 @@ except ImportError:
>      curses = None
>      _baseterminfoparams = {}
>  
> -_enabledbydefault = pycompat.osname != 'nt'
> +_enabledbydefault = True
>  
>  # start and stop parameters for effects
>  _effects = {
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

-- 
I think there is a world market for maybe five computers.
		- Thomas Watson, chairman of IBM, 1943.


More information about the Mercurial-devel mailing list