##// END OF EJS Templates
color: colorize based on output labels instead of parsing output...
color: colorize based on output labels instead of parsing output By overriding ui.write(), ui.write_err(), ui.popbuffer(), and ui.label(), the color extension can avoid parsing command output and simply colorize output based on labels. As before, the color extension provides a list of default colors for core commands/labels. Other extensions can provide their own defaults by specifying a colortable dict (similar to cmdtable). In this process, --color is promoted to a global option and the deprecated --no-color option is removed.

File last commit:

r9999:f91e5630 default
r10826:717c35d5 default
Show More
shortlogentry.tmpl
5 lines | 323 B | application/x-cheetah | CheetahLexer
<tr class="parity{parity}">
<td class="age">{date|age}</td>
<td class="author">{author|person}</td>
<td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td>
</tr>