tests/test-template-keywords.t
changeset 39795 ba93db1745ba
parent 39623 34ecc0a09c76
child 39796 94ca3579e84e
--- a/tests/test-template-keywords.t	Sun Sep 23 16:11:01 2018 +0900
+++ b/tests/test-template-keywords.t	Sat Sep 15 17:26:20 2018 +0900
@@ -52,6 +52,27 @@
   $ hg log -r 'wdir()' -T '{rev}:{node}\n'
   2147483647:ffffffffffffffffffffffffffffffffffffffff
 
+  $ hg log -r 'wdir()' -Tjson --debug
+  [
+   {
+    "added": [],
+    "bookmarks": [],
+    "branch": "default",
+    "date": [0, 0],
+    "desc": "",
+    "extra": {"branch": "default"},
+    "manifest": null,
+    "modified": [],
+    "node": "ffffffffffffffffffffffffffffffffffffffff",
+    "parents": ["95c24699272ef57d062b8bccc32c878bf841784a"],
+    "phase": "draft",
+    "removed": [],
+    "rev": 2147483647,
+    "tags": [],
+    "user": "test"
+   }
+  ]
+
 Some keywords are invalid for working-directory revision, but they should
 never cause crash: