comparison tests/test-hgweb-json.t @ 24546:adfd808c123f

json: implement {bookmarks} template
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 31 Mar 2015 14:54:56 -0700
parents 9e0c67e84896
children 495f3e665b27
comparison
equal deleted inserted replaced
24545:9e0c67e84896 24546:adfd808c123f
189 bookmarks/ shows bookmarks info 189 bookmarks/ shows bookmarks info
190 190
191 $ request json-bookmarks 191 $ request json-bookmarks
192 200 Script output follows 192 200 Script output follows
193 193
194 "not yet implemented" 194 {
195 "bookmarks": [
196 {
197 "bookmark": "bookmark1",
198 "date": [
199 0.0,
200 0
201 ],
202 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5"
203 },
204 {
205 "bookmark": "bookmark2",
206 "date": [
207 0.0,
208 0
209 ],
210 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45"
211 }
212 ],
213 "node": "6ab967a8ab3489227a83f80e920faa039a71819f"
214 }
195 215
196 branches/ shows branches info 216 branches/ shows branches info
197 217
198 $ request json-branches 218 $ request json-branches
199 200 Script output follows 219 200 Script output follows