comparison 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
comparison
equal deleted inserted replaced
16129:5e50982c633c 16130:33f702e52906
535 repositories will be compatible with Mercurial before version 1.7. 535 repositories will be compatible with Mercurial before version 1.7.
536 536
537 ``graph`` 537 ``graph``
538 """"""""" 538 """""""""
539 539
540 This section specifies line width to visually distinguish 540 This section specifies line width and color to visually distinguish
541 "main branch" or trunk in central repository graph. 541 "main branch" or trunk in central repository graph.
542 542
543 Format branch_name.attribute = value. 543 Format branch_name.attribute = value.
544 544
545 Example:: 545 Example::
546 [graph] 546 [graph]
547 # 2px width 547 # 2px width
548 default.width = 2 548 default.width = 2
549 # red color
550 default.color = FF0000
549 551
550 Supported arguments: 552 Supported arguments:
551 553
552 ``width`` 554 ``width``
553 Set width in px. Width is number 0-99. 555 Set width in px. Width is number 0-99.
556
557 ``color``
558 Color is six hexadecimal digits RRGGBB.
554 559
555 Known issues: 560 Known issues:
556 If line style doesn't change, try to clear browser cache. 561 If line style doesn't change, try to clear browser cache.
557 562
558 ``merge-patterns`` 563 ``merge-patterns``