diff mercurial/help/config.txt @ 16130:33f702e52906

graph: in hgrc specify line color for main branch You can specify color to visually distinguish main branch (trunk) on hgweb's graph page. If color specified, all branch heads will share same color. Settings format is branch_name.color = value, where color is six hexadecimal digits e.g.: [graph] default.color = FF0000
author Constantine Linnick <theaspect@gmail.com>
date Sun, 22 Jan 2012 19:47:03 +0700
parents 5e50982c633c
children 461a59e2765a
line wrap: on
line diff
--- a/mercurial/help/config.txt	Sun Jan 22 19:35:26 2012 +0700
+++ b/mercurial/help/config.txt	Sun Jan 22 19:47:03 2012 +0700
@@ -537,7 +537,7 @@
 ``graph``
 """""""""
 
-This section specifies line width to visually distinguish 
+This section specifies line width and color to visually distinguish 
 "main branch" or trunk in central repository graph.
 
 Format branch_name.attribute = value.
@@ -546,12 +546,17 @@
   [graph]
   # 2px width
   default.width = 2
+  # red color
+  default.color = FF0000
 
 Supported arguments:
 
 ``width``
   Set width in px. Width is number 0-99.
 
+``color``
+  Color is six hexadecimal digits RRGGBB.
+
 Known issues:
   If line style doesn't change, try to clear browser cache.