mercurial/templates/json/map
changeset 24546 adfd808c123f
parent 24545 9e0c67e84896
child 24547 495f3e665b27
--- a/mercurial/templates/json/map	Tue Mar 31 14:52:21 2015 -0700
+++ b/mercurial/templates/json/map	Tue Mar 31 14:54:56 2015 -0700
@@ -14,7 +14,15 @@
   "node": {node|json},
   "date": {date|json}
   }'
-bookmarks = '"not yet implemented"'
+bookmarks = '\{
+  "node": {node|json},
+  "bookmarks": [{join(entries%bookmarkentry, ", ")}]
+  }'
+bookmarkentry = '\{
+  "bookmark": {bookmark|json},
+  "node": {node|json},
+  "date": {date|json}
+  }'
 branches = '"not yet implemented"'
 summary = '"not yet implemented"'
 filediff = '"not yet implemented"'