tests/test-encoding.t
changeset 22429 7a7eed5176a4
parent 17361 5e276d1d504a
child 22553 67b6b82a6bbe
--- a/tests/test-encoding.t	Fri Sep 12 18:29:29 2014 -0500
+++ b/tests/test-encoding.t	Mon Sep 15 13:15:07 2014 -0500
@@ -179,6 +179,24 @@
   tip                                5:a52c0692f24a
   \xc3\xa9                                  3:ca661e7520de (esc)
 
+hg tags (JSON)
+
+  $ hg tags -Tjson
+  [
+   {
+    "id": "a52c0692f24a",
+    "rev": 5,
+    "tag": "tip",
+    "type": ""
+   },
+   {
+    "id": "ca661e7520de",
+    "rev": 3,
+    "tag": "\xc3\xa9", (esc)
+    "type": ""
+   }
+  ]
+
 hg branches (ascii)
 
   $ HGENCODING=ascii hg branches