--- a/mercurial/templates/json/map Tue Mar 31 14:54:56 2015 -0700
+++ b/mercurial/templates/json/map Mon Mar 30 21:37:24 2015 -0700
@@ -23,7 +23,15 @@
"node": {node|json},
"date": {date|json}
}'
-branches = '"not yet implemented"'
+branches = '\{
+ "branches": [{join(entries%branchentry, ", ")}]
+ }'
+branchentry = '\{
+ "branch": {branch|json},
+ "node": {node|json},
+ "date": {date|json},
+ "status": {status|json}
+ }'
summary = '"not yet implemented"'
filediff = '"not yet implemented"'
filecomparison = '"not yet implemented"'