comparison tests/test-evolve-obshistory-lots-of-splits.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 eed42a183d46 12c53d7122a7
comparison
equal deleted inserted replaced
5612:6576f6bb644b 5613:87966baf6ea9
223 |/ split(parent, content) from de7290d8b885 using split by test (Thu Jan 01 00:00:00 1970 +0000) 223 |/ split(parent, content) from de7290d8b885 using split by test (Thu Jan 01 00:00:00 1970 +0000)
224 | (No patch available, changesets rebased) 224 | (No patch available, changesets rebased)
225 | 225 |
226 x de7290d8b885 (1) A0 226 x de7290d8b885 (1) A0
227 227
228 $ hg obslog de7290d8b885 --hidden --no-graph --no-origin -Tjson | python -m json.tool 228 $ hg obslog de7290d8b885 --hidden --no-graph --no-origin -Tjson | "$PYTHON" -m json.tool
229 [ 229 [
230 { 230 {
231 "markers": [ 231 "markers": [
232 { 232 {
233 "dates": [ 233 "dates": [
271 | split(parent, content) from de7290d8b885 using split by test (Thu Jan 01 00:00:00 1970 +0000) 271 | split(parent, content) from de7290d8b885 using split by test (Thu Jan 01 00:00:00 1970 +0000)
272 | (No patch available, changesets rebased) 272 | (No patch available, changesets rebased)
273 | 273 |
274 x de7290d8b885 (1) A0 274 x de7290d8b885 (1) A0
275 275
276 $ hg obslog c7f044602e9b --no-graph --no-origin -Tjson | python -m json.tool 276 $ hg obslog c7f044602e9b --no-graph --no-origin -Tjson | "$PYTHON" -m json.tool
277 [ 277 [
278 { 278 {
279 "markers": [], 279 "markers": [],
280 "node": "c7f044602e9bd5dec6528b33114df3d0221e6359", 280 "node": "c7f044602e9bd5dec6528b33114df3d0221e6359",
281 "shortdescription": "A0" 281 "shortdescription": "A0"
310 ], 310 ],
311 "node": "de7290d8b885925115bb9e88887252dfc20ef2a8", 311 "node": "de7290d8b885925115bb9e88887252dfc20ef2a8",
312 "shortdescription": "A0" 312 "shortdescription": "A0"
313 } 313 }
314 ] 314 ]
315 $ hg obslog c7f044602e9b --no-graph -Tjson | python -m json.tool 315 $ hg obslog c7f044602e9b --no-graph -Tjson | "$PYTHON" -m json.tool
316 [ 316 [
317 { 317 {
318 "markers": [ 318 "markers": [
319 { 319 {
320 "dates": [ 320 "dates": [