Mercurial > evolve
comparison tests/test-evolve-obshistory-amend.t @ 5353:f0b815438ee9
tests: drop label from log template in test-evolve-obshistory-amend.t
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 07 Jun 2020 17:45:13 +0800 |
parents | e8660b28bfee |
children | c669a08746b5 |
comparison
equal
deleted
inserted
replaced
5352:474bcce6cef1 | 5353:f0b815438ee9 |
---|---|
125 | [diff.inserted|+42] | 125 | [diff.inserted|+42] |
126 | ``` | 126 | ``` |
127 x 471f378eab4c A0 | 127 x 471f378eab4c A0 |
128 | 128 |
129 | 129 |
130 $ hg obslog 4ae3a4151de9 --graph --no-origin -T'{label("log.summary", desc|firstline)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}' | 130 $ hg obslog 4ae3a4151de9 --graph --no-origin -T'{desc|firstline} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}' |
131 @ A1 | 131 @ A1 |
132 | | 132 | |
133 x A0 at 0 0 by test | 133 x A0 at 0 0 by test |
134 | 134 |
135 $ hg obslog 4ae3a4151de9 --graph -T'{label("log.summary", desc|firstline)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}' | 135 $ hg obslog 4ae3a4151de9 --graph -T'{desc|firstline} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}' |
136 @ A1 at 0 0 by test | 136 @ A1 at 0 0 by test |
137 | | 137 | |
138 x A0 | 138 x A0 |
139 | 139 |
140 | 140 |
141 Check that the same thing works with the old {shortdescription} form | 141 Check that the same thing works with the old {shortdescription} form |
142 $ hg obslog 4ae3a4151de9 --graph --no-origin -T'{label("log.summary", shortdescription)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}' | 142 $ hg obslog 4ae3a4151de9 --graph --no-origin -T'{shortdescription} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}' |
143 @ A1 | 143 @ A1 |
144 | | 144 | |
145 x A0 at 0 0 by test | 145 x A0 at 0 0 by test |
146 | 146 |
147 $ hg obslog 4ae3a4151de9 --graph -T'{label("log.summary", shortdescription)} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}' | 147 $ hg obslog 4ae3a4151de9 --graph -T'{shortdescription} {if(markers, join(markers % "at {date|hgdate} by {user|person} ", " also "))}' |
148 @ A1 at 0 0 by test | 148 @ A1 at 0 0 by test |
149 | | 149 | |
150 x A0 | 150 x A0 |
151 | 151 |
152 $ hg obslog 4ae3a4151de9 --no-graph -Tjson | python -m json.tool | 152 $ hg obslog 4ae3a4151de9 --no-graph -Tjson | python -m json.tool |