mercurial/templates/json/map
changeset 24590 0bb733dfcabe
parent 24589 30a737ae9b7d
child 24591 517f3e190a5d
--- a/mercurial/templates/json/map	Wed Apr 01 22:04:03 2015 -0700
+++ b/mercurial/templates/json/map	Wed Apr 01 22:16:05 2015 -0700
@@ -83,7 +83,15 @@
 fileannotate = '"not yet implemented"'
 filelog = '"not yet implemented"'
 graph = '"not yet implemented"'
-helptopics = '"not yet implemented"'
+helptopics = '\{
+  "topics": [{join(topics%helptopicentry, ", ")}],
+  "earlycommands": [{join(earlycommands%helptopicentry, ", ")}],
+  "othercommands": [{join(othercommands%helptopicentry, ", ")}]
+  }'
+helptopicentry = '\{
+  "topic": {topic|json},
+  "summary": {summary|json}
+  }'
 help = '"not yet implemented"'
 filenodelink = ''
 filenolink = ''