annotate tests/test-hgweb-json.t @ 29439:c42a3fd5c1fc

hgweb: reindent atom/changelogentry.tmpl It was mixing tabs and spaces, and not in a good way. Indent style of other atom entries seems to be 1 space per level, so let's apply it here as well.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 29 Jun 2016 22:48:32 +0800
parents f3dca85bd2d1
children 81e0955ca2fd
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
29381
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
114 $ request json-file/78896eb0e102/foo-new
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
29381
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
117 {
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
118 "bookmarks": [],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
119 "branch": "default",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
120 "date": [
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
121 0.0,
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
122 0
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
123 ],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
124 "desc": "move foo",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
125 "lines": [
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
126 {
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
127 "line": "bar\n"
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
128 }
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
129 ],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
130 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
131 "parents": [
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
132 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
133 ],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
134 "path": "foo-new",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
135 "phase": "public",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
136 "tags": [
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
137 "tag1"
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
138 ],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
139 "user": "test"
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
140 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
141
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
142 file/{revision} shows root directory info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
143
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
144 $ request json-file/cc725e08502a
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
145 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
146
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
147 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
148 "abspath": "/",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
149 "bookmarks": [],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
150 "directories": [
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 "abspath": "/da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
153 "basename": "da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
154 "emptydirs": ""
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 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
157 "files": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
158 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
159 "abspath": ".hgtags",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
160 "basename": ".hgtags",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
161 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
162 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
163 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
164 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
165 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
166 "size": 92
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
167 },
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
168 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
169 "abspath": "foo-new",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
170 "basename": "foo-new",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
171 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
172 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
173 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
174 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
175 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
176 "size": 4
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
177 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
178 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
179 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
180 "tags": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
181 "tip"
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
182 ]
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
183 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
184
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
185 changelog/ shows information about several changesets
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
186
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
187 $ request json-changelog
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
188 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
189
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
190 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
191 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
192 "changesets": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
193 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
194 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
195 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
196 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
197 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
198 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
199 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
200 "desc": "merge test-branch into default",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
201 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
202 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
203 "ceed296fe500c3fac9541e31dad860cb49c89e45",
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
204 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
205 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
206 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
207 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
208 "tip"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
209 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
210 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
211 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
212 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
213 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
214 "branch": "test-branch",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
215 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
216 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
217 0
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 "desc": "another commit in test-branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
220 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
221 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
222 "6ab967a8ab3489227a83f80e920faa039a71819f"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
223 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
224 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
225 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
226 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
227 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
228 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
229 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
230 "branch": "test-branch",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
231 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
232 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
233 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
234 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
235 "desc": "create test branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
236 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
237 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
238 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
239 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
240 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
241 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
242 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
243 },
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 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
246 "bookmark2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
247 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
248 "branch": "default",
24588
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 tag2",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
254 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
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 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
257 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
258 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
259 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
260 "user": "test"
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 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
263 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
264 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
265 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
266 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
267 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
268 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
269 "desc": "another commit to da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
270 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
271 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
272 "93a8ce14f89156426b7fa981af8042da53f03aa0"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
273 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
274 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
275 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
276 "tag2"
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 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
279 },
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 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
282 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
283 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
284 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
285 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
286 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
287 "desc": "create tag",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
288 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
289 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
290 "78896eb0e102174ce9278438a95e12543e4367a7"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
291 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
292 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
293 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
294 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
295 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
296 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
297 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
298 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
299 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
300 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
301 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
302 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
303 "desc": "move foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
304 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
305 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
306 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
307 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
308 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
309 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
310 "tag1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
311 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
312 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
313 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
314 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
315 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
316 "bookmark1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
317 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
318 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
319 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
320 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
321 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
322 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
323 "desc": "modify da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
324 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
325 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
326 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
327 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
328 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
329 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
330 "user": "test"
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 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
333 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
334 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
335 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
336 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
337 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
338 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
339 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
340 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
341 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
342 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
343 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
344 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
345 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
346 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
347 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
348 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
349 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
350 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
351 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
352 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
353 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
354 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
355 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
356 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
357 "parents": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
358 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
359 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
360 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
361 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
362 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
363 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
364 }
24544
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 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
367
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
368 $ request json-changelog/f8bbb9024b10
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
369 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
370
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
371 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
372 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
373 "changesets": [
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 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
376 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
377 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
378 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
379 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
380 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
381 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
382 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
383 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
384 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
385 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
386 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
387 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
388 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
389 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
390 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
391 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
392 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
393 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
394 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
395 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
396 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
397 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
398 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
399 "parents": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
400 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
401 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
402 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
403 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
404 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
405 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
406 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
407
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
408 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
409
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
410 $ request json-shortlog
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
411 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
412
24588
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 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
415 "changesets": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
416 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
417 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
418 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
419 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
420 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
421 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
422 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
423 "desc": "merge test-branch into default",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
424 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
425 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
426 "ceed296fe500c3fac9541e31dad860cb49c89e45",
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
427 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
428 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
429 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
430 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
431 "tip"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
432 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
433 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
434 },
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 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
437 "branch": "test-branch",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
438 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
439 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
440 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
441 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
442 "desc": "another commit in test-branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
443 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
444 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
445 "6ab967a8ab3489227a83f80e920faa039a71819f"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
446 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
447 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
448 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
449 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
450 },
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 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
453 "branch": "test-branch",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
454 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
455 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
456 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
457 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
458 "desc": "create test branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
459 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
460 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
461 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
462 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
463 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
464 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
465 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
466 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
467 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
468 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
469 "bookmark2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
470 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
471 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
472 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
473 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
474 0
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 "desc": "create tag2",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
477 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
478 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
479 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
480 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
481 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
482 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
483 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
484 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
485 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
486 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
487 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
488 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
489 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
490 0
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 "desc": "another commit to da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
493 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
494 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
495 "93a8ce14f89156426b7fa981af8042da53f03aa0"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
496 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
497 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
498 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
499 "tag2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
500 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
501 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
502 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
503 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
504 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
505 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
506 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
507 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
508 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
509 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
510 "desc": "create tag",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
511 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
512 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
513 "78896eb0e102174ce9278438a95e12543e4367a7"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
514 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
515 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
516 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
517 "user": "test"
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 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
520 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
521 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
522 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
523 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
524 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
525 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
526 "desc": "move foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
527 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
528 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
529 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
530 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
531 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
532 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
533 "tag1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
534 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
535 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
536 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
537 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
538 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
539 "bookmark1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
540 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
541 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
542 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
543 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
544 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
545 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
546 "desc": "modify da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
547 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
548 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
549 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
550 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
551 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
552 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
553 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
554 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
555 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
556 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
557 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
558 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
559 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
560 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
561 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
562 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
563 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
564 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
565 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
566 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
567 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
568 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
569 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
570 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
571 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
572 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
573 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
574 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
575 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
576 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
577 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
578 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
579 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
580 "parents": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
581 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
582 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
583 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
584 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
585 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
586 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
587 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
588
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
589 changeset/ renders the tip changeset
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
590
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
591 $ request json-rev
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
592 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
593
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
594 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
595 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
596 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
597 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
598 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
599 0
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 "desc": "merge test-branch into default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
602 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
603 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
604 "ceed296fe500c3fac9541e31dad860cb49c89e45",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
605 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
606 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
607 "phase": "draft",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
608 "tags": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
609 "tip"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
610 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
611 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
612 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
613
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
614 changeset/{revision} shows tags
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
615
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
616 $ request json-rev/78896eb0e102
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
617 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
618
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
619 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
620 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
621 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
622 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
623 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
624 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
625 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
626 "desc": "move foo",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
627 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
628 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
629 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
630 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
631 "phase": "public",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
632 "tags": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
633 "tag1"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
634 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
635 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
636 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
637
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
638 changeset/{revision} shows bookmarks
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
639
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
640 $ request json-rev/8d7c456572ac
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
641 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
642
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
643 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
644 "bookmarks": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
645 "bookmark1"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
646 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
647 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
648 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
649 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
650 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
651 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
652 "desc": "modify da/foo",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
653 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
654 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
655 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
656 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
657 "phase": "public",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
658 "tags": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
659 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
660 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
661
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
662 changeset/{revision} shows branches
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
663
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
664 $ request json-rev/6ab967a8ab34
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
665 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
666
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
667 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
668 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
669 "branch": "test-branch",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
670 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
671 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
672 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
673 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
674 "desc": "create test branch",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
675 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
676 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
677 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
678 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
679 "phase": "draft",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
680 "tags": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
681 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
682 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
683
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
684 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
685
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
686 $ request json-manifest/06e557f3edf6/
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
687 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
688
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
689 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
690 "abspath": "/",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
691 "bookmarks": [],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
692 "directories": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
693 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
694 "abspath": "/da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
695 "basename": "da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
696 "emptydirs": ""
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
697 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
698 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
699 "files": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
700 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
701 "abspath": "foo",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
702 "basename": "foo",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
703 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
704 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
705 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
706 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
707 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
708 "size": 4
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
709 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
710 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
711 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
712 "tags": []
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
713 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
714
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
715 tags/ shows tags info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
716
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
717 $ request json-tags
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
718 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
719
24545
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
720 {
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
721 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
24545
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
722 "tags": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
723 {
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
724 "date": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
725 0.0,
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
726 0
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
727 ],
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
728 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
729 "tag": "tag2"
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
730 },
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
731 {
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
732 "date": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
733 0.0,
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
734 0
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
735 ],
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
736 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
737 "tag": "tag1"
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
738 }
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
739 ]
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
740 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
741
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
742 bookmarks/ shows bookmarks info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
743
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
744 $ request json-bookmarks
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
745 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
746
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
747 {
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
748 "bookmarks": [
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
749 {
28711
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
750 "bookmark": "bookmark2",
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
751 "date": [
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
752 0.0,
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
753 0
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
754 ],
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
755 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45"
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
756 },
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
757 {
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
758 "bookmark": "bookmark1",
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
759 "date": [
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
760 0.0,
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
761 0
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
762 ],
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
763 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5"
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
764 }
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
765 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
766 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
767 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
768
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
769 branches/ shows branches info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
770
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
771 $ request json-branches
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
772 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
773
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
774 {
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
775 "branches": [
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
776 {
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
777 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
778 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
779 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
780 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
781 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
782 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
783 "status": "open"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
784 },
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
785 {
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
786 "branch": "test-branch",
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
787 "date": [
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
788 0.0,
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
789 0
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
790 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
791 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
792 "status": "inactive"
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
793 }
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
794 ]
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
795 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
796
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
797 summary/ shows a summary of repository state
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
798
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
799 $ request json-summary
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
800 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
801
29382
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
802 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
803 "archives": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
804 "bookmarks": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
805 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
806 "bookmark": "bookmark2",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
807 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
808 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
809 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
810 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
811 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
812 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
813 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
814 "bookmark": "bookmark1",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
815 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
816 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
817 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
818 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
819 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
820 }
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
821 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
822 "branches": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
823 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
824 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
825 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
826 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
827 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
828 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
829 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
830 "status": "open"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
831 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
832 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
833 "branch": "test-branch",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
834 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
835 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
836 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
837 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
838 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
839 "status": "inactive"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
840 }
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
841 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
842 "lastchange": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
843 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
844 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
845 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
846 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
847 "shortlog": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
848 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
849 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
850 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
851 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
852 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
853 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
854 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
855 "desc": "merge test-branch into default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
856 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
857 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
858 "ceed296fe500c3fac9541e31dad860cb49c89e45",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
859 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
860 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
861 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
862 "tags": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
863 "tip"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
864 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
865 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
866 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
867 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
868 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
869 "branch": "test-branch",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
870 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
871 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
872 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
873 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
874 "desc": "another commit in test-branch",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
875 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
876 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
877 "6ab967a8ab3489227a83f80e920faa039a71819f"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
878 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
879 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
880 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
881 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
882 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
883 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
884 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
885 "branch": "test-branch",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
886 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
887 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
888 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
889 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
890 "desc": "create test branch",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
891 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
892 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
893 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
894 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
895 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
896 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
897 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
898 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
899 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
900 "bookmarks": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
901 "bookmark2"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
902 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
903 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
904 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
905 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
906 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
907 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
908 "desc": "create tag2",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
909 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
910 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
911 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
912 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
913 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
914 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
915 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
916 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
917 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
918 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
919 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
920 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
921 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
922 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
923 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
924 "desc": "another commit to da/foo",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
925 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
926 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
927 "93a8ce14f89156426b7fa981af8042da53f03aa0"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
928 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
929 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
930 "tags": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
931 "tag2"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
932 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
933 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
934 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
935 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
936 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
937 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
938 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
939 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
940 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
941 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
942 "desc": "create tag",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
943 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
944 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
945 "78896eb0e102174ce9278438a95e12543e4367a7"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
946 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
947 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
948 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
949 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
950 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
951 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
952 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
953 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
954 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
955 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
956 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
957 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
958 "desc": "move foo",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
959 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
960 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
961 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
962 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
963 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
964 "tags": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
965 "tag1"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
966 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
967 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
968 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
969 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
970 "bookmarks": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
971 "bookmark1"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
972 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
973 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
974 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
975 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
976 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
977 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
978 "desc": "modify da/foo",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
979 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
980 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
981 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
982 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
983 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
984 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
985 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
986 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
987 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
988 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
989 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
990 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
991 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
992 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
993 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
994 "desc": "modify foo",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
995 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
996 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
997 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
998 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
999 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1000 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1001 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1002 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1003 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1004 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1005 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1006 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1007 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1008 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1009 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1010 "desc": "initial",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1011 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1012 "parents": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1013 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1014 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1015 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1016 }
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1017 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1018 "tags": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1019 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1020 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1021 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1022 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1023 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1024 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1025 "tag": "tag2"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1026 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1027 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1028 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1029 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1030 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1031 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1032 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1033 "tag": "tag1"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1034 }
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1035 ]
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1036 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1037
29383
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1038 $ request json-changelog?rev=create
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1039 200 Script output follows
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1040
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1041 {
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1042 "entries": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1043 {
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1044 "bookmarks": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1045 "branch": "test-branch",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1046 "date": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1047 0.0,
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1048 0
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1049 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1050 "desc": "create test branch",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1051 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1052 "parents": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1053 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1054 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1055 "phase": "draft",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1056 "tags": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1057 "user": "test"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1058 },
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1059 {
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1060 "bookmarks": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1061 "bookmark2"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1062 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1063 "branch": "default",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1064 "date": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1065 0.0,
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1066 0
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1067 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1068 "desc": "create tag2",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1069 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1070 "parents": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1071 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1072 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1073 "phase": "draft",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1074 "tags": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1075 "user": "test"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1076 },
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1077 {
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1078 "bookmarks": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1079 "branch": "default",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1080 "date": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1081 0.0,
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1082 0
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1083 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1084 "desc": "create tag",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1085 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1086 "parents": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1087 "78896eb0e102174ce9278438a95e12543e4367a7"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1088 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1089 "phase": "public",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1090 "tags": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1091 "user": "test"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1092 }
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1093 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1094 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1095 "query": "create"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1096 }
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1097
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1098 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
1099
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1100 $ request json-diff/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1101 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1102
24713
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1103 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1104 "author": "test",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1105 "children": [],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1106 "date": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1107 0.0,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1108 0
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1109 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1110 "desc": "modify foo",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1111 "diff": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1112 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1113 "blockno": 1,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1114 "lines": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1115 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1116 "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
1117 "n": 1,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1118 "t": "-"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1119 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1120 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1121 "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
1122 "n": 2,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1123 "t": "+"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1124 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1125 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1126 "l": "@@ -1,1 +1,1 @@\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1127 "n": 3,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1128 "t": "@"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1129 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1130 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1131 "l": "-foo\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1132 "n": 4,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1133 "t": "-"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1134 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1135 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1136 "l": "+bar\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1137 "n": 5,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1138 "t": "+"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1139 }
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1140 ]
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1141 }
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1142 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1143 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1144 "parents": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1145 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1146 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1147 "path": "foo"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1148 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1149
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1150 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
1151
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1152 $ request json-comparison/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1153 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1154
24714
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1155 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1156 "author": "test",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1157 "children": [],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1158 "comparison": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1159 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1160 "lines": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1161 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1162 "ll": "foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1163 "ln": 1,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1164 "rl": "bar",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1165 "rn": 1,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1166 "t": "replace"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1167 }
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1168 ]
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1169 }
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1170 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1171 "date": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1172 0.0,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1173 0
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1174 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1175 "desc": "modify foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1176 "leftnode": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1177 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1178 "parents": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1179 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1180 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1181 "path": "foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1182 "rightnode": "f8bbb9024b10f93cdbb8d940337398291d40dea8"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1183 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1184
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1185 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
1186
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1187 $ request json-annotate/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1188 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1189
24715
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1190 {
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1191 "abspath": "foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1192 "annotate": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1193 {
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1194 "abspath": "foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1195 "author": "test",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1196 "desc": "modify foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1197 "line": "bar\n",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1198 "lineno": 1,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1199 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1200 "revdate": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1201 0.0,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1202 0
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1203 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1204 "targetline": 1
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1205 }
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1206 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1207 "author": "test",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1208 "children": [],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1209 "date": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1210 0.0,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1211 0
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1212 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1213 "desc": "modify foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1214 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1215 "parents": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1216 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1217 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1218 "permissions": ""
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1219 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1220
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1221 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
1222
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1223 $ request json-filelog/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1224 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1225
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1226 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1227 "entries": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1228 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1229 "bookmarks": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1230 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1231 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1232 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1233 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1234 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1235 "desc": "modify foo",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1236 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1237 "parents": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1238 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1239 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1240 "phase": "public",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1241 "tags": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1242 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1243 },
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1244 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1245 "bookmarks": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1246 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1247 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1248 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1249 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1250 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1251 "desc": "initial",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1252 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1253 "parents": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1254 "phase": "public",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1255 "tags": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1256 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1257 }
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1258 ]
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1259 }
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1260
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1261 $ request json-filelog/cc725e08502a/da/foo
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1262 200 Script output follows
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1263
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1264 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1265 "entries": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1266 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1267 "bookmarks": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1268 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1269 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1270 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1271 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1272 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1273 "desc": "another commit to da/foo",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1274 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1275 "parents": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1276 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1277 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1278 "phase": "draft",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1279 "tags": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1280 "tag2"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1281 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1282 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1283 },
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1284 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1285 "bookmarks": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1286 "bookmark1"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1287 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1288 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1289 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1290 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1291 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1292 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1293 "desc": "modify da/foo",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1294 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1295 "parents": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1296 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1297 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1298 "phase": "public",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1299 "tags": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1300 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1301 },
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1302 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1303 "bookmarks": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1304 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1305 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1306 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1307 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1308 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1309 "desc": "initial",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1310 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1311 "parents": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1312 "phase": "public",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1313 "tags": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1314 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1315 }
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1316 ]
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1317 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1318
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1319 (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
1320
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1321 (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
1322
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1323 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
1324
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1325 $ request json-graph
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1326 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1327
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1328 "not yet implemented"
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1329
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1330 help/ shows help topics
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1331
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1332 $ request json-help
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1333 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1334
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1335 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1336 "earlycommands": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1337 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1338 "summary": "add the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1339 "topic": "add"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1340 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1341 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1342 "summary": "show changeset information by line for each file",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1343 "topic": "annotate"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1344 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1345 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1346 "summary": "make a copy of an existing repository",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1347 "topic": "clone"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1348 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1349 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1350 "summary": "commit the specified files or all outstanding changes",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1351 "topic": "commit"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1352 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1353 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1354 "summary": "diff repository (or selected files)",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1355 "topic": "diff"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1356 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1357 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1358 "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
1359 "topic": "export"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1360 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1361 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1362 "summary": "forget the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1363 "topic": "forget"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1364 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1365 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1366 "summary": "create a new repository in the given directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1367 "topic": "init"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1368 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1369 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1370 "summary": "show revision history of entire repository or files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1371 "topic": "log"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1372 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1373 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1374 "summary": "merge another revision into working directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1375 "topic": "merge"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1376 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1377 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1378 "summary": "pull changes from the specified source",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1379 "topic": "pull"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1380 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1381 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1382 "summary": "push changes to the specified destination",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1383 "topic": "push"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1384 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1385 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1386 "summary": "remove the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1387 "topic": "remove"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1388 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1389 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1390 "summary": "start stand-alone webserver",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1391 "topic": "serve"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1392 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1393 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1394 "summary": "show changed files in the working directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1395 "topic": "status"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1396 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1397 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1398 "summary": "summarize working directory state",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1399 "topic": "summary"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1400 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1401 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1402 "summary": "update working directory (or switch revisions)",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1403 "topic": "update"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1404 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1405 ],
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1406 "othercommands": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1407 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1408 "summary": "add all new files, delete all missing files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1409 "topic": "addremove"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1410 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1411 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1412 "summary": "create an unversioned archive of a repository revision",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1413 "topic": "archive"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1414 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1415 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1416 "summary": "reverse effect of earlier changeset",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1417 "topic": "backout"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1418 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1419 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1420 "summary": "subdivision search of changesets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1421 "topic": "bisect"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1422 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1423 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1424 "summary": "create a new bookmark or list existing bookmarks",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1425 "topic": "bookmarks"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1426 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1427 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1428 "summary": "set or show the current branch name",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1429 "topic": "branch"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1430 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1431 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1432 "summary": "list repository named branches",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1433 "topic": "branches"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1434 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1435 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1436 "summary": "create a changegroup file",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1437 "topic": "bundle"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1438 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1439 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1440 "summary": "output the current or given revision of files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1441 "topic": "cat"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1442 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1443 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1444 "summary": "show combined config settings from all hgrc files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1445 "topic": "config"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1446 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1447 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1448 "summary": "mark files as copied for the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1449 "topic": "copy"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1450 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1451 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1452 "summary": "list tracked files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1453 "topic": "files"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1454 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1455 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1456 "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
1457 "topic": "graft"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1458 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1459 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1460 "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
1461 "topic": "grep"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1462 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1463 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1464 "summary": "show branch heads",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1465 "topic": "heads"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1466 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1467 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1468 "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
1469 "topic": "help"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1470 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1471 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1472 "summary": "identify the working directory or specified revision",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1473 "topic": "identify"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1474 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1475 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1476 "summary": "import an ordered set of patches",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1477 "topic": "import"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1478 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1479 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1480 "summary": "show new changesets found in source",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1481 "topic": "incoming"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1482 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1483 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1484 "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
1485 "topic": "manifest"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1486 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1487 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1488 "summary": "show changesets not found in the destination",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1489 "topic": "outgoing"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1490 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1491 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1492 "summary": "show aliases for remote repositories",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1493 "topic": "paths"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1494 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1495 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1496 "summary": "set or show the current phase name",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1497 "topic": "phase"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1498 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1499 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1500 "summary": "roll back an interrupted transaction",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1501 "topic": "recover"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1502 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1503 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1504 "summary": "rename files; equivalent of copy + remove",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1505 "topic": "rename"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1506 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1507 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1508 "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
1509 "topic": "resolve"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1510 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1511 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1512 "summary": "restore files to their checkout state",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1513 "topic": "revert"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1514 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1515 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1516 "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
1517 "topic": "root"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1518 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1519 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1520 "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
1521 "topic": "tag"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1522 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1523 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1524 "summary": "list repository tags",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1525 "topic": "tags"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1526 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1527 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1528 "summary": "apply one or more changegroup files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1529 "topic": "unbundle"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1530 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1531 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1532 "summary": "verify the integrity of the repository",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1533 "topic": "verify"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1534 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1535 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1536 "summary": "output version and copyright information",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1537 "topic": "version"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1538 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1539 ],
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1540 "topics": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1541 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1542 "summary": "Configuration Files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1543 "topic": "config"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1544 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1545 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1546 "summary": "Date Formats",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1547 "topic": "dates"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1548 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1549 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1550 "summary": "Diff Formats",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1551 "topic": "diffs"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1552 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1553 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1554 "summary": "Environment Variables",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1555 "topic": "environment"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1556 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1557 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1558 "summary": "Using Additional Features",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1559 "topic": "extensions"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1560 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1561 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1562 "summary": "Specifying File Sets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1563 "topic": "filesets"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1564 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1565 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1566 "summary": "Glossary",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1567 "topic": "glossary"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1568 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1569 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1570 "summary": "Syntax for Mercurial Ignore Files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1571 "topic": "hgignore"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1572 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1573 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1574 "summary": "Configuring hgweb",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1575 "topic": "hgweb"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1576 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1577 {
27376
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
1578 "summary": "Technical implementation topics",
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
1579 "topic": "internals"
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
1580 },
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
1581 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1582 "summary": "Merge Tools",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1583 "topic": "merge-tools"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1584 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1585 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1586 "summary": "Specifying Multiple Revisions",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1587 "topic": "multirevs"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1588 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1589 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1590 "summary": "File Name Patterns",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1591 "topic": "patterns"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1592 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1593 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1594 "summary": "Working with Phases",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1595 "topic": "phases"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1596 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1597 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1598 "summary": "Specifying Single Revisions",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1599 "topic": "revisions"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1600 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1601 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1602 "summary": "Specifying Revision Sets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1603 "topic": "revsets"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1604 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1605 {
25881
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
1606 "summary": "Using Mercurial from scripts and automation",
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
1607 "topic": "scripting"
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
1608 },
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
1609 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1610 "summary": "Subrepositories",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1611 "topic": "subrepos"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1612 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1613 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1614 "summary": "Template Usage",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1615 "topic": "templating"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1616 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1617 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1618 "summary": "URL Paths",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1619 "topic": "urls"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1620 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1621 ]
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
1622 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1623
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1624 help/{topic} shows an individual help topic
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1625
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1626 $ request json-help/phases
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1627 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1628
24591
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
1629 {
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
1630 "rawdoc": "Working with Phases\n*", (glob)
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
1631 "topic": "phases"
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
1632 }