comparison mercurial/help/config.txt @ 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 33f702e52906
children dbf64594a3c3
comparison
equal deleted inserted replaced
16138:6e4de55a41a4 16139:461a59e2765a
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 and color to visually distinguish 540 Web graph view configuration. This section let you change graph
541 "main branch" or trunk in central repository graph. 541 elements display properties by branches, for instance to make the
542 542 ``default`` branch stand out.
543 Format branch_name.attribute = value. 543
544 544 Each line has the following format::
545 Example:: 545
546 [graph] 546 <branch>.<argument> = <value>
547 # 2px width 547
548 default.width = 2 548 where ``<branch>`` is the name of the branch being
549 # red color 549 customized. Example::
550 default.color = FF0000 550
551 [graph]
552 # 2px width
553 default.width = 2
554 # red color
555 default.color = FF0000
551 556
552 Supported arguments: 557 Supported arguments:
553 558
554 ``width`` 559 ``width``
555 Set width in px. Width is number 0-99. 560 Set branch edges width in pixels.
556 561
557 ``color`` 562 ``color``
558 Color is six hexadecimal digits RRGGBB. 563 Set branch edges color in hexadecimal RGB notation.
559
560 Known issues:
561 If line style doesn't change, try to clear browser cache.
562 564
563 ``merge-patterns`` 565 ``merge-patterns``
564 """""""""""""""""" 566 """"""""""""""""""
565 567
566 This section specifies merge tools to associate with particular file 568 This section specifies merge tools to associate with particular file