annotate tests/test-hgweb-json.t @ 50071:d91fc026071c

rollback: remove the dirstateguard usage Thanks to the previous changeset, we no longer needs it. begone !
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 16 Feb 2023 00:14:21 +0100
parents 7ccd31fda132
children c0fbd63d66a7
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
29457
81e0955ca2fd tests: allow bz2 archives in test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 29383
diff changeset
103 $ echo '[web]' >> .hg/hgrc
38215
f715faeaceee config: rename allow_archive to allow-archive
David Demelier <markand@malikania.fr>
parents: 37998
diff changeset
104 $ echo 'allow-archive = bz2' >> .hg/hgrc
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
105 $ 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
106 $ cat hg.pid >> $DAEMON_PIDS
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 (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
109
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
110 (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
111
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
112 (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
113
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
114 file/{revision}/{path} shows file revision
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
115
29381
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
116 $ request json-file/78896eb0e102/foo-new
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
117 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
118
29381
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
119 {
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
120 "bookmarks": [],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
121 "branch": "default",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
122 "date": [
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
123 0.0,
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
124 0
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
125 ],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
126 "desc": "move foo",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
127 "lines": [
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 "line": "bar\n"
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
130 }
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
131 ],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
132 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
133 "parents": [
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
134 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
135 ],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
136 "path": "foo-new",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
137 "phase": "public",
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
138 "tags": [
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
139 "tag1"
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
140 ],
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
141 "user": "test"
8bfe44494a0d templates: add support for filerevision webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29380
diff changeset
142 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
143
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
144 file/{revision} shows root directory info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
145
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
146 $ request json-file/cc725e08502a
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
147 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
148
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
149 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
150 "abspath": "/",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
151 "bookmarks": [],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
152 "directories": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
153 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
154 "abspath": "/da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
155 "basename": "da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
156 "emptydirs": ""
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
157 }
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 "files": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
160 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
161 "abspath": ".hgtags",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
162 "basename": ".hgtags",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
163 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
164 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
165 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
166 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
167 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
168 "size": 92
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
169 },
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
170 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
171 "abspath": "foo-new",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
172 "basename": "foo-new",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
173 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
174 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
175 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
176 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
177 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
178 "size": 4
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
179 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
180 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
181 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
182 "tags": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
183 "tip"
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
184 ]
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
185 }
24544
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 changelog/ shows information about several changesets
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
188
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
189 $ request json-changelog
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
190 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
191
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
192 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
193 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
194 "changesets": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
195 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
196 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
197 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
198 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
199 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
200 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
201 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
202 "desc": "merge test-branch into default",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
203 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
204 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
205 "ceed296fe500c3fac9541e31dad860cb49c89e45",
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
206 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
207 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
208 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
209 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
210 "tip"
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 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
213 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
214 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
215 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
216 "branch": "test-branch",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
217 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
218 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
219 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
220 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
221 "desc": "another commit in test-branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
222 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
223 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
224 "6ab967a8ab3489227a83f80e920faa039a71819f"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
225 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
226 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
227 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
228 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
229 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
230 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
231 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
232 "branch": "test-branch",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
233 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
234 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
235 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
236 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
237 "desc": "create test branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
238 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
239 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
240 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
241 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
242 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
243 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
244 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
245 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
246 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
247 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
248 "bookmark2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
249 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
250 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
251 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
252 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
253 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
254 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
255 "desc": "create tag2",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
256 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
257 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
258 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
259 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
260 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
261 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
262 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
263 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
264 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
265 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
266 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
267 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
268 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
269 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
270 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
271 "desc": "another commit to da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
272 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
273 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
274 "93a8ce14f89156426b7fa981af8042da53f03aa0"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
275 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
276 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
277 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
278 "tag2"
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 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
281 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
282 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
283 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
284 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
285 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
286 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
287 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
288 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
289 "desc": "create tag",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
290 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
291 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
292 "78896eb0e102174ce9278438a95e12543e4367a7"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
293 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
294 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
295 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
296 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
297 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
298 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
299 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
300 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
301 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
302 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
303 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
304 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
305 "desc": "move foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
306 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
307 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
308 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
309 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
310 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
311 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
312 "tag1"
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 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
315 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
316 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
317 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
318 "bookmark1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
319 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
320 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
321 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
322 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
323 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
324 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
325 "desc": "modify da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
326 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
327 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
328 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
329 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
330 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
331 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
332 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
333 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
334 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
335 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
336 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
337 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
338 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
339 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
340 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
341 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
342 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
343 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
344 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
345 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
346 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
347 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
348 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
349 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
350 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
351 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
352 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
353 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
354 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
355 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
356 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
357 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
358 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
359 "parents": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
360 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
361 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
362 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
363 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
364 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
365 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
366 }
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 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
369
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
370 $ request json-changelog/f8bbb9024b10
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
371 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
372
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
373 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
374 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
375 "changesets": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
376 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
377 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
378 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
379 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
380 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
381 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
382 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
383 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
384 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
385 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
386 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
387 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
388 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
389 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
390 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
391 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
392 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
393 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
394 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
395 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
396 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
397 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
398 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
399 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
400 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
401 "parents": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
402 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
403 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
404 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
405 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
406 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
407 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
408 }
24544
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 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
411
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
412 $ request json-shortlog
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
413 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
414
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
415 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
416 "changeset_count": 10,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
417 "changesets": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
418 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
419 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
420 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
421 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
422 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
423 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
424 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
425 "desc": "merge test-branch into default",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
426 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
427 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
428 "ceed296fe500c3fac9541e31dad860cb49c89e45",
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
429 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
430 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
431 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
432 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
433 "tip"
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 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
436 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
437 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
438 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
439 "branch": "test-branch",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
440 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
441 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
442 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
443 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
444 "desc": "another commit in test-branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
445 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
446 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
447 "6ab967a8ab3489227a83f80e920faa039a71819f"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
448 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
449 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
450 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
451 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
452 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
453 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
454 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
455 "branch": "test-branch",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
456 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
457 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
458 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
459 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
460 "desc": "create test branch",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
461 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
462 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
463 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
464 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
465 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
466 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
467 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
468 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
469 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
470 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
471 "bookmark2"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
472 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
473 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
474 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
475 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
476 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
477 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
478 "desc": "create tag2",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
479 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
480 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
481 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
482 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
483 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
484 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
485 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
486 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
487 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
488 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
489 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
490 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
491 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
492 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
493 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
494 "desc": "another commit to da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
495 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
496 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
497 "93a8ce14f89156426b7fa981af8042da53f03aa0"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
498 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
499 "phase": "draft",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
500 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
501 "tag2"
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 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
504 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
505 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
506 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
507 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
508 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
509 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
510 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
511 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
512 "desc": "create tag",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
513 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
514 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
515 "78896eb0e102174ce9278438a95e12543e4367a7"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
516 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
517 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
518 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
519 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
520 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
521 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
522 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
523 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
524 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
525 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
526 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
527 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
528 "desc": "move foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
529 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
530 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
531 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
532 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
533 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
534 "tags": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
535 "tag1"
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 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
538 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
539 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
540 "bookmarks": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
541 "bookmark1"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
542 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
543 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
544 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
545 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
546 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
547 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
548 "desc": "modify da/foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
549 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
550 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
551 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
552 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
553 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
554 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
555 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
556 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
557 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
558 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
559 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
560 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
561 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
562 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
563 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
564 "desc": "modify foo",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
565 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
566 "parents": [
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
567 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
568 ],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
569 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
570 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
571 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
572 },
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
573 {
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
574 "bookmarks": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
575 "branch": "default",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
576 "date": [
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
577 0.0,
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
578 0
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
579 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
580 "desc": "initial",
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
581 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
28709
94494031f659 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net>
parents: 28126
diff changeset
582 "parents": [],
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
583 "phase": "public",
24588
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
584 "tags": [],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
585 "user": "test"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
586 }
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
587 ],
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
588 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
0bf54479a9eb json: implement {shortlog} and {changelog} templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24564
diff changeset
589 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
590
39468
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
591 shortlog is displayed by default (issue5978)
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
592
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
593 $ request '?style=json'
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
594 200 Script output follows
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
595
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
596 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
597 "changeset_count": 10,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
598 "changesets": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
599 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
600 "bookmarks": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
601 "branch": "default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
602 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
603 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
604 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
605 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
606 "desc": "merge test-branch into default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
607 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
608 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
609 "ceed296fe500c3fac9541e31dad860cb49c89e45",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
610 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
611 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
612 "phase": "draft",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
613 "tags": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
614 "tip"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
615 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
616 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
617 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
618 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
619 "bookmarks": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
620 "branch": "test-branch",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
621 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
622 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
623 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
624 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
625 "desc": "another commit in test-branch",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
626 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
627 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
628 "6ab967a8ab3489227a83f80e920faa039a71819f"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
629 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
630 "phase": "draft",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
631 "tags": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
632 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
633 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
634 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
635 "bookmarks": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
636 "branch": "test-branch",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
637 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
638 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
639 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
640 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
641 "desc": "create test branch",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
642 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
643 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
644 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
645 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
646 "phase": "draft",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
647 "tags": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
648 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
649 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
650 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
651 "bookmarks": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
652 "bookmark2"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
653 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
654 "branch": "default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
655 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
656 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
657 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
658 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
659 "desc": "create tag2",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
660 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
661 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
662 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
663 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
664 "phase": "draft",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
665 "tags": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
666 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
667 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
668 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
669 "bookmarks": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
670 "branch": "default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
671 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
672 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
673 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
674 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
675 "desc": "another commit to da/foo",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
676 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
677 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
678 "93a8ce14f89156426b7fa981af8042da53f03aa0"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
679 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
680 "phase": "draft",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
681 "tags": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
682 "tag2"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
683 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
684 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
685 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
686 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
687 "bookmarks": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
688 "branch": "default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
689 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
690 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
691 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
692 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
693 "desc": "create tag",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
694 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
695 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
696 "78896eb0e102174ce9278438a95e12543e4367a7"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
697 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
698 "phase": "public",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
699 "tags": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
700 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
701 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
702 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
703 "bookmarks": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
704 "branch": "default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
705 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
706 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
707 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
708 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
709 "desc": "move foo",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
710 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
711 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
712 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
713 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
714 "phase": "public",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
715 "tags": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
716 "tag1"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
717 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
718 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
719 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
720 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
721 "bookmarks": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
722 "bookmark1"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
723 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
724 "branch": "default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
725 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
726 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
727 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
728 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
729 "desc": "modify da/foo",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
730 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
731 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
732 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
733 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
734 "phase": "public",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
735 "tags": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
736 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
737 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
738 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
739 "bookmarks": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
740 "branch": "default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
741 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
742 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
743 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
744 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
745 "desc": "modify foo",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
746 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
747 "parents": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
748 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
749 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
750 "phase": "public",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
751 "tags": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
752 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
753 },
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
754 {
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
755 "bookmarks": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
756 "branch": "default",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
757 "date": [
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
758 0.0,
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
759 0
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
760 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
761 "desc": "initial",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
762 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
763 "parents": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
764 "phase": "public",
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
765 "tags": [],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
766 "user": "test"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
767 }
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
768 ],
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
769 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
770 }
6772cf74ff6f hgweb: show shortlog by default in json output (issue5978)
Yuya Nishihara <yuya@tcha.org>
parents: 38215
diff changeset
771
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
772 changeset/ renders the tip changeset
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
773
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
774 $ request json-rev
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
775 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
776
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
777 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
778 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
779 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
780 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
781 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
782 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
783 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
784 "desc": "merge test-branch into default",
43718
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
785 "diff": [],
43717
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
786 "files": [
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
787 {
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
788 "file": "foo-new",
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
789 "status": "modified"
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
790 }
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
791 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
792 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
793 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
794 "ceed296fe500c3fac9541e31dad860cb49c89e45",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
795 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
796 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
797 "phase": "draft",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
798 "tags": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
799 "tip"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
800 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
801 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
802 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
803
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
804 changeset/{revision} shows tags
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
805
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
806 $ request json-rev/78896eb0e102
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
807 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
808
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
809 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
810 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
811 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
812 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
813 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
814 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
815 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
816 "desc": "move foo",
43718
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
817 "diff": [
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
818 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
819 "blockno": 1,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
820 "lines": [
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
821 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
822 "l": "--- a/foo\tThu Jan 01 00:00:00 1970 +0000\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
823 "n": 1,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
824 "t": "-"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
825 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
826 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
827 "l": "+++ /dev/null\tThu Jan 01 00:00:00 1970 +0000\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
828 "n": 2,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
829 "t": "+"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
830 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
831 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
832 "l": "@@ -1,1 +0,0 @@\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
833 "n": 3,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
834 "t": "@"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
835 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
836 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
837 "l": "-bar\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
838 "n": 4,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
839 "t": "-"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
840 }
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
841 ]
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
842 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
843 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
844 "blockno": 2,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
845 "lines": [
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
846 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
847 "l": "--- /dev/null\tThu Jan 01 00:00:00 1970 +0000\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
848 "n": 1,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
849 "t": "-"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
850 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
851 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
852 "l": "+++ b/foo-new\tThu Jan 01 00:00:00 1970 +0000\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
853 "n": 2,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
854 "t": "+"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
855 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
856 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
857 "l": "@@ -0,0 +1,1 @@\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
858 "n": 3,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
859 "t": "@"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
860 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
861 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
862 "l": "+bar\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
863 "n": 4,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
864 "t": "+"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
865 }
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
866 ]
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
867 }
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
868 ],
43717
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
869 "files": [
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
870 {
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
871 "file": "foo",
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
872 "status": "removed"
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
873 },
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
874 {
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
875 "file": "foo-new",
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
876 "status": "added"
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
877 }
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
878 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
879 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
880 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
881 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
882 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
883 "phase": "public",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
884 "tags": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
885 "tag1"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
886 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
887 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
888 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
889
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
890 changeset/{revision} shows bookmarks
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
891
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
892 $ request json-rev/8d7c456572ac
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
893 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
894
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
895 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
896 "bookmarks": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
897 "bookmark1"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
898 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
899 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
900 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
901 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
902 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
903 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
904 "desc": "modify da/foo",
43718
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
905 "diff": [
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
906 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
907 "blockno": 1,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
908 "lines": [
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
909 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
910 "l": "--- a/da/foo\tThu Jan 01 00:00:00 1970 +0000\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
911 "n": 1,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
912 "t": "-"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
913 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
914 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
915 "l": "+++ b/da/foo\tThu Jan 01 00:00:00 1970 +0000\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
916 "n": 2,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
917 "t": "+"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
918 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
919 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
920 "l": "@@ -1,1 +1,1 @@\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
921 "n": 3,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
922 "t": "@"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
923 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
924 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
925 "l": "-foo\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
926 "n": 4,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
927 "t": "-"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
928 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
929 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
930 "l": "+bar\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
931 "n": 5,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
932 "t": "+"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
933 }
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
934 ]
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
935 }
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
936 ],
43717
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
937 "files": [
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
938 {
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
939 "file": "da/foo",
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
940 "status": "modified"
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
941 }
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
942 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
943 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
944 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
945 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
946 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
947 "phase": "public",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
948 "tags": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
949 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
950 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
951
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
952 changeset/{revision} shows branches
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
953
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
954 $ request json-rev/6ab967a8ab34
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
955 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
956
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
957 {
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
958 "bookmarks": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
959 "branch": "test-branch",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
960 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
961 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
962 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
963 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
964 "desc": "create test branch",
43718
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
965 "diff": [
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
966 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
967 "blockno": 1,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
968 "lines": [
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
969 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
970 "l": "--- a/foo\tThu Jan 01 00:00:00 1970 +0000\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
971 "n": 1,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
972 "t": "-"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
973 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
974 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
975 "l": "+++ b/foo\tThu Jan 01 00:00:00 1970 +0000\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
976 "n": 2,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
977 "t": "+"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
978 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
979 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
980 "l": "@@ -1,1 +1,1 @@\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
981 "n": 3,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
982 "t": "@"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
983 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
984 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
985 "l": "-foo\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
986 "n": 4,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
987 "t": "-"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
988 },
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
989 {
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
990 "l": "+branch\n",
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
991 "n": 5,
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
992 "t": "+"
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
993 }
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
994 ]
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
995 }
d155bf11cf22 hgweb: add diffs to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43717
diff changeset
996 ],
43717
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
997 "files": [
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
998 {
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
999 "file": "foo",
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
1000 "status": "modified"
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
1001 }
6feaee05bac5 hgweb: add files to the json changeset template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 43305
diff changeset
1002 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1003 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1004 "parents": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1005 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1006 ],
24564
5ec4bda3097a hgweb: add phase to {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24563
diff changeset
1007 "phase": "draft",
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1008 "tags": [],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1009 "user": "test"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1010 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1011
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1012 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
1013
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1014 $ request json-manifest/06e557f3edf6/
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1015 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1016
24589
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1017 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1018 "abspath": "/",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1019 "bookmarks": [],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1020 "directories": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1021 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1022 "abspath": "/da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1023 "basename": "da",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1024 "emptydirs": ""
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1025 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1026 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1027 "files": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1028 {
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1029 "abspath": "foo",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1030 "basename": "foo",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1031 "date": [
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1032 0.0,
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1033 0
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1034 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1035 "flags": "",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1036 "size": 4
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1037 }
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1038 ],
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1039 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1040 "tags": []
30a737ae9b7d json: implement {manifest} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24588
diff changeset
1041 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1042
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1043 tags/ shows tags info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1044
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1045 $ request json-tags
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1046 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1047
24545
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1048 {
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1049 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
24545
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1050 "tags": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1051 {
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1052 "date": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1053 0.0,
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1054 0
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1055 ],
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1056 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1057 "tag": "tag2"
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1058 },
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1059 {
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1060 "date": [
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1061 0.0,
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1062 0
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1063 ],
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1064 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1065 "tag": "tag1"
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1066 }
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1067 ]
9e0c67e84896 json: implement {tags} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24544
diff changeset
1068 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1069
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1070 bookmarks/ shows bookmarks info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1071
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1072 $ request json-bookmarks
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1073 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1074
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1075 {
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1076 "bookmarks": [
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1077 {
28711
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
1078 "bookmark": "bookmark2",
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
1079 "date": [
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
1080 0.0,
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
1081 0
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
1082 ],
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
1083 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45"
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
1084 },
06ae7a6daad0 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net>
parents: 28709
diff changeset
1085 {
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1086 "bookmark": "bookmark1",
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1087 "date": [
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1088 0.0,
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1089 0
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1090 ],
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1091 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5"
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1092 }
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1093 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1094 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
24546
adfd808c123f json: implement {bookmarks} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24545
diff changeset
1095 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1096
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1097 branches/ shows branches info
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1098
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1099 $ request json-branches
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1100 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1101
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1102 {
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1103 "branches": [
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1104 {
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1105 "branch": "default",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1106 "date": [
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1107 0.0,
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1108 0
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1109 ],
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1110 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1111 "status": "open"
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1112 },
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1113 {
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1114 "branch": "test-branch",
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1115 "date": [
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1116 0.0,
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1117 0
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1118 ],
24563
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1119 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
830280536946 json: implement {changeset} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24562
diff changeset
1120 "status": "inactive"
24547
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1121 }
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1122 ]
495f3e665b27 json: implement {branches} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24546
diff changeset
1123 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1124
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1125 summary/ shows a summary of repository state
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1126
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1127 $ request json-summary
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1128 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1129
29382
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1130 {
29457
81e0955ca2fd tests: allow bz2 archives in test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 29383
diff changeset
1131 "archives": [
81e0955ca2fd tests: allow bz2 archives in test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 29383
diff changeset
1132 {
81e0955ca2fd tests: allow bz2 archives in test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 29383
diff changeset
1133 "extension": ".tar.bz2",
81e0955ca2fd tests: allow bz2 archives in test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 29383
diff changeset
1134 "node": "tip",
29458
59058549a611 hgweb: add absolute urls for archives in json-summary
Anton Shestakov <av6@dwimlabs.net>
parents: 29457
diff changeset
1135 "type": "bz2",
59058549a611 hgweb: add absolute urls for archives in json-summary
Anton Shestakov <av6@dwimlabs.net>
parents: 29457
diff changeset
1136 "url": "http://*:$HGPORT/archive/tip.tar.bz2" (glob)
29457
81e0955ca2fd tests: allow bz2 archives in test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 29383
diff changeset
1137 }
81e0955ca2fd tests: allow bz2 archives in test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 29383
diff changeset
1138 ],
29382
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1139 "bookmarks": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1140 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1141 "bookmark": "bookmark2",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1142 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1143 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1144 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1145 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1146 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1147 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1148 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1149 "bookmark": "bookmark1",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1150 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1151 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1152 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1153 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1154 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1155 }
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1156 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1157 "branches": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1158 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1159 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1160 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1161 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1162 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1163 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1164 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1165 "status": "open"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1166 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1167 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1168 "branch": "test-branch",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1169 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1170 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1171 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1172 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1173 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1174 "status": "inactive"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1175 }
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1176 ],
29471
c4fc33c477da hgweb: expose list of per-repo labels to templates
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29458
diff changeset
1177 "labels": [],
29382
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1178 "lastchange": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1179 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1180 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1181 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1182 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1183 "shortlog": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1184 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1185 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1186 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1187 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1188 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1189 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1190 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1191 "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
1192 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1193 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1194 "ceed296fe500c3fac9541e31dad860cb49c89e45",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1195 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1196 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1197 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1198 "tags": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1199 "tip"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1200 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1201 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1202 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1203 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1204 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1205 "branch": "test-branch",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1206 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1207 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1208 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1209 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1210 "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
1211 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1212 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1213 "6ab967a8ab3489227a83f80e920faa039a71819f"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1214 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1215 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1216 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1217 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1218 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1219 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1220 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1221 "branch": "test-branch",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1222 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1223 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1224 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1225 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1226 "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
1227 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1228 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1229 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1230 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1231 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1232 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1233 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1234 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1235 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1236 "bookmarks": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1237 "bookmark2"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1238 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1239 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1240 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1241 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1242 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1243 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1244 "desc": "create tag2",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1245 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1246 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1247 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1248 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1249 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1250 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1251 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1252 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1253 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1254 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1255 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1256 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1257 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1258 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1259 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1260 "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
1261 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1262 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1263 "93a8ce14f89156426b7fa981af8042da53f03aa0"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1264 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1265 "phase": "draft",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1266 "tags": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1267 "tag2"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1268 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1269 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1270 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1271 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1272 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1273 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1274 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1275 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1276 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1277 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1278 "desc": "create tag",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1279 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1280 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1281 "78896eb0e102174ce9278438a95e12543e4367a7"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1282 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1283 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1284 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1285 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1286 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1287 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1288 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1289 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1290 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1291 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1292 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1293 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1294 "desc": "move foo",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1295 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1296 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1297 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1298 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1299 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1300 "tags": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1301 "tag1"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1302 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1303 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1304 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1305 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1306 "bookmarks": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1307 "bookmark1"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1308 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1309 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1310 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1311 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1312 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1313 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1314 "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
1315 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1316 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1317 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1318 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1319 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1320 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1321 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1322 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1323 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1324 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1325 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1326 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1327 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1328 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1329 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1330 "desc": "modify foo",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1331 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1332 "parents": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1333 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1334 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1335 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1336 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1337 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1338 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1339 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1340 "bookmarks": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1341 "branch": "default",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1342 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1343 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1344 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1345 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1346 "desc": "initial",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1347 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1348 "parents": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1349 "phase": "public",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1350 "tags": [],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1351 "user": "test"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1352 }
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1353 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1354 "tags": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1355 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1356 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1357 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1358 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1359 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1360 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1361 "tag": "tag2"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1362 },
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1363 {
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1364 "date": [
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1365 0.0,
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1366 0
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1367 ],
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1368 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1369 "tag": "tag1"
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1370 }
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1371 ]
e4b777fe1576 templates: add support for summary webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29381
diff changeset
1372 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1373
29383
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1374 $ 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
1375 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
1376
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1377 {
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1378 "entries": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1379 {
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1380 "bookmarks": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1381 "branch": "test-branch",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1382 "date": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1383 0.0,
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1384 0
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1385 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1386 "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
1387 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1388 "parents": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1389 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1390 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1391 "phase": "draft",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1392 "tags": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1393 "user": "test"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1394 },
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1395 {
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1396 "bookmarks": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1397 "bookmark2"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1398 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1399 "branch": "default",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1400 "date": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1401 0.0,
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1402 0
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1403 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1404 "desc": "create tag2",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1405 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1406 "parents": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1407 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1408 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1409 "phase": "draft",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1410 "tags": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1411 "user": "test"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1412 },
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1413 {
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1414 "bookmarks": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1415 "branch": "default",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1416 "date": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1417 0.0,
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1418 0
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1419 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1420 "desc": "create tag",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1421 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1422 "parents": [
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1423 "78896eb0e102174ce9278438a95e12543e4367a7"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1424 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1425 "phase": "public",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1426 "tags": [],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1427 "user": "test"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1428 }
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1429 ],
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1430 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1431 "query": "create"
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1432 }
f3dca85bd2d1 templates: add support for search webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 29382
diff changeset
1433
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1434 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
1435
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1436 $ request json-diff/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1437 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1438
24713
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1439 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1440 "author": "test",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1441 "children": [],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1442 "date": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1443 0.0,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1444 0
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1445 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1446 "desc": "modify foo",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1447 "diff": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1448 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1449 "blockno": 1,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1450 "lines": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1451 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1452 "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
1453 "n": 1,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1454 "t": "-"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1455 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1456 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1457 "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
1458 "n": 2,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1459 "t": "+"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1460 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1461 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1462 "l": "@@ -1,1 +1,1 @@\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1463 "n": 3,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1464 "t": "@"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1465 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1466 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1467 "l": "-foo\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1468 "n": 4,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1469 "t": "-"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1470 },
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1471 {
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1472 "l": "+bar\n",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1473 "n": 5,
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1474 "t": "+"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1475 }
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1476 ]
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1477 }
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1478 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1479 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1480 "parents": [
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1481 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1482 ],
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1483 "path": "foo"
2f43f8cf8219 json: implement {filediff} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24591
diff changeset
1484 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1485
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1486 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
1487
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1488 $ request json-comparison/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1489 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1490
24714
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1491 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1492 "author": "test",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1493 "children": [],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1494 "comparison": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1495 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1496 "lines": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1497 {
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1498 "ll": "foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1499 "ln": 1,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1500 "rl": "bar",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1501 "rn": 1,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1502 "t": "replace"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1503 }
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1504 ]
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1505 }
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1506 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1507 "date": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1508 0.0,
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1509 0
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1510 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1511 "desc": "modify foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1512 "leftnode": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1513 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1514 "parents": [
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1515 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1516 ],
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1517 "path": "foo",
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1518 "rightnode": "f8bbb9024b10f93cdbb8d940337398291d40dea8"
84859415a4c9 json: implement {comparison} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24713
diff changeset
1519 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1520
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1521 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
1522
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1523 $ request json-annotate/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1524 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1525
24715
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1526 {
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1527 "abspath": "foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1528 "annotate": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1529 {
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1530 "abspath": "foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1531 "author": "test",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1532 "desc": "modify foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1533 "line": "bar\n",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1534 "lineno": 1,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1535 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1536 "revdate": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1537 0.0,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1538 0
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1539 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1540 "targetline": 1
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1541 }
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1542 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1543 "author": "test",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1544 "children": [],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1545 "date": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1546 0.0,
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1547 0
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1548 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1549 "desc": "modify foo",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1550 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1551 "parents": [
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1552 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1553 ],
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1554 "permissions": ""
1439bacf0ec7 json: implement {fileannotate} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24714
diff changeset
1555 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1556
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1557 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
1558
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1559 $ request json-filelog/f8bbb9024b10/foo
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1560 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1561
29380
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1562 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1563 "entries": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1564 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1565 "bookmarks": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1566 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1567 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1568 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1569 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1570 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1571 "desc": "modify foo",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1572 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1573 "parents": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1574 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1575 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1576 "phase": "public",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1577 "tags": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1578 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1579 },
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1580 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1581 "bookmarks": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1582 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1583 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1584 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1585 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1586 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1587 "desc": "initial",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1588 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1589 "parents": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1590 "phase": "public",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1591 "tags": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1592 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1593 }
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1594 ]
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1595 }
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1596
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1597 $ 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
1598 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
1599
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1600 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1601 "entries": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1602 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1603 "bookmarks": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1604 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1605 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1606 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1607 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1608 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1609 "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
1610 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1611 "parents": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1612 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1613 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1614 "phase": "draft",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1615 "tags": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1616 "tag2"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1617 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1618 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1619 },
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1620 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1621 "bookmarks": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1622 "bookmark1"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1623 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1624 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1625 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1626 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1627 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1628 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1629 "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
1630 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1631 "parents": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1632 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1633 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1634 "phase": "public",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1635 "tags": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1636 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1637 },
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1638 {
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1639 "bookmarks": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1640 "branch": "default",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1641 "date": [
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1642 0.0,
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1643 0
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1644 ],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1645 "desc": "initial",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1646 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1647 "parents": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1648 "phase": "public",
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1649 "tags": [],
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1650 "user": "test"
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1651 }
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1652 ]
c1b526f55116 templates: add support for filelog webcommand in json style
Laura Médioni <laura.medioni@logilab.fr>
parents: 28711
diff changeset
1653 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1654
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1655 (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
1656
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1657 (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
1658
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1659 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
1660
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1661 $ request json-graph
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1662 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
1663
35389
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1664 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1665 "changeset_count": 10,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1666 "changesets": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1667 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1668 "bookmarks": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1669 "branch": "default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1670 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1671 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1672 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1673 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1674 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1675 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1676 "desc": "merge test-branch into default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1677 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1678 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1679 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1680 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1681 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1682 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1683 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1684 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1685 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1686 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1687 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1688 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1689 "nextcol": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1690 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1691 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1692 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1693 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1694 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1695 "ceed296fe500c3fac9541e31dad860cb49c89e45",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1696 "ed66c30e87eb65337c05a4229efaa5f1d5285a90"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1697 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1698 "phase": "draft",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1699 "row": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1700 "tags": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1701 "tip"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1702 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1703 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1704 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1705 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1706 "bookmarks": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1707 "branch": "test-branch",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1708 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1709 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1710 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1711 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1712 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1713 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1714 "desc": "another commit in test-branch",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1715 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1716 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1717 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1718 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1719 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1720 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1721 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1722 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1723 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1724 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1725 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1726 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1727 "nextcol": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1728 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1729 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1730 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1731 "node": "ed66c30e87eb65337c05a4229efaa5f1d5285a90",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1732 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1733 "6ab967a8ab3489227a83f80e920faa039a71819f"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1734 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1735 "phase": "draft",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1736 "row": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1737 "tags": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1738 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1739 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1740 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1741 "bookmarks": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1742 "branch": "test-branch",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1743 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1744 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1745 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1746 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1747 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1748 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1749 "desc": "create test branch",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1750 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1751 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1752 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1753 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1754 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1755 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1756 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1757 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1758 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1759 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1760 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1761 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1762 "nextcol": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1763 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1764 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1765 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1766 "node": "6ab967a8ab3489227a83f80e920faa039a71819f",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1767 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1768 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1769 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1770 "phase": "draft",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1771 "row": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1772 "tags": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1773 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1774 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1775 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1776 "bookmarks": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1777 "bookmark2"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1778 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1779 "branch": "default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1780 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1781 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1782 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1783 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1784 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1785 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1786 "desc": "create tag2",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1787 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1788 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1789 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1790 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1791 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1792 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1793 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1794 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1795 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1796 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1797 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1798 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1799 "nextcol": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1800 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1801 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1802 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1803 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1804 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1805 "f2890a05fea49bfaf9fb27ed5490894eba32da78"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1806 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1807 "phase": "draft",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1808 "row": 3,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1809 "tags": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1810 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1811 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1812 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1813 "bookmarks": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1814 "branch": "default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1815 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1816 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1817 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1818 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1819 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1820 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1821 "desc": "another commit to da/foo",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1822 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1823 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1824 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1825 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1826 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1827 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1828 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1829 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1830 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1831 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1832 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1833 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1834 "nextcol": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1835 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1836 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1837 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1838 "node": "f2890a05fea49bfaf9fb27ed5490894eba32da78",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1839 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1840 "93a8ce14f89156426b7fa981af8042da53f03aa0"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1841 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1842 "phase": "draft",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1843 "row": 4,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1844 "tags": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1845 "tag2"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1846 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1847 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1848 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1849 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1850 "bookmarks": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1851 "branch": "default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1852 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1853 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1854 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1855 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1856 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1857 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1858 "desc": "create tag",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1859 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1860 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1861 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1862 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1863 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1864 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1865 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1866 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1867 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1868 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1869 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1870 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1871 "nextcol": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1872 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1873 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1874 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1875 "node": "93a8ce14f89156426b7fa981af8042da53f03aa0",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1876 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1877 "78896eb0e102174ce9278438a95e12543e4367a7"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1878 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1879 "phase": "public",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1880 "row": 5,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1881 "tags": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1882 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1883 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1884 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1885 "bookmarks": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1886 "branch": "default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1887 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1888 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1889 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1890 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1891 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1892 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1893 "desc": "move foo",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1894 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1895 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1896 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1897 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1898 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1899 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1900 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1901 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1902 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1903 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1904 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1905 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1906 "nextcol": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1907 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1908 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1909 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1910 "node": "78896eb0e102174ce9278438a95e12543e4367a7",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1911 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1912 "8d7c456572acf3557e8ed8a07286b10c408bcec5"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1913 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1914 "phase": "public",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1915 "row": 6,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1916 "tags": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1917 "tag1"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1918 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1919 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1920 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1921 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1922 "bookmarks": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1923 "bookmark1"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1924 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1925 "branch": "default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1926 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1927 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1928 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1929 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1930 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1931 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1932 "desc": "modify da/foo",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1933 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1934 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1935 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1936 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1937 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1938 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1939 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1940 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1941 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1942 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1943 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1944 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1945 "nextcol": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1946 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1947 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1948 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1949 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1950 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1951 "f8bbb9024b10f93cdbb8d940337398291d40dea8"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1952 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1953 "phase": "public",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1954 "row": 7,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1955 "tags": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1956 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1957 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1958 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1959 "bookmarks": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1960 "branch": "default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1961 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1962 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1963 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1964 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1965 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1966 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1967 "desc": "modify foo",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1968 "edges": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1969 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1970 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1971 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1972 "color": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1973 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1974 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1975 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1976 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1977 "bcolor": "",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1978 "col": 1,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1979 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1980 "nextcol": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1981 "width": -1
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1982 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1983 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1984 "node": "f8bbb9024b10f93cdbb8d940337398291d40dea8",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1985 "parents": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1986 "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1987 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1988 "phase": "public",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1989 "row": 8,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1990 "tags": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1991 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1992 },
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1993 {
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1994 "bookmarks": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1995 "branch": "default",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1996 "col": 0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1997 "color": 2,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1998 "date": [
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
1999 0.0,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2000 0
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2001 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2002 "desc": "initial",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2003 "edges": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2004 "node": "06e557f3edf66faa1ccaba5dd8c203c21cc79f1e",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2005 "parents": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2006 "phase": "public",
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2007 "row": 9,
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2008 "tags": [],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2009 "user": "test"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2010 }
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2011 ],
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2012 "node": "cc725e08502a79dd1eda913760fbe06ed7a9abc7"
b963750b125f hgweb: implement json-graph
Anton Shestakov <av6@dwimlabs.net>
parents: 35148
diff changeset
2013 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2014
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2015 help/ shows help topics
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2016
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2017 $ request json-help
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2018 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2019
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2020 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2021 "earlycommands": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2022 {
42581
bb135a784b70 abort: added logic for of hg abort
Taapas Agrawal <taapas2897@gmail.com>
parents: 42541
diff changeset
2023 "summary": "abort an unfinished operation (EXPERIMENTAL)",
bb135a784b70 abort: added logic for of hg abort
Taapas Agrawal <taapas2897@gmail.com>
parents: 42541
diff changeset
2024 "topic": "abort"
bb135a784b70 abort: added logic for of hg abort
Taapas Agrawal <taapas2897@gmail.com>
parents: 42541
diff changeset
2025 },
bb135a784b70 abort: added logic for of hg abort
Taapas Agrawal <taapas2897@gmail.com>
parents: 42541
diff changeset
2026 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2027 "summary": "add the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2028 "topic": "add"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2029 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2030 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2031 "summary": "show changeset information by line for each file",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2032 "topic": "annotate"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2033 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2034 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2035 "summary": "make a copy of an existing repository",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2036 "topic": "clone"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2037 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2038 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2039 "summary": "commit the specified files or all outstanding changes",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2040 "topic": "commit"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2041 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2042 {
42612
3c16b9c0b099 continue: added logic for hg continue
Taapas Agrawal <taapas2897@gmail.com>
parents: 42581
diff changeset
2043 "summary": "resumes an interrupted operation (EXPERIMENTAL)",
3c16b9c0b099 continue: added logic for hg continue
Taapas Agrawal <taapas2897@gmail.com>
parents: 42581
diff changeset
2044 "topic": "continue"
3c16b9c0b099 continue: added logic for hg continue
Taapas Agrawal <taapas2897@gmail.com>
parents: 42581
diff changeset
2045 },
3c16b9c0b099 continue: added logic for hg continue
Taapas Agrawal <taapas2897@gmail.com>
parents: 42581
diff changeset
2046 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2047 "summary": "diff repository (or selected files)",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2048 "topic": "diff"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2049 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2050 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2051 "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
2052 "topic": "export"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2053 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2054 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2055 "summary": "forget the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2056 "topic": "forget"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2057 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2058 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2059 "summary": "create a new repository in the given directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2060 "topic": "init"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2061 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2062 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2063 "summary": "show revision history of entire repository or files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2064 "topic": "log"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2065 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2066 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2067 "summary": "merge another revision into working directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2068 "topic": "merge"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2069 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2070 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2071 "summary": "pull changes from the specified source",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2072 "topic": "pull"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2073 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2074 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2075 "summary": "push changes to the specified destination",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2076 "topic": "push"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2077 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2078 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2079 "summary": "remove the specified files on the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2080 "topic": "remove"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2081 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2082 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2083 "summary": "start stand-alone webserver",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2084 "topic": "serve"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2085 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2086 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2087 "summary": "show changed files in the working directory",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2088 "topic": "status"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2089 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2090 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2091 "summary": "summarize working directory state",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2092 "topic": "summary"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2093 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2094 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2095 "summary": "update working directory (or switch revisions)",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2096 "topic": "update"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2097 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2098 ],
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2099 "othercommands": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2100 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2101 "summary": "add all new files, delete all missing files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2102 "topic": "addremove"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2103 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2104 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2105 "summary": "create an unversioned archive of a repository revision",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2106 "topic": "archive"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2107 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2108 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2109 "summary": "reverse effect of earlier changeset",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2110 "topic": "backout"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2111 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2112 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2113 "summary": "subdivision search of changesets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2114 "topic": "bisect"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2115 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2116 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2117 "summary": "create a new bookmark or list existing bookmarks",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2118 "topic": "bookmarks"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2119 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2120 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2121 "summary": "set or show the current branch name",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2122 "topic": "branch"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2123 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2124 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2125 "summary": "list repository named branches",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2126 "topic": "branches"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2127 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2128 {
31794
54b1af732415 commands: update help for "bundle"
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31793
diff changeset
2129 "summary": "create a bundle file",
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2130 "topic": "bundle"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2131 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2132 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2133 "summary": "output the current or given revision of files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2134 "topic": "cat"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2135 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2136 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2137 "summary": "show combined config settings from all hgrc files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2138 "topic": "config"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2139 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2140 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2141 "summary": "mark files as copied for the next commit",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2142 "topic": "copy"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2143 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2144 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2145 "summary": "list tracked files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2146 "topic": "files"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2147 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2148 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2149 "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
2150 "topic": "graft"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2151 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2152 {
43305
d782cce137fd grep: update docs to reflect new --all-files default
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 42612
diff changeset
2153 "summary": "search for a pattern in specified files",
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2154 "topic": "grep"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2155 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2156 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2157 "summary": "show branch heads",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2158 "topic": "heads"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2159 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2160 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2161 "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
2162 "topic": "help"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2163 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2164 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2165 "summary": "identify the working directory or specified revision",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2166 "topic": "identify"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2167 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2168 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2169 "summary": "import an ordered set of patches",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2170 "topic": "import"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2171 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2172 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2173 "summary": "show new changesets found in source",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2174 "topic": "incoming"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2175 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2176 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2177 "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
2178 "topic": "manifest"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2179 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2180 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2181 "summary": "show changesets not found in the destination",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2182 "topic": "outgoing"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2183 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2184 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2185 "summary": "show aliases for remote repositories",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2186 "topic": "paths"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2187 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2188 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2189 "summary": "set or show the current phase name",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2190 "topic": "phase"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2191 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2192 {
46368
bb3a5c0df06b purge: move extension into core mercurial
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 43718
diff changeset
2193 "summary": "removes files not tracked by Mercurial",
bb3a5c0df06b purge: move extension into core mercurial
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 43718
diff changeset
2194 "topic": "purge"
bb3a5c0df06b purge: move extension into core mercurial
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 43718
diff changeset
2195 },
bb3a5c0df06b purge: move extension into core mercurial
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 43718
diff changeset
2196 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2197 "summary": "roll back an interrupted transaction",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2198 "topic": "recover"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2199 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2200 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2201 "summary": "rename files; equivalent of copy + remove",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2202 "topic": "rename"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2203 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2204 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2205 "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
2206 "topic": "resolve"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2207 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2208 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2209 "summary": "restore files to their checkout state",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2210 "topic": "revert"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2211 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2212 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2213 "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
2214 "topic": "root"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2215 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2216 {
42541
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 41461
diff changeset
2217 "summary": "save and set aside changes from the working directory",
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 41461
diff changeset
2218 "topic": "shelve"
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 41461
diff changeset
2219 },
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 41461
diff changeset
2220 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2221 "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
2222 "topic": "tag"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2223 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2224 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2225 "summary": "list repository tags",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2226 "topic": "tags"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2227 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2228 {
31795
2b130e26c3a4 commands: update help for "unbundle"
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31794
diff changeset
2229 "summary": "apply one or more bundle files",
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2230 "topic": "unbundle"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2231 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2232 {
42541
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 41461
diff changeset
2233 "summary": "restore a shelved change to the working directory",
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 41461
diff changeset
2234 "topic": "unshelve"
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 41461
diff changeset
2235 },
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 41461
diff changeset
2236 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2237 "summary": "verify the integrity of the repository",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2238 "topic": "verify"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2239 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2240 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2241 "summary": "output version and copyright information",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2242 "topic": "version"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2243 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2244 ],
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2245 "topics": [
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2246 {
31793
69d8fcf20014 help: document bundle specifications
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31129
diff changeset
2247 "summary": "Bundle File Formats",
69d8fcf20014 help: document bundle specifications
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31129
diff changeset
2248 "topic": "bundlespec"
69d8fcf20014 help: document bundle specifications
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31129
diff changeset
2249 },
69d8fcf20014 help: document bundle specifications
Gregory Szorc <gregory.szorc@gmail.com>
parents: 31129
diff changeset
2250 {
31129
71f692f1f678 color: update the help table
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 31061
diff changeset
2251 "summary": "Colorizing Outputs",
71f692f1f678 color: update the help table
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 31061
diff changeset
2252 "topic": "color"
71f692f1f678 color: update the help table
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 31061
diff changeset
2253 },
71f692f1f678 color: update the help table
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 31061
diff changeset
2254 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2255 "summary": "Configuration Files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2256 "topic": "config"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2257 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2258 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2259 "summary": "Date Formats",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2260 "topic": "dates"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2261 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2262 {
37998
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents: 35389
diff changeset
2263 "summary": "Deprecated Features",
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents: 35389
diff changeset
2264 "topic": "deprecated"
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents: 35389
diff changeset
2265 },
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents: 35389
diff changeset
2266 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2267 "summary": "Diff Formats",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2268 "topic": "diffs"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2269 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2270 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2271 "summary": "Environment Variables",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2272 "topic": "environment"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2273 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2274 {
47017
da4e6d7a8fdd help: add topic about evolution, based on text from evolve extension
Martin von Zweigbergk <martinvonz@google.com>
parents: 46368
diff changeset
2275 "summary": "Safely rewriting history (EXPERIMENTAL)",
da4e6d7a8fdd help: add topic about evolution, based on text from evolve extension
Martin von Zweigbergk <martinvonz@google.com>
parents: 46368
diff changeset
2276 "topic": "evolution"
da4e6d7a8fdd help: add topic about evolution, based on text from evolve extension
Martin von Zweigbergk <martinvonz@google.com>
parents: 46368
diff changeset
2277 },
da4e6d7a8fdd help: add topic about evolution, based on text from evolve extension
Martin von Zweigbergk <martinvonz@google.com>
parents: 46368
diff changeset
2278 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2279 "summary": "Using Additional Features",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2280 "topic": "extensions"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2281 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2282 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2283 "summary": "Specifying File Sets",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2284 "topic": "filesets"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2285 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2286 {
35045
b0262b25ab48 help: adding a topic on flags
Rodrigo Damazio Bovendorp <rdamazio@google.com>
parents: 31795
diff changeset
2287 "summary": "Command-line flags",
b0262b25ab48 help: adding a topic on flags
Rodrigo Damazio Bovendorp <rdamazio@google.com>
parents: 31795
diff changeset
2288 "topic": "flags"
b0262b25ab48 help: adding a topic on flags
Rodrigo Damazio Bovendorp <rdamazio@google.com>
parents: 31795
diff changeset
2289 },
b0262b25ab48 help: adding a topic on flags
Rodrigo Damazio Bovendorp <rdamazio@google.com>
parents: 31795
diff changeset
2290 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2291 "summary": "Glossary",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2292 "topic": "glossary"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2293 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2294 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2295 "summary": "Syntax for Mercurial Ignore Files",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2296 "topic": "hgignore"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2297 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2298 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2299 "summary": "Configuring hgweb",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2300 "topic": "hgweb"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2301 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2302 {
27376
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
2303 "summary": "Technical implementation topics",
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
2304 "topic": "internals"
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
2305 },
fc810d950278 help: add "internals" topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25881
diff changeset
2306 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2307 "summary": "Merge Tools",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2308 "topic": "merge-tools"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2309 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2310 {
31061
900996da577a pager: move most help to a new help topic and deprecate extension
Augie Fackler <augie@google.com>
parents: 30769
diff changeset
2311 "summary": "Pager Support",
900996da577a pager: move most help to a new help topic and deprecate extension
Augie Fackler <augie@google.com>
parents: 30769
diff changeset
2312 "topic": "pager"
900996da577a pager: move most help to a new help topic and deprecate extension
Augie Fackler <augie@google.com>
parents: 30769
diff changeset
2313 },
900996da577a pager: move most help to a new help topic and deprecate extension
Augie Fackler <augie@google.com>
parents: 30769
diff changeset
2314 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2315 "summary": "File Name Patterns",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2316 "topic": "patterns"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2317 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2318 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2319 "summary": "Working with Phases",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2320 "topic": "phases"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2321 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2322 {
30769
e520f0f4b1cf help: merge revsets.txt into revisions.txt
Martin von Zweigbergk <martinvonz@google.com>
parents: 30610
diff changeset
2323 "summary": "Specifying Revisions",
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2324 "topic": "revisions"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2325 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2326 {
48532
7ccd31fda132 docs: add documentation about Rust
Raphaël Gomès <rgomes@octobus.net>
parents: 47017
diff changeset
2327 "summary": "Rust in Mercurial",
7ccd31fda132 docs: add documentation about Rust
Raphaël Gomès <rgomes@octobus.net>
parents: 47017
diff changeset
2328 "topic": "rust"
7ccd31fda132 docs: add documentation about Rust
Raphaël Gomès <rgomes@octobus.net>
parents: 47017
diff changeset
2329 },
7ccd31fda132 docs: add documentation about Rust
Raphaël Gomès <rgomes@octobus.net>
parents: 47017
diff changeset
2330 {
25881
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
2331 "summary": "Using Mercurial from scripts and automation",
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
2332 "topic": "scripting"
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
2333 },
9de443515f1d help: scripting help topic
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25472
diff changeset
2334 {
24590
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2335 "summary": "Subrepositories",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2336 "topic": "subrepos"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2337 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2338 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2339 "summary": "Template Usage",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2340 "topic": "templating"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2341 },
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2342 {
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2343 "summary": "URL Paths",
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2344 "topic": "urls"
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2345 }
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2346 ]
0bb733dfcabe json: implement {helptopics} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24589
diff changeset
2347 }
24544
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2348
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2349 help/{topic} shows an individual help topic
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2350
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2351 $ request json-help/phases
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2352 200 Script output follows
71e96b9fd3fd templates: add a stub template for json
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
2353
24591
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
2354 {
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
2355 "rawdoc": "Working with Phases\n*", (glob)
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
2356 "topic": "phases"
517f3e190a5d json: implement {help} template
Gregory Szorc <gregory.szorc@gmail.com>
parents: 24590
diff changeset
2357 }
35148
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2358
39469
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2359 Error page shouldn't crash
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2360
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2361 $ request json-changeset/deadbeef
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2362 404 Not Found
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2363
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2364 {
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2365 "error": "unknown revision 'deadbeef'"
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2366 }
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2367 [1]
1a786fe069b8 hgweb: add error template to json so it won't crash
Yuya Nishihara <yuya@tcha.org>
parents: 39468
diff changeset
2368
35148
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2369 Commit message with Japanese Kanji 'Noh', which ends with '\x5c'
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2370
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2371 $ echo foo >> da/foo
41461
c67f55b02f02 tests: write commit message using file I/O
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40157
diff changeset
2372 >>> open('msg', 'wb').write(b'\x94\x5c\x0a') and None
c67f55b02f02 tests: write commit message using file I/O
Gregory Szorc <gregory.szorc@gmail.com>
parents: 40157
diff changeset
2373 $ HGENCODING=cp932 hg ci -l msg
35148
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2374
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2375 Commit message with null character
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2376
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2377 $ echo foo >> da/foo
40157
a8be613391d1 py3: use bytes literal in test-hgweb-json.t
Gregory Szorc <gregory.szorc@gmail.com>
parents: 39903
diff changeset
2378 >>> open('msg', 'wb').write(b'commit with null character: \0\n') and None
35148
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2379 $ hg ci -l msg
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2380 $ rm msg
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2381
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2382 Stop and restart with HGENCODING=cp932
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2383
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2384 $ killdaemons.py
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2385 $ HGENCODING=cp932 hg serve -p $HGPORT -d --pid-file=hg.pid \
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2386 > -A access.log -E error.log
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2387 $ cat hg.pid >> $DAEMON_PIDS
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2388
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2389 Test json escape of multibyte characters
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2390
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2391 $ request json-filelog/tip/da/foo?revcount=2 | grep '"desc":'
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2392 "desc": "commit with null character: \u0000",
d2eff9d4db3f tests: move JSON escape test to test-hgweb-json.t
Anton Shestakov <av6@dwimlabs.net>
parents: 35045
diff changeset
2393 "desc": "\u80fd",