##// END OF EJS Templates
py3: add test to show 'hg log -Tjson' works
Pulkit Goyal -
r32163:e1d1f1bc default
parent child Browse files
Show More
@@ -172,4 +172,30 b' Prove the repo is valid using the Python'
172 date: Thu Jan 01 00:00:00 1970 +0000
172 date: Thu Jan 01 00:00:00 1970 +0000
173 summary: commit performed in Python 3
173 summary: commit performed in Python 3
174
174
175
175 $ hg log -Tjson
176 [
177 {
178 "rev": 1,
179 "node": "e1e9167203d450ca2f558af628955b5f5afd4489",
180 "branch": "default",
181 "phase": "draft",
182 "user": "test",
183 "date": [0, 0],
184 "desc": "message",
185 "bookmarks": [],
186 "tags": ["tip"],
187 "parents": ["71c96e924262969ff0d8d3d695b0f75412ccc3d8"]
188 },
189 {
190 "rev": 0,
191 "node": "71c96e924262969ff0d8d3d695b0f75412ccc3d8",
192 "branch": "default",
193 "phase": "draft",
194 "user": "test",
195 "date": [0, 0],
196 "desc": "commit performed in Python 3",
197 "bookmarks": [],
198 "tags": [],
199 "parents": ["0000000000000000000000000000000000000000"]
200 }
201 ]
General Comments 0
You need to be logged in to leave comments. Login now