--- a/tests/test-evolve-obshistory-amend.t Fri Nov 15 11:48:17 2019 +0700
+++ b/tests/test-evolve-obshistory-amend.t Thu Nov 07 17:22:16 2019 -0800
@@ -111,6 +111,16 @@
+42
+Test that content diff works with templating
+BROKEN: should show content diff
+ $ hg obslog --color=debug --patch 4ae3a4151de9 \
+ > -T '{node} {desc|firstline}\n{markers % "patch:\n```{patch}```\n"}'
+ @ 4ae3a4151de9 A1
+ |
+ x 471f378eab4c A0
+ patch:
+ ``````
+
$ hg obslog 4ae3a4151de9 --graph -T'{label("log.summary", desc|firstline)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
@ A1
|
@@ -351,6 +361,15 @@
+42
+Test that description diff works with templating
+BROKEN: should show description diff
+ $ hg obslog --color=debug --patch 92210308515b \
+ > -T '{node} {desc|firstline}\n{markers % "description diff:\n```{desc-diff}```\n"}'
+ @ 92210308515b A3
+ |
+ [ ui.warning|hg: parse error: arithmetic only defined on integers]
+ [255]
+
Check the output on the server
------------------------------