Mercurial > hg
comparison tests/test-hgweb-json.t @ 24547:495f3e665b27
json: implement {branches} template
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 30 Mar 2015 21:37:24 -0700 |
parents | adfd808c123f |
children | e55449dae606 |
comparison
equal
deleted
inserted
replaced
24546:adfd808c123f | 24547:495f3e665b27 |
---|---|
216 branches/ shows branches info | 216 branches/ shows branches info |
217 | 217 |
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 |
225 $ request json-summary | 246 $ request json-summary |
226 200 Script output follows | 247 200 Script output follows |