log template: parents in two lines?

Dr Rainer Woitok rainer.woitok at gmail.com
Thu May 30 14:24:20 UTC 2024


Uwe,

On 2024-05-30 07:19:32 +0200 you wrote:

> ...
>                                    but the problem  is that 
> 
> #+begin_src 
> n{ifeq(parents,"","","\x1B[47mParent:        {parents}\n")}
> #+end_src
> 
> Results in one line for the parents and not in two as in =hg log -G=

You may want to use  "{p1rev}:{p1node|short}" and "{p2ev}:{p2ode|short}"
instead of just "{parents}".

Sincerely,
  Rainer


More information about the Mercurial mailing list