Mercurial > evolve
comparison tests/test-evolve-obshistory-amend.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 | 0b9fcdcdc58f |
children | a34b5cf906c6 12c53d7122a7 |
comparison
equal
deleted
inserted
replaced
5612:6576f6bb644b | 5613:87966baf6ea9 |
---|---|
153 $ hg obslog 4ae3a4151de9 --graph -T '{shortdescription} {logmarkers}' | 153 $ hg obslog 4ae3a4151de9 --graph -T '{shortdescription} {logmarkers}' |
154 @ A1 at 0 0 by test | 154 @ A1 at 0 0 by test |
155 | | 155 | |
156 x A0 | 156 x A0 |
157 | 157 |
158 $ hg obslog 4ae3a4151de9 --no-graph -Tjson | python -m json.tool | 158 $ hg obslog 4ae3a4151de9 --no-graph -Tjson | "$PYTHON" -m json.tool |
159 [ | 159 [ |
160 { | 160 { |
161 "markers": [ | 161 "markers": [ |
162 { | 162 { |
163 "dates": [ | 163 "dates": [ |
192 } | 192 } |
193 ] | 193 ] |
194 $ hg obslog --hidden --patch 471f378eab4c | 194 $ hg obslog --hidden --patch 471f378eab4c |
195 x 471f378eab4c (1) A0 | 195 x 471f378eab4c (1) A0 |
196 | 196 |
197 $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool | 197 $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | "$PYTHON" -m json.tool |
198 [ | 198 [ |
199 { | 199 { |
200 "markers": [], | 200 "markers": [], |
201 "node": "471f378eab4c5e25f6c77f785b27c936efb22874", | 201 "node": "471f378eab4c5e25f6c77f785b27c936efb22874", |
202 "shortdescription": "A0" | 202 "shortdescription": "A0" |