[PATCH 3 of 5 STABLE] color: point to the config help in global help topic

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


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1493645937 -7200
#      Mon May 01 15:38:57 2017 +0200
# Branch stable
# Node ID 9d22060b2d46a15480b972a41bd6f2de2ef610d7
# Parent  b8c5650883b73517ade1ec4ba01637b320dd88b3
# 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 9d22060b2d46
color: point to the config help in global help topic

We point out at the help of the config option for user who wants to learn more
about the possible config value.

The suggested command returns some other extra (color related) results, but this
is bug to fix outside of the freeze.

diff --git a/mercurial/help/color.txt b/mercurial/help/color.txt
--- a/mercurial/help/color.txt
+++ b/mercurial/help/color.txt
@@ -15,6 +15,8 @@ To disable color use::
   [ui]
   color = never
 
+See :hg:`help config.ui.color` for details.
+
 Mode
 ====
 


More information about the Mercurial-devel mailing list