Patchwork [4,of,5,STABLE] color: reflect the new default in the example hgrc

login
register
mail settings
Submitter Pierre-Yves David
Date May 1, 2017, 2:03 p.m.
Message ID <ead637d0d530879ece15.1493647414@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/20328/
State Accepted
Headers show

Comments

Pierre-Yves David - May 1, 2017, 2:03 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1493645990 -7200
#      Mon May 01 15:39:50 2017 +0200
# Branch stable
# Node ID ead637d0d530879ece15f841966044b1d79a74ba
# Parent  9d22060b2d46a15480b972a41bd6f2de2ef610d7
# 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 ead637d0d530
color: reflect the new default in the example hgrc

Color is enabled by default so un-commenting the line would not have any effect.
We'll point to the help in the next changeset.

Patch

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -51,8 +51,8 @@  samplehgrcs = {
 # username = Jane Doe <jdoe@example.com>
 username =
 
-# uncomment to colorize command output
-# color = auto
+# uncomment to disable color in command output
+# color = never
 
 [extensions]
 # uncomment these lines to enable some popular extensions
@@ -97,8 +97,8 @@  default = %s
 """# example system-wide hg config (see 'hg help config' for more info)
 
 [ui]
-# uncomment to colorize command output
-# color = auto
+# uncomment to disable color in command output
+# color = never
 
 [extensions]
 # uncomment these lines to enable some popular extensions