Mercurial > hg
comparison mercurial/help/config.txt @ 27216:8117e2cd959e
graphlog: make node symbol templatable by ui.graphnodetemplate option
New ui.graphnodetemplate option allows us to colorize a node symbol by phase
or branch,
[ui]
graphnodetemplate = {label('graphnode.{phase}', graphnode)}
[color]
graphnode.draft = yellow bold
or use a variety of unicode emoji characters, and so on. (You'll need less-481
to display non-BMP unicode character.)
[ui]
graphnodetemplate = {ifeq(obsolete, 'stable', graphnode, '\xf0\x9f\x92\xa9')}
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 14 Nov 2015 17:25:43 +0900 |
parents | 41d3e307a7c1 |
children | b288fb2724bf |
comparison
equal
deleted
inserted
replaced
27215:5b8da5643a8a | 27216:8117e2cd959e |
---|---|
1452 | 1452 |
1453 ``fallbackencoding`` | 1453 ``fallbackencoding`` |
1454 Encoding to try if it's not possible to decode the changelog using | 1454 Encoding to try if it's not possible to decode the changelog using |
1455 UTF-8. (default: ISO-8859-1) | 1455 UTF-8. (default: ISO-8859-1) |
1456 | 1456 |
1457 ``graphnodetemplate`` | |
1458 The template used to print changeset nodes in an ASCII revision graph. | |
1459 (default: ``{graphnode}``) | |
1460 | |
1457 ``ignore`` | 1461 ``ignore`` |
1458 A file to read per-user ignore patterns from. This file should be | 1462 A file to read per-user ignore patterns from. This file should be |
1459 in the same format as a repository-wide .hgignore file. Filenames | 1463 in the same format as a repository-wide .hgignore file. Filenames |
1460 are relative to the repository root. This option supports hook syntax, | 1464 are relative to the repository root. This option supports hook syntax, |
1461 so if you want to specify multiple ignore files, you can do so by | 1465 so if you want to specify multiple ignore files, you can do so by |