mercurial/templates/json/map
changeset 29383 f3dca85bd2d1
parent 29382 e4b777fe1576
child 29458 59058549a611
--- a/mercurial/templates/json/map	Mon Jun 06 15:14:11 2016 +0200
+++ b/mercurial/templates/json/map	Fri Jun 10 10:31:42 2016 +0200
@@ -15,7 +15,12 @@
 lineentry = '\{
   "line": {line|json}
   }'
-search = '"not yet implemented"'
+search = '\{
+  "node": {node|json},
+  "query": {query|json},
+  "entries": [{join(entries%searchentry, ", ")}]
+  }'
+searchentry = '{changelistentry}'
 # changelog and shortlog are the same web API but with different
 # number of entries.
 changelog = changelist.tmpl