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

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon May 1 10:03:34 EDT 2017


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at 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.

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 at 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


More information about the Mercurial-devel mailing list