Mercurial > evolve
comparison tests/test-evolve-obshistory-amend-then-fold.t @ 5613:87966baf6ea9
tests: use appropriate Python (2 or 3) for json.tool
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 25 Oct 2020 21:38:37 +0800 |
parents | e8660b28bfee |
children | 8d93e7fc0daa 12c53d7122a7 |
comparison
equal
deleted
inserted
replaced
5612:6576f6bb644b | 5613:87966baf6ea9 |
---|---|
183 | +B1 | 183 | +B1 |
184 | | 184 | |
185 | | 185 | |
186 x 0dec01379d3b (2) B0 | 186 x 0dec01379d3b (2) B0 |
187 | 187 |
188 $ hg obslog eb5a0daa2192 --no-graph --no-origin -Tjson | python -m json.tool | 188 $ hg obslog eb5a0daa2192 --no-graph --no-origin -Tjson | "$PYTHON" -m json.tool |
189 [ | 189 [ |
190 { | 190 { |
191 "markers": [], | 191 "markers": [], |
192 "node": "eb5a0daa21923bbf8caeb2c42085b9e463861fd0", | 192 "node": "eb5a0daa21923bbf8caeb2c42085b9e463861fd0", |
193 "shortdescription": "C0" | 193 "shortdescription": "C0" |
275 ], | 275 ], |
276 "node": "471f378eab4c5e25f6c77f785b27c936efb22874", | 276 "node": "471f378eab4c5e25f6c77f785b27c936efb22874", |
277 "shortdescription": "A0" | 277 "shortdescription": "A0" |
278 } | 278 } |
279 ] | 279 ] |
280 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool | 280 $ hg obslog eb5a0daa2192 --no-graph -Tjson | "$PYTHON" -m json.tool |
281 [ | 281 [ |
282 { | 282 { |
283 "markers": [ | 283 "markers": [ |
284 { | 284 { |
285 "dates": [ | 285 "dates": [ |