# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1493854050 -19800 # Node ID e1d1f1bc4a95fde53fe814da6d43a56c509bedb5 # Parent 4c49c86010938e1cd2712db30160536fa0bed302 py3: add test to show 'hg log -Tjson' works diff -r 4c49c8601093 -r e1d1f1bc4a95 tests/test-py3-commands.t --- a/tests/test-py3-commands.t Thu May 04 04:52:03 2017 +0530 +++ b/tests/test-py3-commands.t Thu May 04 04:57:30 2017 +0530 @@ -172,4 +172,30 @@ date: Thu Jan 01 00:00:00 1970 +0000 summary: commit performed in Python 3 - + $ hg log -Tjson + [ + { + "rev": 1, + "node": "e1e9167203d450ca2f558af628955b5f5afd4489", + "branch": "default", + "phase": "draft", + "user": "test", + "date": [0, 0], + "desc": "message", + "bookmarks": [], + "tags": ["tip"], + "parents": ["71c96e924262969ff0d8d3d695b0f75412ccc3d8"] + }, + { + "rev": 0, + "node": "71c96e924262969ff0d8d3d695b0f75412ccc3d8", + "branch": "default", + "phase": "draft", + "user": "test", + "date": [0, 0], + "desc": "commit performed in Python 3", + "bookmarks": [], + "tags": [], + "parents": ["0000000000000000000000000000000000000000"] + } + ]