mercurial/templates/json/map
changeset 24588 0bf54479a9eb
parent 24564 5ec4bda3097a
child 24589 30a737ae9b7d
--- a/mercurial/templates/json/map	Wed Apr 01 20:23:58 2015 -0700
+++ b/mercurial/templates/json/map	Tue Mar 31 22:53:48 2015 -0700
@@ -1,8 +1,19 @@
 mimetype = 'application/json'
 filerevision = '"not yet implemented"'
 search = '"not yet implemented"'
-shortlog = '"not yet implemented"'
-changelog = '"not yet implemented"'
+# changelog and shortlog are the same web API but with different
+# number of entries.
+changelog = changelist.tmpl
+shortlog = changelist.tmpl
+changelistentry = '\{
+  "node": {node|json},
+  "date": {date|json},
+  "desc": {desc|json},
+  "bookmarks": [{join(bookmarks%changelistentryname, ", ")}],
+  "tags": [{join(tags%changelistentryname, ", ")}],
+  "user": {author|json}
+  }'
+changelistentryname = '{name|json}'
 changeset = '\{
   "node": {node|json},
   "date": {date|json},