Mercurial > public > mercurial-scm > hg
diff mercurial/help/config.txt @ 16129:5e50982c633c
graph: in hgrc specify line width for main branch
You can specify width to visually distinguish main branch (trunk)
on hgweb's graph page. Settings format is branch_name.width = value,
where width in px e.g.:
[graph]
default.width = 3
author | Constantine Linnick <theaspect@gmail.com> |
---|---|
date | Sun, 22 Jan 2012 19:35:26 +0700 |
parents | 591f258ae630 |
children | 33f702e52906 |
line wrap: on
line diff
--- a/mercurial/help/config.txt Thu Feb 16 16:40:29 2012 -0600 +++ b/mercurial/help/config.txt Sun Jan 22 19:35:26 2012 +0700 @@ -534,6 +534,27 @@ option ensures that the on-disk format of newly created repositories will be compatible with Mercurial before version 1.7. +``graph`` +""""""""" + +This section specifies line width to visually distinguish +"main branch" or trunk in central repository graph. + +Format branch_name.attribute = value. + +Example:: + [graph] + # 2px width + default.width = 2 + +Supported arguments: + +``width`` + Set width in px. Width is number 0-99. + +Known issues: + If line style doesn't change, try to clear browser cache. + ``merge-patterns`` """"""""""""""""""