Mercurial > evolve
comparison tests/test-topic-stack.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 | 028e4ea75456 |
children | 4ab2f602beb3 c2fab88e6d60 |
comparison
equal
deleted
inserted
replaced
5612:6576f6bb644b | 5613:87966baf6ea9 |
---|---|
102 s4(6559e6d93aea)@ c_f (current) | 102 s4(6559e6d93aea)@ c_f (current) |
103 s3(0f9ac936c87d): c_e | 103 s3(0f9ac936c87d): c_e |
104 s2(e629654d7050): c_d | 104 s2(e629654d7050): c_d |
105 s1(8522f9e3fee9): c_c | 105 s1(8522f9e3fee9): c_c |
106 s0(ea705abc4f51)^ c_b (base) | 106 s0(ea705abc4f51)^ c_b (base) |
107 $ hg stack -Tjson | python -m json.tool | 107 $ hg stack -Tjson | "$PYTHON" -m json.tool |
108 [ | 108 [ |
109 { | 109 { |
110 "desc": "c_f", | 110 "desc": "c_f", |
111 "isentry": true, | 111 "isentry": true, |
112 "node": "6559e6d93aeadba940874f54f106c61931b5b8cf", | 112 "node": "6559e6d93aeadba940874f54f106c61931b5b8cf", |
155 "base" | 155 "base" |
156 ], | 156 ], |
157 "symbol": "^" | 157 "symbol": "^" |
158 } | 158 } |
159 ] | 159 ] |
160 $ hg stack -v -Tjson | python -m json.tool | 160 $ hg stack -v -Tjson | "$PYTHON" -m json.tool |
161 [ | 161 [ |
162 { | 162 { |
163 "desc": "c_f", | 163 "desc": "c_f", |
164 "isentry": true, | 164 "isentry": true, |
165 "node": "6559e6d93aeadba940874f54f106c61931b5b8cf", | 165 "node": "6559e6d93aeadba940874f54f106c61931b5b8cf", |