##// END OF EJS Templates
json: implement {tags} template...
Gregory Szorc -
r24545:9e0c67e8 default
parent child Browse files
Show More
@@ -5,7 +5,15 b' shortlog = \'"not yet implemented"\''
5 changelog = '"not yet implemented"'
5 changelog = '"not yet implemented"'
6 changeset = '"not yet implemented"'
6 changeset = '"not yet implemented"'
7 manifest = '"not yet implemented"'
7 manifest = '"not yet implemented"'
8 tags = '"not yet implemented"'
8 tags = '\{
9 "node": {node|json},
10 "tags": [{join(entriesnotip%tagentry, ", ")}]
11 }'
12 tagentry = '\{
13 "tag": {tag|json},
14 "node": {node|json},
15 "date": {date|json}
16 }'
9 bookmarks = '"not yet implemented"'
17 bookmarks = '"not yet implemented"'
10 branches = '"not yet implemented"'
18 branches = '"not yet implemented"'
11 summary = '"not yet implemented"'
19 summary = '"not yet implemented"'
@@ -164,7 +164,27 b' tags/ shows tags info'
164 $ request json-tags
164 $ request json-tags
165 200 Script output follows
165 200 Script output follows
166
166
167 "not yet implemented"
167 {
168 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
169 "tags": [
170 {
171 "date": [
172 0.0,
173 0
174 ],
175 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
176 "tag": "tag2"
177 },
178 {
179 "date": [
180 0.0,
181 0
182 ],
183 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
184 "tag": "tag1"
185 }
186 ]
187 }
168
188
169 bookmarks/ shows bookmarks info
189 bookmarks/ shows bookmarks info
170
190
General Comments 0
You need to be logged in to leave comments. Login now