[PATCH 3 of 3] doc: minor fixes to [graph] section documentation

Patrick Mezard patrick at mezard.eu
Sat Feb 18 11:35:08 UTC 2012


# HG changeset patch
# User Patrick Mezard <patrick at mezard.eu>
# Date 1329564624 -3600
# Node ID 0b0fc46b21362eff497b77bcfe64128b45221df2
# Parent  920b6ea5b9193e786cad23435cf01a77951b6864
doc: minor fixes to [graph] section documentation

diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -537,28 +537,30 @@
 ``graph``
 """""""""
 
-This section specifies line width and color to visually distinguish 
-"main branch" or trunk in central repository graph.
+Web graph view configuration. This section let you change graph
+elements display properties by branches, for instance to make the
+``default`` branch stand out.
 
-Format branch_name.attribute = value.
+Each line has the following format::
 
-Example::
-  [graph]
-  # 2px width
-  default.width = 2
-  # red color
-  default.color = FF0000
+    <branch>.<argument> = <value>
+
+where ``<branch>`` is the name of the branch being
+customized. Example::
+
+    [graph]
+    # 2px width
+    default.width = 2
+    # red color
+    default.color = FF0000
 
 Supported arguments:
 
 ``width``
-  Set width in px. Width is number 0-99.
+    Set branch edges width in pixels.
 
 ``color``
-  Color is six hexadecimal digits RRGGBB.
-
-Known issues:
-  If line style doesn't change, try to clear browser cache.
+    Set branch edges color in hexadecimal RGB notation.
 
 ``merge-patterns``
 """"""""""""""""""



More information about the Mercurial-devel mailing list