Mercurial > evolve
comparison tests/test-evolve-obshistory-fold.t @ 4918:f16274729530
obslog: don't overwrite {rev} keyword from changeset context
Now that we have the whole changeset in the formatter context, there's
no need to explicitly add {rev}.
We should also deprecate the {shortdescription} keyword since it's no
longer needed, but I don't know how to do that.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 04 Nov 2019 14:58:58 -0800 |
parents | 83e8803e1cf1 |
children | 7aba58dc4b73 |
comparison
equal
deleted
inserted
replaced
4917:d1d8e97d32af | 4918:f16274729530 |
---|---|
171 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool | 171 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool |
172 [ | 172 [ |
173 { | 173 { |
174 "markers": [], | 174 "markers": [], |
175 "node": "eb5a0daa2192", | 175 "node": "eb5a0daa2192", |
176 "rev": 3, | |
177 "shortdescription": "C0" | 176 "shortdescription": "C0" |
178 }, | 177 }, |
179 { | 178 { |
180 "markers": [ | 179 "markers": [ |
181 { | 180 { |
194 "user": "test", | 193 "user": "test", |
195 "verb": "rewritten" | 194 "verb": "rewritten" |
196 } | 195 } |
197 ], | 196 ], |
198 "node": "471f378eab4c", | 197 "node": "471f378eab4c", |
199 "rev": 1, | |
200 "shortdescription": "A0" | 198 "shortdescription": "A0" |
201 }, | 199 }, |
202 { | 200 { |
203 "markers": [ | 201 "markers": [ |
204 { | 202 { |
218 "user": "test", | 216 "user": "test", |
219 "verb": "rewritten" | 217 "verb": "rewritten" |
220 } | 218 } |
221 ], | 219 ], |
222 "node": "0dec01379d3b", | 220 "node": "0dec01379d3b", |
223 "rev": 2, | |
224 "shortdescription": "B0" | 221 "shortdescription": "B0" |
225 } | 222 } |
226 ] | 223 ] |
227 $ hg update 471f378eab4c | 224 $ hg update 471f378eab4c |
228 abort: hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192! | 225 abort: hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192! |