mercurial/templates/json/map
changeset 29382 e4b777fe1576
parent 29381 8bfe44494a0d
child 29383 f3dca85bd2d1
--- a/mercurial/templates/json/map	Fri Jun 03 12:32:42 2016 +0200
+++ b/mercurial/templates/json/map	Mon Jun 06 15:14:11 2016 +0200
@@ -96,7 +96,21 @@
   "date": {date|json},
   "status": {status|json}
   }'
-summary = '"not yet implemented"'
+shortlogentry = '{changelistentry}'
+summary = '\{
+  "node": {node|json},
+  "lastchange": {lastchange|json},
+  "bookmarks": [{join(bookmarks%bookmarkentry, ", ")}],
+  "branches": [{join(branches%branchentry, ", ")}],
+  "shortlog": [{join(shortlog%shortlogentry, ", ")}],
+  "tags": [{join(tags%tagentry, ", ")}],
+  "archives": [{join(archives%archiveentry, ", ")}]
+  }'
+archiveentry = '\{
+  "node": {node|json},
+  "extension": {extension|json},
+  "type": {type|json}
+  }'
 filediff = '\{
   "path": {file|json},
   "node": {node|json},