61 ====== |
61 ====== |
62 |
62 |
63 Text receives color effects depending on the labels that it has. Many |
63 Text receives color effects depending on the labels that it has. Many |
64 default Mercurial commands emit labelled text. You can also define |
64 default Mercurial commands emit labelled text. You can also define |
65 your own labels in templates using the label function, see :hg:`help |
65 your own labels in templates using the label function, see :hg:`help |
66 templates`. A single portion of text may have more than one label. In |
66 templates`. In order to receive effects, labels must have a dot, such |
67 that case, effects given to the last label will override any other |
67 as `log.secret` or `branch.active`. A single portion of text may have |
68 effects. This includes the special "none" effect, which nullifies |
68 more than one label. In that case, effects given to the last label |
69 other effects. |
69 will override any other effects. This includes the special "none" |
|
70 effect, which nullifies other effects. |
70 |
71 |
71 Labels are normally invisible. In order to see these labels and their |
72 Labels are normally invisible. In order to see these labels and their |
72 position in the text, use the global --color=debug option. The same |
73 position in the text, use the global --color=debug option. The same |
73 anchor text may be associated to multiple labels, e.g. |
74 anchor text may be associated to multiple labels, e.g. |
74 |
75 |