annotate tests/test-hgweb-json.t @ 29218:fd288d118074

largefiles: send statlfile remote calls only for nonexisting locally files Files that are already in local store should be checked locally. The problem with this implementation is how difference in messages between local and remote checks should look like. For now local errors for file missing and content corrupted looks like this: 'changeset cset: filename references missing storepath\n' 'changeset cset: filename references corrupted storepath\n' for remote it looks like: 'changeset cset: filename missing\n' 'changeset cset: filename: contents differ\n' Contents differ error for remote calls is never raised currently - for now statlfile implementation lacks checking file content.
author liscju <piotr.listkiewicz@gmail.com>
date Mon, 09 May 2016 10:05:32 +0200
parents 06ae7a6daad0
children c1b526f55116
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1 #require serve
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
3 $ request() {
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 24715
diff changeset
4 > get-with-headers.py --json localhost:$HGPORT "$1"
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
5 > }
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
6
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
7 $ hg init test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
8 $ cd test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
9 $ mkdir da
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
10 $ echo foo > da/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
11 $ echo foo > foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
12 $ hg -q ci -A -m initial
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
13 $ echo bar > foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
14 $ hg ci -m 'modify foo'
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
15 $ echo bar > da/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
16 $ hg ci -m 'modify da/foo'
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
17 $ hg bookmark bookmark1
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
18 $ hg up default
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
19 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
20 (leaving bookmark bookmark1)
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
21 $ hg mv foo foo-new
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
22 $ hg commit -m 'move foo'
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
23 $ hg tag -m 'create tag' tag1
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
24 $ hg phase --public -r .
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
25 $ echo baz > da/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
26 $ hg commit -m 'another commit to da/foo'
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
27 $ hg tag -m 'create tag2' tag2
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
28 $ hg bookmark bookmark2
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
29 $ hg -q up -r 0
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
30 $ hg -q branch test-branch
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
31 $ echo branch > foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
32 $ hg commit -m 'create test branch'
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
33 $ echo branch_commit_2 > foo
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
34 $ hg commit -m 'another commit in test-branch'
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
35 $ hg -q up default
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
36 $ hg merge --tool :local test-branch
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
37 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
38 (branch merge, don't forget to commit)
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
39 $ hg commit -m 'merge test-branch into default'
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
40
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
41 $ hg log -G
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
42 @ changeset: 9:cc725e08502a
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
43 |\ tag: tip
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
44 | | parent: 6:ceed296fe500
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
45 | | parent: 8:ed66c30e87eb
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
46 | | user: test
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
47 | | date: Thu Jan 01 00:00:00 1970 +0000
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
48 | | summary: merge test-branch into default
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
49 | |
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
50 | o changeset: 8:ed66c30e87eb
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
51 | | branch: test-branch
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
52 | | user: test
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
53 | | date: Thu Jan 01 00:00:00 1970 +0000
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
54 | | summary: another commit in test-branch
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
55 | |
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
56 | o changeset: 7:6ab967a8ab34
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
57 | | branch: test-branch
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
58 | | parent: 0:06e557f3edf6
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
59 | | user: test
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
60 | | date: Thu Jan 01 00:00:00 1970 +0000
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
61 | | summary: create test branch
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
62 | |
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
63 o | changeset: 6:ceed296fe500
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
64 | | bookmark: bookmark2
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
65 | | user: test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
66 | | date: Thu Jan 01 00:00:00 1970 +0000
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
67 | | summary: create tag2
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
68 | |
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
69 o | changeset: 5:f2890a05fea4
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
70 | | tag: tag2
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
71 | | user: test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
72 | | date: Thu Jan 01 00:00:00 1970 +0000
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
73 | | summary: another commit to da/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
74 | |
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
75 o | changeset: 4:93a8ce14f891
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
76 | | user: test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
77 | | date: Thu Jan 01 00:00:00 1970 +0000
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
78 | | summary: create tag
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
79 | |
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
80 o | changeset: 3:78896eb0e102
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
81 | | tag: tag1
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
82 | | user: test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
83 | | date: Thu Jan 01 00:00:00 1970 +0000
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
84 | | summary: move foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
85 | |
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
86 o | changeset: 2:8d7c456572ac
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
87 | | bookmark: bookmark1
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
88 | | user: test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
89 | | date: Thu Jan 01 00:00:00 1970 +0000
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
90 | | summary: modify da/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
91 | |
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
92 o | changeset: 1:f8bbb9024b10
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
93 |/ user: test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
94 | date: Thu Jan 01 00:00:00 1970 +0000
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
95 | summary: modify foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
96 |
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
97 o changeset: 0:06e557f3edf6
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
98 user: test
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
99 date: Thu Jan 01 00:00:00 1970 +0000
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
100 summary: initial
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
101
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
102
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
103 $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E error.log
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
104 $ cat hg.pid >> $DAEMON_PIDS
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
105
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
106 (Try to keep these in roughly the order they are defined in webcommands.py)
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
107
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
108 (log is handled by filelog/ and changelog/ - ignore it)
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
109
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
110 (rawfile/ doesn't use templating - nothing to test)
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
111
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
112 file/{revision}/{path} shows file revision
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
113
24562
e55449dae606 test-hgweb-json: fix URL for file revision tests
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24547
diff changeset
114 $ request json-file/06e557f3edf6/foo
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
115 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
116
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
117 "not yet implemented"
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
118
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
119 file/{revision} shows root directory info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
120
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
121 $ request json-file/cc725e08502a
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
122 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
123
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
124 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
125 "abspath": "/",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
126 "bookmarks": [],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
127 "directories": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
128 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
129 "abspath": "/da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
130 "basename": "da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
131 "emptydirs": ""
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
132 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
133 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
134 "files": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
135 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
136 "abspath": ".hgtags",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
137 "basename": ".hgtags",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
138 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
139 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
140 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
141 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
142 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
143 "size": 92
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
144 },
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
145 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
146 "abspath": "foo-new",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
147 "basename": "foo-new",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
148 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
149 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
150 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
151 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
152 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
153 "size": 4
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
154 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
155 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
156 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
157 "tags": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
158 "tip"
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
159 ]
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
160 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
161
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
162 changelog/ shows information about several changesets
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
163
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
164 $ request json-changelog
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
165 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
166
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
167 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
168 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
169 "changesets": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
170 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
171 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
172 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
173 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
174 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
175 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
176 "desc": "merge test-branch into default",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
177 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
178 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
179 "ceed296fe500c3fac9541e31dad860cb49c89e45",
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
180 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
181 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
182 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
183 "tip"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
184 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
185 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
186 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
187 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
188 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
189 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
190 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
191 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
192 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
193 "desc": "another commit in test-branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
194 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
195 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
196 "6ab967a8ab3489227a83f80e920faa039a71819f"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
197 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
198 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
199 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
200 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
201 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
202 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
203 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
204 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
205 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
206 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
207 "desc": "create test branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
208 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
209 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
210 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
211 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
212 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
213 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
214 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
215 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
216 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
217 "bookmark2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
218 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
219 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
220 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
221 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
222 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
223 "desc": "create tag2",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
224 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
225 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
226 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
227 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
228 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
229 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
230 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
231 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
232 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
233 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
234 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
235 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
236 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
237 "desc": "another commit to da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
238 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
239 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
240 "93a8ce14f89156426b7fa981af8042da53f03aa0"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
241 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
242 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
243 "tag2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
244 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
245 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
246 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
247 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
248 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
249 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
250 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
251 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
252 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
253 "desc": "create tag",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
254 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
255 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
256 "78896eb0e102174ce9278438a95e12543e4367a7"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
257 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
258 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
259 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
260 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
261 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
262 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
263 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
264 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
265 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
266 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
267 "desc": "move foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
268 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
269 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
270 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
271 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
272 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
273 "tag1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
274 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
275 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
276 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
277 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
278 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
279 "bookmark1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
280 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
281 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
282 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
283 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
284 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
285 "desc": "modify da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
286 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
287 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
288 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
289 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
290 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
291 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
292 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
293 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
294 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
295 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
296 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
297 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
298 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
299 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
300 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
301 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
302 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
303 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
304 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
305 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
306 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
307 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
308 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
309 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
310 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
311 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
312 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
313 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
314 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
315 "parents": [],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
316 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
317 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
318 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
319 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
320 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
321 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
322
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
323 changelog/{revision} shows information starting at a specific changeset
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
324
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
325 $ request json-changelog/f8bbb9024b10
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
326 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
327
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
328 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
329 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
330 "changesets": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
331 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
332 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
333 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
334 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
335 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
336 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
337 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
338 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
339 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
340 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
341 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
342 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
343 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
344 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
345 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
346 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
347 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
348 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
349 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
350 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
351 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
352 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
353 "parents": [],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
354 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
355 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
356 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
357 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
358 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
359 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
360
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
361 shortlog/ shows information about a set of changesets
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
362
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
363 $ request json-shortlog
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
364 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
365
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
366 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
367 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
368 "changesets": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
369 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
370 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
371 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
372 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
373 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
374 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
375 "desc": "merge test-branch into default",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
376 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
377 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
378 "ceed296fe500c3fac9541e31dad860cb49c89e45",
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
379 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
380 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
381 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
382 "tip"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
383 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
384 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
385 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
386 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
387 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
388 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
389 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
390 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
391 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
392 "desc": "another commit in test-branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
393 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
394 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
395 "6ab967a8ab3489227a83f80e920faa039a71819f"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
396 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
397 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
398 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
399 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
400 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
401 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
402 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
403 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
404 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
405 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
406 "desc": "create test branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
407 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
408 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
409 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
410 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
411 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
412 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
413 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
414 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
415 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
416 "bookmark2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
417 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
418 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
419 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
420 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
421 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
422 "desc": "create tag2",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
423 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
424 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
425 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
426 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
427 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
428 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
429 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
430 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
431 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
432 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
433 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
434 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
435 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
436 "desc": "another commit to da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
437 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
438 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
439 "93a8ce14f89156426b7fa981af8042da53f03aa0"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
440 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
441 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
442 "tag2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
443 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
444 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
445 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
446 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
447 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
448 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
449 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
450 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
451 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
452 "desc": "create tag",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
453 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
454 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
455 "78896eb0e102174ce9278438a95e12543e4367a7"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
456 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
457 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
458 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
459 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
460 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
461 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
462 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
463 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
464 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
465 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
466 "desc": "move foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
467 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
468 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
469 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
470 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
471 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
472 "tag1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
473 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
474 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
475 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
476 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
477 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
478 "bookmark1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
479 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
480 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
481 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
482 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
483 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
484 "desc": "modify da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
485 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
486 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
487 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
488 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
489 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
490 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
491 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
492 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
493 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
494 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
495 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
496 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
497 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
498 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
499 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
500 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
501 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
502 ],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
503 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
504 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
505 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
506 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
507 "bookmarks": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
508 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
509 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
510 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
511 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
512 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
513 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
514 "parents": [],
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
515 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
516 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
517 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
518 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
519 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
520 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
521
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
522 changeset/ renders the tip changeset
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
523
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
524 $ request json-rev
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
525 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
526
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
527 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
528 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
529 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
530 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
531 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
532 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
533 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
534 "desc": "merge test-branch into default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
535 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
536 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
537 "ceed296fe500c3fac9541e31dad860cb49c89e45",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
538 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
539 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
540 "phase": "draft",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
541 "tags": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
542 "tip"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
543 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
544 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
545 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
546
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
547 changeset/{revision} shows tags
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
548
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
549 $ request json-rev/78896eb0e102
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
550 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
551
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
552 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
553 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
554 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
555 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
556 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
557 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
558 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
559 "desc": "move foo",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
560 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
561 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
562 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
563 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
564 "phase": "public",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
565 "tags": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
566 "tag1"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
567 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
568 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
569 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
570
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
571 changeset/{revision} shows bookmarks
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
572
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
573 $ request json-rev/8d7c456572ac
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
574 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
575
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
576 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
577 "bookmarks": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
578 "bookmark1"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
579 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
580 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
581 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
582 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
583 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
584 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
585 "desc": "modify da/foo",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
586 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
587 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
588 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
589 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
590 "phase": "public",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
591 "tags": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
592 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
593 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
594
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
595 changeset/{revision} shows branches
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
596
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
597 $ request json-rev/6ab967a8ab34
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
598 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
599
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
600 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
601 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
602 "branch": "test-branch",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
603 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
604 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
605 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
606 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
607 "desc": "create test branch",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
608 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
609 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
610 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
611 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
612 "phase": "draft",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
613 "tags": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
614 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
615 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
616
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
617 manifest/{revision}/{path} shows info about a directory at a revision
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
618
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
619 $ request json-manifest/06e557f3edf6/
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
620 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
621
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
622 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
623 "abspath": "/",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
624 "bookmarks": [],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
625 "directories": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
626 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
627 "abspath": "/da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
628 "basename": "da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
629 "emptydirs": ""
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
630 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
631 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
632 "files": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
633 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
634 "abspath": "foo",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
635 "basename": "foo",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
636 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
637 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
638 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
639 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
640 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
641 "size": 4
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
642 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
643 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
644 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
645 "tags": []
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
646 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
647
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
648 tags/ shows tags info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
649
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
650 $ request json-tags
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
651 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
652
24545
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
653 {
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
654 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
24545
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
655 "tags": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
656 {
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
657 "date": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
658 0.0,
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
659 0
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
660 ],
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
661 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
662 "tag": "tag2"
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
663 },
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
664 {
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
665 "date": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
666 0.0,
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
667 0
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
668 ],
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
669 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
670 "tag": "tag1"
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
671 }
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
672 ]
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
673 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
674
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
675 bookmarks/ shows bookmarks info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
676
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
677 $ request json-bookmarks
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
678 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
679
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
680 {
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
681 "bookmarks": [
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
682 {
28711
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
683 "bookmark": "bookmark2",
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
684 "date": [
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
685 0.0,
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
686 0
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
687 ],
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
688 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45"
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
689 },
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
690 {
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
691 "bookmark": "bookmark1",
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
692 "date": [
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
693 0.0,
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
694 0
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
695 ],
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
696 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5"
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
697 }
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
698 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
699 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
700 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
701
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
702 branches/ shows branches info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
703
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
704 $ request json-branches
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
705 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
706
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
707 {
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
708 "branches": [
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
709 {
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
710 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
711 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
712 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
713 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
714 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
715 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
716 "status": "open"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
717 },
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
718 {
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
719 "branch": "test-branch",
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
720 "date": [
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
721 0.0,
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
722 0
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
723 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
724 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
725 "status": "inactive"
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
726 }
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
727 ]
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
728 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
729
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
730 summary/ shows a summary of repository state
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
731
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
732 $ request json-summary
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
733 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
734
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
735 "not yet implemented"
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
736
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
737 filediff/{revision}/{path} shows changes to a file in a revision
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
738
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
739 $ request json-diff/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
740 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
741
24713
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
742 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
743 "author": "test",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
744 "children": [],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
745 "date": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
746 0.0,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
747 0
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
748 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
749 "desc": "modify foo",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
750 "diff": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
751 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
752 "blockno": 1,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
753 "lines": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
754 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
755 "l": "--- a/foo\tThu Jan 01 00:00:00 1970 +0000\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
756 "n": 1,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
757 "t": "-"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
758 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
759 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
760 "l": "+++ b/foo\tThu Jan 01 00:00:00 1970 +0000\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
761 "n": 2,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
762 "t": "+"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
763 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
764 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
765 "l": "@@ -1,1 +1,1 @@\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
766 "n": 3,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
767 "t": "@"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
768 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
769 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
770 "l": "-foo\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
771 "n": 4,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
772 "t": "-"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
773 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
774 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
775 "l": "+bar\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
776 "n": 5,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
777 "t": "+"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
778 }
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
779 ]
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
780 }
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
781 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
782 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
783 "parents": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
784 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
785 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
786 "path": "foo"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
787 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
788
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
789 comparison/{revision}/{path} shows information about before and after for a file
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
790
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
791 $ request json-comparison/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
792 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
793
24714
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
794 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
795 "author": "test",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
796 "children": [],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
797 "comparison": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
798 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
799 "lines": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
800 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
801 "ll": "foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
802 "ln": 1,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
803 "rl": "bar",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
804 "rn": 1,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
805 "t": "replace"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
806 }
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
807 ]
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
808 }
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
809 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
810 "date": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
811 0.0,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
812 0
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
813 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
814 "desc": "modify foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
815 "leftnode": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
816 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
817 "parents": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
818 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
819 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
820 "path": "foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
821 "rightnode": "f8bbb9024b10f93cdbb8d940337398291d40dea8"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
822 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
823
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
824 annotate/{revision}/{path} shows annotations for each line
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
825
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
826 $ request json-annotate/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
827 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
828
24715
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
829 {
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
830 "abspath": "foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
831 "annotate": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
832 {
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
833 "abspath": "foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
834 "author": "test",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
835 "desc": "modify foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
836 "line": "bar\n",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
837 "lineno": 1,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
838 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
839 "revdate": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
840 0.0,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
841 0
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
842 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
843 "targetline": 1
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
844 }
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
845 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
846 "author": "test",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
847 "children": [],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
848 "date": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
849 0.0,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
850 0
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
851 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
852 "desc": "modify foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
853 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
854 "parents": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
855 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
856 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
857 "permissions": ""
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
858 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
859
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
860 filelog/{revision}/{path} shows history of a single file
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
861
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
862 $ request json-filelog/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
863 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
864
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
865 "not yet implemented"
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
866
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
867 (archive/ doesn't use templating, so ignore it)
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
868
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
869 (static/ doesn't use templating, so ignore it)
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
870
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
871 graph/ shows information that can be used to render a graph of the DAG
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
872
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
873 $ request json-graph
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
874 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
875
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
876 "not yet implemented"
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
877
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
878 help/ shows help topics
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
879
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
880 $ request json-help
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
881 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
882
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
883 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
884 "earlycommands": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
885 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
886 "summary": "add the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
887 "topic": "add"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
888 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
889 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
890 "summary": "show changeset information by line for each file",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
891 "topic": "annotate"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
892 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
893 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
894 "summary": "make a copy of an existing repository",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
895 "topic": "clone"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
896 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
897 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
898 "summary": "commit the specified files or all outstanding changes",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
899 "topic": "commit"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
900 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
901 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
902 "summary": "diff repository (or selected files)",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
903 "topic": "diff"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
904 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
905 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
906 "summary": "dump the header and diffs for one or more changesets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
907 "topic": "export"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
908 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
909 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
910 "summary": "forget the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
911 "topic": "forget"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
912 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
913 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
914 "summary": "create a new repository in the given directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
915 "topic": "init"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
916 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
917 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
918 "summary": "show revision history of entire repository or files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
919 "topic": "log"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
920 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
921 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
922 "summary": "merge another revision into working directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
923 "topic": "merge"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
924 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
925 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
926 "summary": "pull changes from the specified source",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
927 "topic": "pull"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
928 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
929 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
930 "summary": "push changes to the specified destination",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
931 "topic": "push"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
932 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
933 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
934 "summary": "remove the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
935 "topic": "remove"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
936 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
937 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
938 "summary": "start stand-alone webserver",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
939 "topic": "serve"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
940 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
941 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
942 "summary": "show changed files in the working directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
943 "topic": "status"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
944 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
945 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
946 "summary": "summarize working directory state",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
947 "topic": "summary"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
948 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
949 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
950 "summary": "update working directory (or switch revisions)",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
951 "topic": "update"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
952 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
953 ],
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
954 "othercommands": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
955 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
956 "summary": "add all new files, delete all missing files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
957 "topic": "addremove"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
958 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
959 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
960 "summary": "create an unversioned archive of a repository revision",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
961 "topic": "archive"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
962 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
963 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
964 "summary": "reverse effect of earlier changeset",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
965 "topic": "backout"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
966 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
967 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
968 "summary": "subdivision search of changesets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
969 "topic": "bisect"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
970 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
971 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
972 "summary": "create a new bookmark or list existing bookmarks",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
973 "topic": "bookmarks"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
974 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
975 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
976 "summary": "set or show the current branch name",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
977 "topic": "branch"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
978 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
979 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
980 "summary": "list repository named branches",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
981 "topic": "branches"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
982 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
983 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
984 "summary": "create a changegroup file",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
985 "topic": "bundle"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
986 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
987 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
988 "summary": "output the current or given revision of files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
989 "topic": "cat"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
990 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
991 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
992 "summary": "show combined config settings from all hgrc files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
993 "topic": "config"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
994 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
995 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
996 "summary": "mark files as copied for the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
997 "topic": "copy"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
998 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
999 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1000 "summary": "list tracked files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1001 "topic": "files"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1002 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1003 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1004 "summary": "copy changes from other branches onto the current branch",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1005 "topic": "graft"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1006 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1007 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1008 "summary": "search for a pattern in specified files and revisions",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1009 "topic": "grep"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1010 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1011 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1012 "summary": "show branch heads",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1013 "topic": "heads"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1014 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1015 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1016 "summary": "show help for a given topic or a help overview",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1017 "topic": "help"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1018 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1019 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1020 "summary": "identify the working directory or specified revision",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1021 "topic": "identify"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1022 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1023 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1024 "summary": "import an ordered set of patches",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1025 "topic": "import"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1026 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1027 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1028 "summary": "show new changesets found in source",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1029 "topic": "incoming"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1030 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1031 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1032 "summary": "output the current or given revision of the project manifest",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1033 "topic": "manifest"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1034 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1035 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1036 "summary": "show changesets not found in the destination",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1037 "topic": "outgoing"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1038 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1039 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1040 "summary": "show aliases for remote repositories",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1041 "topic": "paths"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1042 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1043 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1044 "summary": "set or show the current phase name",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1045 "topic": "phase"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1046 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1047 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1048 "summary": "roll back an interrupted transaction",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1049 "topic": "recover"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1050 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1051 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1052 "summary": "rename files; equivalent of copy + remove",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1053 "topic": "rename"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1054 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1055 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1056 "summary": "redo merges or set/view the merge status of files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1057 "topic": "resolve"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1058 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1059 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1060 "summary": "restore files to their checkout state",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1061 "topic": "revert"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1062 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1063 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1064 "summary": "print the root (top) of the current working directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1065 "topic": "root"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1066 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1067 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1068 "summary": "add one or more tags for the current or given revision",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1069 "topic": "tag"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1070 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1071 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1072 "summary": "list repository tags",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1073 "topic": "tags"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1074 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1075 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1076 "summary": "apply one or more changegroup files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1077 "topic": "unbundle"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1078 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1079 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1080 "summary": "verify the integrity of the repository",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1081 "topic": "verify"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1082 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1083 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1084 "summary": "output version and copyright information",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1085 "topic": "version"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1086 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1087 ],
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1088 "topics": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1089 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1090 "summary": "Configuration Files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1091 "topic": "config"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1092 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1093 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1094 "summary": "Date Formats",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1095 "topic": "dates"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1096 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1097 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1098 "summary": "Diff Formats",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1099 "topic": "diffs"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1100 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1101 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1102 "summary": "Environment Variables",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1103 "topic": "environment"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1104 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1105 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1106 "summary": "Using Additional Features",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1107 "topic": "extensions"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1108 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1109 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1110 "summary": "Specifying File Sets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1111 "topic": "filesets"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1112 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1113 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1114 "summary": "Glossary",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1115 "topic": "glossary"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1116 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1117 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1118 "summary": "Syntax for Mercurial Ignore Files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1119 "topic": "hgignore"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1120 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1121 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1122 "summary": "Configuring hgweb",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1123 "topic": "hgweb"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1124 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1125 {
27376
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
1126 "summary": "Technical implementation topics",
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
1127 "topic": "internals"
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
1128 },
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
1129 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1130 "summary": "Merge Tools",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1131 "topic": "merge-tools"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1132 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1133 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1134 "summary": "Specifying Multiple Revisions",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1135 "topic": "multirevs"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1136 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1137 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1138 "summary": "File Name Patterns",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1139 "topic": "patterns"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1140 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1141 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1142 "summary": "Working with Phases",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1143 "topic": "phases"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1144 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1145 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1146 "summary": "Specifying Single Revisions",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1147 "topic": "revisions"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1148 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1149 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1150 "summary": "Specifying Revision Sets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1151 "topic": "revsets"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1152 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1153 {
25881
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
1154 "summary": "Using Mercurial from scripts and automation",
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
1155 "topic": "scripting"
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
1156 },
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
1157 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1158 "summary": "Subrepositories",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1159 "topic": "subrepos"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1160 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1161 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1162 "summary": "Template Usage",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1163 "topic": "templating"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1164 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1165 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1166 "summary": "URL Paths",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1167 "topic": "urls"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1168 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1169 ]
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1170 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1171
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1172 help/{topic} shows an individual help topic
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1173
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1174 $ request json-help/phases
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1175 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1176
24591
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
1177 {
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
1178 "rawdoc": "Working with Phases\n*", (glob)
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
1179 "topic": "phases"
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
1180 }