changeset 16139:461a59e2765a

doc: minor fixes to [graph] section documentation
author Patrick Mezard <patrick@mezard.eu>
date Sat, 18 Feb 2012 12:30:24 +0100
parents 6e4de55a41a4
children dbf64594a3c3
files mercurial/help/config.txt
diffstat 1 files changed, 16 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/config.txt	Sun Jan 22 19:35:26 2012 +0700
+++ b/mercurial/help/config.txt	Sat Feb 18 12:30:24 2012 +0100
@@ -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::
+
+    <branch>.<argument> = <value>
 
-Example::
-  [graph]
-  # 2px width
-  default.width = 2
-  # red color
-  default.color = FF0000
+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``
 """"""""""""""""""