Commit fbb544ec authored by Anton Shestakov's avatar Anton Shestakov
Browse files

tests: drop label from log template in test-evolve-obshistory-amend.t

parent 474bcce6cef1
......@@ -127,24 +127,24 @@ Test that content diff works with templating
x 471f378eab4c A0
$ hg obslog 4ae3a4151de9 --graph --no-origin -T'{label("log.summary", desc|firstline)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
$ hg obslog 4ae3a4151de9 --graph --no-origin -T'{desc|firstline} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
@ A1
|
x A0 at 0 0 by test
$ hg obslog 4ae3a4151de9 --graph -T'{label("log.summary", desc|firstline)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
$ hg obslog 4ae3a4151de9 --graph -T'{desc|firstline} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
@ A1 at 0 0 by test
|
x A0
Check that the same thing works with the old {shortdescription} form
$ hg obslog 4ae3a4151de9 --graph --no-origin -T'{label("log.summary", shortdescription)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
$ hg obslog 4ae3a4151de9 --graph --no-origin -T'{shortdescription} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
@ A1
|
x A0 at 0 0 by test
$ hg obslog 4ae3a4151de9 --graph -T'{label("log.summary", shortdescription)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
$ hg obslog 4ae3a4151de9 --graph -T'{shortdescription} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}'
@ A1 at 0 0 by test
|
x A0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment