[PATCH 2 of 5 STABLE] color: reflect the new default in global help topic
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Mon May 1 10:03:32 EDT 2017
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1493645887 -7200
# Mon May 01 15:38:07 2017 +0200
# Branch stable
# Node ID b8c5650883b73517ade1ec4ba01637b320dd88b3
# Parent f9dd22b588e9f0eb475ce522a78c640d35c12310
# 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 b8c5650883b7
color: reflect the new default in global help topic
We point out that color is enabled by default.
diff --git a/mercurial/help/color.txt b/mercurial/help/color.txt
--- a/mercurial/help/color.txt
+++ b/mercurial/help/color.txt
@@ -1,15 +1,20 @@
-Mercurial can colorizes output from several commands.
+Mercurial colorizes output from several commands.
For example, the diff command shows additions in green and deletions
in red, while the status command shows modified files in magenta. Many
other commands have analogous colors. It is possible to customize
these colors.
-To enable color use::
+To enable color (default) use::
[ui]
color = auto
+To disable color use::
+
+ [ui]
+ color = never
+
Mode
====
More information about the Mercurial-devel
mailing list