comparison tests/test-evolve-obshistory-lots-of-splits.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 e2c548cc83b5
children 7aba58dc4b73
comparison
equal deleted inserted replaced
4917:d1d8e97d32af 4918:f16274729530
215 "user": "test", 215 "user": "test",
216 "verb": "rewritten" 216 "verb": "rewritten"
217 } 217 }
218 ], 218 ],
219 "node": "de7290d8b885", 219 "node": "de7290d8b885",
220 "rev": 1,
221 "shortdescription": "A0" 220 "shortdescription": "A0"
222 } 221 }
223 ] 222 ]
224 $ hg obslog c7f044602e9b --patch 223 $ hg obslog c7f044602e9b --patch
225 @ c7f044602e9b (5) A0 224 @ c7f044602e9b (5) A0
231 $ hg obslog c7f044602e9b --no-graph -Tjson | python -m json.tool 230 $ hg obslog c7f044602e9b --no-graph -Tjson | python -m json.tool
232 [ 231 [
233 { 232 {
234 "markers": [], 233 "markers": [],
235 "node": "c7f044602e9b", 234 "node": "c7f044602e9b",
236 "rev": 5,
237 "shortdescription": "A0" 235 "shortdescription": "A0"
238 }, 236 },
239 { 237 {
240 "markers": [ 238 "markers": [
241 { 239 {
257 "user": "test", 255 "user": "test",
258 "verb": "rewritten" 256 "verb": "rewritten"
259 } 257 }
260 ], 258 ],
261 "node": "de7290d8b885", 259 "node": "de7290d8b885",
262 "rev": 1,
263 "shortdescription": "A0" 260 "shortdescription": "A0"
264 } 261 }
265 ] 262 ]
266 Check that debugobshistory on all heads show a coherent graph 263 Check that debugobshistory on all heads show a coherent graph
267 $ hg obslog 2::5 --patch 264 $ hg obslog 2::5 --patch