##// END OF EJS Templates
json: implement {branches} template
Gregory Szorc -
r24547:495f3e66 default
parent child Browse files
Show More
@@ -23,7 +23,15 b" bookmarkentry = '\\{"
23 "node": {node|json},
23 "node": {node|json},
24 "date": {date|json}
24 "date": {date|json}
25 }'
25 }'
26 branches = '"not yet implemented"'
26 branches = '\{
27 "branches": [{join(entries%branchentry, ", ")}]
28 }'
29 branchentry = '\{
30 "branch": {branch|json},
31 "node": {node|json},
32 "date": {date|json},
33 "status": {status|json}
34 }'
27 summary = '"not yet implemented"'
35 summary = '"not yet implemented"'
28 filediff = '"not yet implemented"'
36 filediff = '"not yet implemented"'
29 filecomparison = '"not yet implemented"'
37 filecomparison = '"not yet implemented"'
@@ -218,7 +218,28 b' branches/ shows branches info'
218 $ request json-branches
218 $ request json-branches
219 200 Script output follows
219 200 Script output follows
220
220
221 "not yet implemented"
221 {
222 "branches": [
223 {
224 "branch": "test-branch",
225 "date": [
226 0.0,
227 0
228 ],
229 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
230 "status": "open"
231 },
232 {
233 "branch": "default",
234 "date": [
235 0.0,
236 0
237 ],
238 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
239 "status": "open"
240 }
241 ]
242 }
222
243
223 summary/ shows a summary of repository state
244 summary/ shows a summary of repository state
224
245
General Comments 0
You need to be logged in to leave comments. Login now