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

Dave S snidely.too at gmail.com
Sat Jan 21 20:39:01 UTC 2023


On Thu, Jan 19, 2023, 12:51 AM Uwe Brauer <oub at mat.ucm.es> wrote:

>
> 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






Why not turn on the color extension that works with templates?

/dps


>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20230121/9742172d/attachment.html>


More information about the Mercurial mailing list