templates and the log --debug output the extra fields

Uwe Brauer oub at mat.ucm.es
Tue Jan 5 12:58:23 UTC 2021


>>> "YN" == Yuya Nishihara <yuya at tcha.org> writes:

> On Tue, 05 Jan 2021 09:22:41 +0100, Uwe Brauer wrote:
>> >>> "CO" == Craig Ozancin <c.ozancin at gmail.com> writes:
>> 
>> 
>> > If you want it with color:
>> > etopic = '{if(topics, label('log.topic', 'extra:       topic={topics}\n'))}'
>> 
>> thanks, but it only works for and active topic.

> If you want to see the underlying topic data, you can use {extras.topic}.


Ah this is even more convenient for me than Steve solution. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210105/5445f3e2/attachment.p7s>


More information about the Mercurial mailing list