log template, colors, command line: Linux ok, MacOS no

Uwe Brauer oub at mat.ucm.es
Thu Jan 19 07:51:04 UTC 2023


Hi

I have set up my log template to 
changeset = "\x1B[33mchangeset:     {rev}:{node|short}\n{tags}{bookmarks}{ifeq(remotenames,"","","\x1B[48mRemote_Branch: {remotenames}\n")}\x1B[38mBranch:        {branch}\nAuthor:        {author}\nDate:          {date|rfc822date}\n{ifeq(topic,"","","\x1B[46mTopic:         {topic}\n")}Phase:         {phase}\nSummary:       {desc|firstline}\n{nofiles}\n"
tag = "\x1B[42mtag:           {tag}\n"
bookmark = "\x1B[48mbookmark:      {bookmark}\n"


However, on Linux (Ubuntu) either in tcsh or bash everything works as
expected and all colors are displayed.

However on MacOS (Catalina) either in tcsh or bash 
the colors 
\x1B[48m
and 
\x1B[38m

Are not displayed.

Any idea?

Thanks and regards

Uwe Brauer 
-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
-------------- 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/20230119/28e68cf7/attachment.p7s>


More information about the Mercurial mailing list