log template: parents in two lines?
Dr Rainer Woitok
rainer.woitok at gmail.com
Fri May 31 10:13:54 UTC 2024
Uwe,
On Thu, 30 May 2024 19:09:10 +0200 you wrote:
> ...
>
> Thanks! That is almost what I want I have
> ...
> which results in
> #+begin_src
> changeset: 882:f0f1f0f3da79
> │ Branch: default
> │ Author: Uwe Brauer <oub at mat.ucm.es>
> │ Date: Thu, 23 May 2024 08:50:15 +0200
> │ Phase: public
> │ Parent: 869:6db054b07546
> │ Parent: -1:000000000000
Just wrap the second "Parent:" line into
{ifeq(p2rev,-1,"","Parent: {p2rev}:{p2node|short}\n")}
Sincerely,
Rainer
More information about the Mercurial
mailing list