changeset 28268 | 3643b66d7f71 |
parent 28212 | d4419c01532b |
child 28709 | 94494031f659 |
--- a/mercurial/templates/json/map Fri Feb 26 19:13:10 2016 +0000 +++ b/mercurial/templates/json/map Sat Feb 27 19:53:18 2016 +0800 @@ -172,3 +172,12 @@ }' filenodelink = '' filenolink = '' +index = '\{ + "entries": [{join(entries%indexentry, ", ")}] + }' +indexentry = '\{ + "name": {name|utf8|json}, + "description": {description|utf8|json}, + "contact": {contact|utf8|json}, + "lastchange": {lastchange|json} + }'