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