Show More
@@ -127,6 +127,13 colortable = { | |||
|
127 | 127 | |
|
128 | 128 | def vcrcommand(name, flags, spec, helpcategory=None): |
|
129 | 129 | fullflags = flags + _VCR_FLAGS |
|
130 | def hgmatcher(r1, r2): | |
|
131 | if r1.uri != r2.uri or r1.method != r2.method: | |
|
132 | return False | |
|
133 | r1params = r1.body.split(b'&') | |
|
134 | r2params = r2.body.split(b'&') | |
|
135 | return set(r1params) == set(r2params) | |
|
136 | ||
|
130 | 137 | def decorate(fn): |
|
131 | 138 | def inner(*args, **kwargs): |
|
132 | 139 | cassette = pycompat.fsdecode(kwargs.pop(r'test_vcr', None)) |
@@ -143,7 +150,8 def vcrcommand(name, flags, spec, helpca | |||
|
143 | 150 | (urlmod, r'httpsconnection', |
|
144 | 151 | stubs.VCRHTTPSConnection), |
|
145 | 152 | ]) |
|
146 | with vcr.use_cassette(cassette): | |
|
153 | vcr.register_matcher(r'hgmatcher', hgmatcher) | |
|
154 | with vcr.use_cassette(cassette, match_on=[r'hgmatcher']): | |
|
147 | 155 | return fn(*args, **kwargs) |
|
148 | 156 | return fn(*args, **kwargs) |
|
149 | 157 | inner.__name__ = fn.__name__ |
This diff has been collapsed as it changes many lines, (598 lines changed) Show them Hide them | |||
@@ -1,617 +1,617 | |||
|
1 | 1 | { |
|
2 | "version": 1, | |
|
2 | 3 | "interactions": [ |
|
3 | 4 | { |
|
4 | 5 | "request": { |
|
5 | "method": "POST", | |
|
6 | "body": "constraints%5Bcallsigns%5D%5B0%5D=HG&api.token=cli-hahayouwish", | |
|
7 | "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |
|
8 | 6 | "headers": { |
|
7 | "user-agent": [ | |
|
8 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
9 | ], | |
|
10 | "content-length": [ | |
|
11 | "93" | |
|
12 | ], | |
|
9 | 13 | "content-type": [ |
|
10 | 14 | "application/x-www-form-urlencoded" |
|
11 | 15 | ], |
|
12 | 16 | "accept": [ |
|
13 | 17 | "application/mercurial-0.1" |
|
14 | 18 | ], |
|
15 | "user-agent": [ | |
|
16 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
17 | ], | |
|
18 | 19 | "host": [ |
|
19 | 20 | "phab.mercurial-scm.org" |
|
20 | ], | |
|
21 | "content-length": [ | |
|
22 | "79" | |
|
23 | 21 | ] |
|
24 | } | |
|
22 | }, | |
|
23 | "body": "api.token=cli-hahayouwish&constraints%5Bcallsigns%5D%5B0%5D=HG", | |
|
24 | "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |
|
25 | "method": "POST" | |
|
25 | 26 | }, |
|
26 | 27 | "response": { |
|
27 | 28 | "status": { |
|
28 | 29 | "code": 200, |
|
29 | 30 | "message": "OK" |
|
30 | 31 | }, |
|
31 | "body": { | |
|
32 | "string": "{\"result\":{\"data\":[{\"id\":2,\"type\":\"REPO\",\"phid\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"fields\":{\"name\":\"Mercurial\",\"vcs\":\"hg\",\"callsign\":\"HG\",\"shortName\":null,\"status\":\"active\",\"isImporting\":false,\"spacePHID\":null,\"dateCreated\":1498761653,\"dateModified\":1500403184,\"policy\":{\"view\":\"public\",\"edit\":\"admin\",\"diffusion.push\":\"users\"}},\"attachments\":{}}],\"maps\":{},\"query\":{\"queryKey\":null},\"cursor\":{\"limit\":100,\"after\":null,\"before\":null,\"order\":null}},\"error_code\":null,\"error_info\":null}" | |
|
33 | }, | |
|
34 | 32 | "headers": { |
|
35 | "expires": [ | |
|
36 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
37 | ], | |
|
38 | 33 | "x-xss-protection": [ |
|
39 | 34 | "1; mode=block" |
|
40 | 35 | ], |
|
41 | "transfer-encoding": [ | |
|
42 | "chunked" | |
|
43 | ], | |
|
44 | "date": [ | |
|
45 | "Sun, 03 Mar 2019 00:12:23 GMT" | |
|
46 | ], | |
|
47 | "x-frame-options": [ | |
|
48 | "Deny" | |
|
49 | ], | |
|
50 | 36 | "cache-control": [ |
|
51 | 37 | "no-store" |
|
52 | 38 | ], |
|
53 | 39 | "content-type": [ |
|
54 | 40 | "application/json" |
|
55 | 41 | ], |
|
42 | "date": [ | |
|
43 | "Sun, 05 May 2019 13:31:00 GMT" | |
|
44 | ], | |
|
45 | "connection": [ | |
|
46 | "keep-alive" | |
|
47 | ], | |
|
48 | "strict-transport-security": [ | |
|
49 | "max-age=31536000; includeSubdomains; preload" | |
|
50 | ], | |
|
51 | "vary": [ | |
|
52 | "Accept-Encoding" | |
|
53 | ], | |
|
54 | "x-frame-options": [ | |
|
55 | "Deny" | |
|
56 | ], | |
|
57 | "content-length": [ | |
|
58 | "549" | |
|
59 | ], | |
|
56 | 60 | "x-content-type-options": [ |
|
57 | 61 | "nosniff" |
|
58 | 62 | ], |
|
59 |
" |
|
|
60 | "Apache/2.4.10 (Debian)" | |
|
61 | ], | |
|
62 | "set-cookie": [ | |
|
63 | "phsid=A%2Fpywot5xerq4gs2tjxw3gnadzdg6vomqmfcnwqddp; expires=Fri, 01-Mar-2024 00:12:23 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
64 | ], | |
|
65 | "strict-transport-security": [ | |
|
66 | "max-age=0; includeSubdomains; preload" | |
|
63 | "expires": [ | |
|
64 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
67 | 65 | ] |
|
66 | }, | |
|
67 | "body": { | |
|
68 | "string": "{\"result\":{\"data\":[{\"id\":10,\"type\":\"REPO\",\"phid\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"fields\":{\"name\":\"Mercurial\",\"vcs\":\"hg\",\"callsign\":\"HG\",\"shortName\":\"Mercurial\",\"status\":\"active\",\"isImporting\":false,\"almanacServicePHID\":null,\"spacePHID\":null,\"dateCreated\":1507817156,\"dateModified\":1529613276,\"policy\":{\"view\":\"public\",\"edit\":\"admin\",\"diffusion.push\":\"users\"}},\"attachments\":{}}],\"maps\":{},\"query\":{\"queryKey\":null},\"cursor\":{\"limit\":100,\"after\":null,\"before\":null,\"order\":null}},\"error_code\":null,\"error_info\":null}" | |
|
68 | 69 | } |
|
69 | 70 | } |
|
70 | 71 | }, |
|
71 | 72 | { |
|
72 | 73 | "request": { |
|
73 | "method": "POST", | |
|
74 | "body": "repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3&api.token=cli-hahayouwish&diff=diff+--git+a%2Falpha+b%2Falpha%0Anew+file+mode+100644%0A---+%2Fdev%2Fnull%0A%2B%2B%2B+b%2Falpha%0A%40%40+-0%2C0+%2B1%2C1+%40%40%0A%2Balpha%0A", | |
|
75 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
76 | 74 | "headers": { |
|
75 | "user-agent": [ | |
|
76 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
77 | ], | |
|
78 | "content-length": [ | |
|
79 | "235" | |
|
80 | ], | |
|
77 | 81 | "content-type": [ |
|
78 | 82 | "application/x-www-form-urlencoded" |
|
79 | 83 | ], |
|
80 | 84 | "accept": [ |
|
81 | 85 | "application/mercurial-0.1" |
|
82 | 86 | ], |
|
83 | "user-agent": [ | |
|
84 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
85 | ], | |
|
86 | 87 | "host": [ |
|
87 | 88 | "phab.mercurial-scm.org" |
|
88 | ], | |
|
89 | "content-length": [ | |
|
90 | "235" | |
|
91 | 89 | ] |
|
92 | } | |
|
90 | }, | |
|
91 | "body": "api.token=cli-hahayouwish&diff=diff+--git+a%2Falpha+b%2Falpha%0Anew+file+mode+100644%0A---+%2Fdev%2Fnull%0A%2B%2B%2B+b%2Falpha%0A%40%40+-0%2C0+%2B1%2C1+%40%40%0A%2Balpha%0A&repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3", | |
|
92 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
93 | "method": "POST" | |
|
93 | 94 | }, |
|
94 | 95 | "response": { |
|
95 | 96 | "status": { |
|
96 | 97 | "code": 200, |
|
97 | 98 | "message": "OK" |
|
98 | 99 | }, |
|
99 | "body": { | |
|
100 | "string": "{\"result\":{\"id\":14303,\"phid\":\"PHID-DIFF-allzuauvigfjpv4z6dpi\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/14303\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
101 | }, | |
|
102 | 100 | "headers": { |
|
103 | "expires": [ | |
|
104 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
105 | ], | |
|
106 | 101 | "x-xss-protection": [ |
|
107 | 102 | "1; mode=block" |
|
108 | 103 | ], |
|
109 | "transfer-encoding": [ | |
|
110 | "chunked" | |
|
111 | ], | |
|
112 | "date": [ | |
|
113 | "Sun, 03 Mar 2019 00:12:24 GMT" | |
|
114 | ], | |
|
115 | "x-frame-options": [ | |
|
116 | "Deny" | |
|
117 | ], | |
|
118 | 104 | "cache-control": [ |
|
119 | 105 | "no-store" |
|
120 | 106 | ], |
|
121 | 107 | "content-type": [ |
|
122 | 108 | "application/json" |
|
123 | 109 | ], |
|
110 | "date": [ | |
|
111 | "Sun, 05 May 2019 13:31:01 GMT" | |
|
112 | ], | |
|
113 | "connection": [ | |
|
114 | "keep-alive" | |
|
115 | ], | |
|
116 | "strict-transport-security": [ | |
|
117 | "max-age=31536000; includeSubdomains; preload" | |
|
118 | ], | |
|
119 | "vary": [ | |
|
120 | "Accept-Encoding" | |
|
121 | ], | |
|
122 | "x-frame-options": [ | |
|
123 | "Deny" | |
|
124 | ], | |
|
125 | "content-length": [ | |
|
126 | "172" | |
|
127 | ], | |
|
124 | 128 | "x-content-type-options": [ |
|
125 | 129 | "nosniff" |
|
126 | 130 | ], |
|
127 |
" |
|
|
128 | "Apache/2.4.10 (Debian)" | |
|
129 | ], | |
|
130 | "set-cookie": [ | |
|
131 | "phsid=A%2F2n2dlkkwzljrpzfghpdsflbt4ftnrwcc446dzcy5; expires=Fri, 01-Mar-2024 00:12:24 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
132 | ], | |
|
133 | "strict-transport-security": [ | |
|
134 | "max-age=0; includeSubdomains; preload" | |
|
131 | "expires": [ | |
|
132 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
135 | 133 | ] |
|
134 | }, | |
|
135 | "body": { | |
|
136 | "string": "{\"result\":{\"id\":1899,\"phid\":\"PHID-DIFF-gpg57jico75ouhl2bux2\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1899\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
136 | 137 | } |
|
137 | 138 | } |
|
138 | 139 | }, |
|
139 | 140 | { |
|
140 | 141 | "request": { |
|
141 | "method": "POST", | |
|
142 | "body": "diff_id=14303&data=%7B%22user%22%3A+%22test%22%2C+%22parent%22%3A+%220000000000000000000000000000000000000000%22%2C+%22node%22%3A+%22d386117f30e6b1282897bdbde75ac21e095163d4%22%2C+%22date%22%3A+%220+0%22%7D&api.token=cli-hahayouwish&name=hg%3Ameta", | |
|
143 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
144 | 142 | "headers": { |
|
143 | "user-agent": [ | |
|
144 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
145 | ], | |
|
146 | "content-length": [ | |
|
147 | "296" | |
|
148 | ], | |
|
145 | 149 | "content-type": [ |
|
146 | 150 | "application/x-www-form-urlencoded" |
|
147 | 151 | ], |
|
148 | 152 | "accept": [ |
|
149 | 153 | "application/mercurial-0.1" |
|
150 | 154 | ], |
|
151 | "user-agent": [ | |
|
152 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
153 | ], | |
|
154 | 155 | "host": [ |
|
155 | 156 | "phab.mercurial-scm.org" |
|
156 | ], | |
|
157 | "content-length": [ | |
|
158 | "264" | |
|
159 | 157 | ] |
|
160 | } | |
|
158 | }, | |
|
159 | "body": "diff_id=1899&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%22d386117f30e6b1282897bdbde75ac21e095163d4%22%2C+%22parent%22%3A+%220000000000000000000000000000000000000000%22%2C+%22user%22%3A+%22test%22%7D&name=hg%3Ameta&api.token=cli-hahayouwish", | |
|
160 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
161 | "method": "POST" | |
|
161 | 162 | }, |
|
162 | 163 | "response": { |
|
163 | 164 | "status": { |
|
164 | 165 | "code": 200, |
|
165 | 166 | "message": "OK" |
|
166 | 167 | }, |
|
167 | "body": { | |
|
168 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
169 | }, | |
|
170 | 168 | "headers": { |
|
171 | "expires": [ | |
|
172 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
173 | ], | |
|
174 | 169 | "x-xss-protection": [ |
|
175 | 170 | "1; mode=block" |
|
176 | 171 | ], |
|
177 | "transfer-encoding": [ | |
|
178 | "chunked" | |
|
179 | ], | |
|
180 | "date": [ | |
|
181 | "Sun, 03 Mar 2019 00:12:25 GMT" | |
|
182 | ], | |
|
183 | "x-frame-options": [ | |
|
184 | "Deny" | |
|
185 | ], | |
|
186 | 172 | "cache-control": [ |
|
187 | 173 | "no-store" |
|
188 | 174 | ], |
|
189 | 175 | "content-type": [ |
|
190 | 176 | "application/json" |
|
191 | 177 | ], |
|
178 | "date": [ | |
|
179 | "Sun, 05 May 2019 13:31:02 GMT" | |
|
180 | ], | |
|
181 | "connection": [ | |
|
182 | "keep-alive" | |
|
183 | ], | |
|
184 | "strict-transport-security": [ | |
|
185 | "max-age=31536000; includeSubdomains; preload" | |
|
186 | ], | |
|
187 | "vary": [ | |
|
188 | "Accept-Encoding" | |
|
189 | ], | |
|
190 | "x-frame-options": [ | |
|
191 | "Deny" | |
|
192 | ], | |
|
193 | "content-length": [ | |
|
194 | "51" | |
|
195 | ], | |
|
192 | 196 | "x-content-type-options": [ |
|
193 | 197 | "nosniff" |
|
194 | 198 | ], |
|
195 |
" |
|
|
196 | "Apache/2.4.10 (Debian)" | |
|
197 | ], | |
|
198 | "set-cookie": [ | |
|
199 | "phsid=A%2F5mq3t25wu5igv7oufpwcoy32fveozo7wn5wni3gw; expires=Fri, 01-Mar-2024 00:12:25 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
200 | ], | |
|
201 | "strict-transport-security": [ | |
|
202 | "max-age=0; includeSubdomains; preload" | |
|
199 | "expires": [ | |
|
200 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
203 | 201 | ] |
|
202 | }, | |
|
203 | "body": { | |
|
204 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
204 | 205 | } |
|
205 | 206 | } |
|
206 | 207 | }, |
|
207 | 208 | { |
|
208 | 209 | "request": { |
|
209 | "method": "POST", | |
|
210 | "body": "diff_id=14303&data=%7B%22d386117f30e6b1282897bdbde75ac21e095163d4%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22time%22%3A+0.0%7D%7D&api.token=cli-hahayouwish&name=local%3Acommits", | |
|
211 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
212 | 210 | "headers": { |
|
211 | "user-agent": [ | |
|
212 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
213 | ], | |
|
214 | "content-length": [ | |
|
215 | "257" | |
|
216 | ], | |
|
213 | 217 | "content-type": [ |
|
214 | 218 | "application/x-www-form-urlencoded" |
|
215 | 219 | ], |
|
216 | 220 | "accept": [ |
|
217 | 221 | "application/mercurial-0.1" |
|
218 | 222 | ], |
|
219 | "user-agent": [ | |
|
220 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
221 | ], | |
|
222 | 223 | "host": [ |
|
223 | 224 | "phab.mercurial-scm.org" |
|
224 | ], | |
|
225 | "content-length": [ | |
|
226 | "227" | |
|
227 | 225 | ] |
|
228 | } | |
|
226 | }, | |
|
227 | "body": "diff_id=1899&data=%7B%22d386117f30e6b1282897bdbde75ac21e095163d4%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%22d386117f30e6b1282897bdbde75ac21e095163d4%22%2C+%22parents%22%3A+%5B%220000000000000000000000000000000000000000%22%5D%2C+%22time%22%3A+0%7D%7D&name=local%3Acommits&api.token=cli-hahayouwish", | |
|
228 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
229 | "method": "POST" | |
|
229 | 230 | }, |
|
230 | 231 | "response": { |
|
231 | 232 | "status": { |
|
232 | 233 | "code": 200, |
|
233 | 234 | "message": "OK" |
|
234 | 235 | }, |
|
235 | "body": { | |
|
236 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
237 | }, | |
|
238 | 236 | "headers": { |
|
239 | "expires": [ | |
|
240 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
241 | ], | |
|
242 | 237 | "x-xss-protection": [ |
|
243 | 238 | "1; mode=block" |
|
244 | 239 | ], |
|
245 | "transfer-encoding": [ | |
|
246 | "chunked" | |
|
247 | ], | |
|
248 | "date": [ | |
|
249 | "Sun, 03 Mar 2019 00:12:25 GMT" | |
|
250 | ], | |
|
251 | "x-frame-options": [ | |
|
252 | "Deny" | |
|
253 | ], | |
|
254 | 240 | "cache-control": [ |
|
255 | 241 | "no-store" |
|
256 | 242 | ], |
|
257 | 243 | "content-type": [ |
|
258 | 244 | "application/json" |
|
259 | 245 | ], |
|
246 | "date": [ | |
|
247 | "Sun, 05 May 2019 13:31:02 GMT" | |
|
248 | ], | |
|
249 | "connection": [ | |
|
250 | "keep-alive" | |
|
251 | ], | |
|
252 | "strict-transport-security": [ | |
|
253 | "max-age=31536000; includeSubdomains; preload" | |
|
254 | ], | |
|
255 | "vary": [ | |
|
256 | "Accept-Encoding" | |
|
257 | ], | |
|
258 | "x-frame-options": [ | |
|
259 | "Deny" | |
|
260 | ], | |
|
261 | "content-length": [ | |
|
262 | "51" | |
|
263 | ], | |
|
260 | 264 | "x-content-type-options": [ |
|
261 | 265 | "nosniff" |
|
262 | 266 | ], |
|
263 |
" |
|
|
264 | "Apache/2.4.10 (Debian)" | |
|
265 | ], | |
|
266 | "set-cookie": [ | |
|
267 | "phsid=A%2F5nja6g4cnpt63ctjjwykxyceyb7kokfptrzbejoc; expires=Fri, 01-Mar-2024 00:12:25 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
268 | ], | |
|
269 | "strict-transport-security": [ | |
|
270 | "max-age=0; includeSubdomains; preload" | |
|
267 | "expires": [ | |
|
268 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
271 | 269 | ] |
|
270 | }, | |
|
271 | "body": { | |
|
272 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
272 | 273 | } |
|
273 | 274 | } |
|
274 | 275 | }, |
|
275 | 276 | { |
|
276 | 277 | "request": { |
|
277 | "method": "POST", | |
|
278 | "body": "api.token=cli-hahayouwish&corpus=create+alpha+for+phabricator+test+%E2%82%AC", | |
|
279 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
280 | 278 | "headers": { |
|
279 | "user-agent": [ | |
|
280 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
281 | ], | |
|
282 | "content-length": [ | |
|
283 | "93" | |
|
284 | ], | |
|
281 | 285 | "content-type": [ |
|
282 | 286 | "application/x-www-form-urlencoded" |
|
283 | 287 | ], |
|
284 | 288 | "accept": [ |
|
285 | 289 | "application/mercurial-0.1" |
|
286 | 290 | ], |
|
287 | "user-agent": [ | |
|
288 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
289 | ], | |
|
290 | 291 | "host": [ |
|
291 | 292 | "phab.mercurial-scm.org" |
|
292 | ], | |
|
293 | "content-length": [ | |
|
294 | "93" | |
|
295 | 293 | ] |
|
296 | } | |
|
294 | }, | |
|
295 | "body": "api.token=cli-hahayouwish&corpus=create+alpha+for+phabricator+test+%E2%82%AC", | |
|
296 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
297 | "method": "POST" | |
|
297 | 298 | }, |
|
298 | 299 | "response": { |
|
299 | 300 | "status": { |
|
300 | 301 | "code": 200, |
|
301 | 302 | "message": "OK" |
|
302 | 303 | }, |
|
303 | "body": { | |
|
304 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create alpha for phabricator test \\u20ac\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"}},\"error_code\":null,\"error_info\":null}" | |
|
305 | }, | |
|
306 | 304 | "headers": { |
|
307 | "expires": [ | |
|
308 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
309 | ], | |
|
310 | 305 | "x-xss-protection": [ |
|
311 | 306 | "1; mode=block" |
|
312 | 307 | ], |
|
313 | "transfer-encoding": [ | |
|
314 | "chunked" | |
|
315 | ], | |
|
316 | "date": [ | |
|
317 | "Sun, 03 Mar 2019 00:12:26 GMT" | |
|
318 | ], | |
|
319 | "x-frame-options": [ | |
|
320 | "Deny" | |
|
321 | ], | |
|
322 | 308 | "cache-control": [ |
|
323 | 309 | "no-store" |
|
324 | 310 | ], |
|
325 | 311 | "content-type": [ |
|
326 | 312 | "application/json" |
|
327 | 313 | ], |
|
314 | "date": [ | |
|
315 | "Sun, 05 May 2019 13:31:03 GMT" | |
|
316 | ], | |
|
317 | "connection": [ | |
|
318 | "keep-alive" | |
|
319 | ], | |
|
320 | "strict-transport-security": [ | |
|
321 | "max-age=31536000; includeSubdomains; preload" | |
|
322 | ], | |
|
323 | "vary": [ | |
|
324 | "Accept-Encoding" | |
|
325 | ], | |
|
326 | "x-frame-options": [ | |
|
327 | "Deny" | |
|
328 | ], | |
|
329 | "content-length": [ | |
|
330 | "298" | |
|
331 | ], | |
|
328 | 332 | "x-content-type-options": [ |
|
329 | 333 | "nosniff" |
|
330 | 334 | ], |
|
331 |
" |
|
|
332 | "Apache/2.4.10 (Debian)" | |
|
333 | ], | |
|
334 | "set-cookie": [ | |
|
335 | "phsid=A%2Fkrxawhyvcd4jhv77inuwdmzcci4f7kql6c7l3smz; expires=Fri, 01-Mar-2024 00:12:26 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
336 | ], | |
|
337 | "strict-transport-security": [ | |
|
338 | "max-age=0; includeSubdomains; preload" | |
|
335 | "expires": [ | |
|
336 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
339 | 337 | ] |
|
338 | }, | |
|
339 | "body": { | |
|
340 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create alpha for phabricator test \\u20ac\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"create alpha for phabricator test \\u20ac\"}]},\"error_code\":null,\"error_info\":null}" | |
|
340 | 341 | } |
|
341 | 342 | } |
|
342 | 343 | }, |
|
343 | 344 | { |
|
344 | 345 | "request": { |
|
345 | "method": "POST", | |
|
346 | "body": "transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-allzuauvigfjpv4z6dpi&transactions%5B1%5D%5Btype%5D=title&transactions%5B1%5D%5Bvalue%5D=create+alpha+for+phabricator+test+%E2%82%AC&api.token=cli-hahayouwish", | |
|
347 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
348 | 346 | "headers": { |
|
347 | "user-agent": [ | |
|
348 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
349 | ], | |
|
350 | "content-length": [ | |
|
351 | "252" | |
|
352 | ], | |
|
349 | 353 | "content-type": [ |
|
350 | 354 | "application/x-www-form-urlencoded" |
|
351 | 355 | ], |
|
352 | 356 | "accept": [ |
|
353 | 357 | "application/mercurial-0.1" |
|
354 | 358 | ], |
|
355 | "user-agent": [ | |
|
356 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
357 | ], | |
|
358 | 359 | "host": [ |
|
359 | 360 | "phab.mercurial-scm.org" |
|
360 | ], | |
|
361 | "content-length": [ | |
|
362 | "252" | |
|
363 | 361 | ] |
|
364 | } | |
|
362 | }, | |
|
363 | "body": "api.token=cli-hahayouwish&transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-gpg57jico75ouhl2bux2&transactions%5B1%5D%5Btype%5D=title&transactions%5B1%5D%5Bvalue%5D=create+alpha+for+phabricator+test+%E2%82%AC", | |
|
364 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
365 | "method": "POST" | |
|
365 | 366 | }, |
|
366 | 367 | "response": { |
|
367 | 368 | "status": { |
|
368 | 369 | "code": 200, |
|
369 | 370 | "message": "OK" |
|
370 | 371 | }, |
|
371 | "body": { | |
|
372 | "string": "{\"result\":{\"object\":{\"id\":6054,\"phid\":\"PHID-DREV-6pczsbtdpqjc2nskmxwy\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-efgl4j4fesixjog\"},{\"phid\":\"PHID-XACT-DREV-xj7ksjeyfadwf5m\"},{\"phid\":\"PHID-XACT-DREV-gecx5zw42kkuffc\"},{\"phid\":\"PHID-XACT-DREV-asda7zcwgzdadoi\"},{\"phid\":\"PHID-XACT-DREV-ku26t33y6iiugjw\"}]},\"error_code\":null,\"error_info\":null}" | |
|
373 | }, | |
|
374 | 372 | "headers": { |
|
375 | "expires": [ | |
|
376 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
377 | ], | |
|
378 | 373 | "x-xss-protection": [ |
|
379 | 374 | "1; mode=block" |
|
380 | 375 | ], |
|
381 | "transfer-encoding": [ | |
|
382 | "chunked" | |
|
383 | ], | |
|
384 | "date": [ | |
|
385 | "Sun, 03 Mar 2019 00:12:27 GMT" | |
|
386 | ], | |
|
387 | "x-frame-options": [ | |
|
388 | "Deny" | |
|
389 | ], | |
|
390 | 376 | "cache-control": [ |
|
391 | 377 | "no-store" |
|
392 | 378 | ], |
|
393 | 379 | "content-type": [ |
|
394 | 380 | "application/json" |
|
395 | 381 | ], |
|
382 | "date": [ | |
|
383 | "Sun, 05 May 2019 13:31:04 GMT" | |
|
384 | ], | |
|
385 | "connection": [ | |
|
386 | "keep-alive" | |
|
387 | ], | |
|
388 | "strict-transport-security": [ | |
|
389 | "max-age=31536000; includeSubdomains; preload" | |
|
390 | ], | |
|
391 | "vary": [ | |
|
392 | "Accept-Encoding" | |
|
393 | ], | |
|
394 | "x-frame-options": [ | |
|
395 | "Deny" | |
|
396 | ], | |
|
397 | "content-length": [ | |
|
398 | "294" | |
|
399 | ], | |
|
396 | 400 | "x-content-type-options": [ |
|
397 | 401 | "nosniff" |
|
398 | 402 | ], |
|
399 |
" |
|
|
400 | "Apache/2.4.10 (Debian)" | |
|
401 | ], | |
|
402 | "set-cookie": [ | |
|
403 | "phsid=A%2Fjwgcqb5hvbltjq4jqbpauz7rmmhpuh2rb7phsdmf; expires=Fri, 01-Mar-2024 00:12:27 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
404 | ], | |
|
405 | "strict-transport-security": [ | |
|
406 | "max-age=0; includeSubdomains; preload" | |
|
403 | "expires": [ | |
|
404 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
407 | 405 | ] |
|
406 | }, | |
|
407 | "body": { | |
|
408 | "string": "{\"result\":{\"object\":{\"id\":1190,\"phid\":\"PHID-DREV-kikesmfxhzpfaxbzgj3l\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-od4nnssrqj57m6x\"},{\"phid\":\"PHID-XACT-DREV-2prb5lagzng6uqt\"},{\"phid\":\"PHID-XACT-DREV-qu7o6fgwssovbwb\"},{\"phid\":\"PHID-XACT-DREV-uynfy6n3u6new5f\"}]},\"error_code\":null,\"error_info\":null}" | |
|
408 | 409 | } |
|
409 | 410 | } |
|
410 | 411 | }, |
|
411 | 412 | { |
|
412 | 413 | "request": { |
|
413 | "method": "POST", | |
|
414 | "body": "api.token=cli-hahayouwish&ids%5B0%5D=6054", | |
|
415 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
|
416 | 414 | "headers": { |
|
415 | "user-agent": [ | |
|
416 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
417 | ], | |
|
418 | "content-length": [ | |
|
419 | "58" | |
|
420 | ], | |
|
417 | 421 | "content-type": [ |
|
418 | 422 | "application/x-www-form-urlencoded" |
|
419 | 423 | ], |
|
420 | 424 | "accept": [ |
|
421 | 425 | "application/mercurial-0.1" |
|
422 | 426 | ], |
|
423 | "user-agent": [ | |
|
424 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
425 | ], | |
|
426 | 427 | "host": [ |
|
427 | 428 | "phab.mercurial-scm.org" |
|
428 | ], | |
|
429 | "content-length": [ | |
|
430 | "58" | |
|
431 | 429 | ] |
|
432 | } | |
|
430 | }, | |
|
431 | "body": "ids%5B0%5D=1190&api.token=cli-hahayouwish", | |
|
432 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
|
433 | "method": "POST" | |
|
433 | 434 | }, |
|
434 | 435 | "response": { |
|
435 | 436 | "status": { |
|
436 | 437 | "code": 200, |
|
437 | 438 | "message": "OK" |
|
438 | 439 | }, |
|
439 | "body": { | |
|
440 | "string": "{\"result\":[{\"id\":\"6054\",\"phid\":\"PHID-DREV-6pczsbtdpqjc2nskmxwy\",\"title\":\"create alpha for phabricator test \\u20ac\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D6054\",\"dateCreated\":\"1551571947\",\"dateModified\":\"1551571947\",\"authorPHID\":\"PHID-USER-5iy6mkoveguhm2zthvww\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":[],\"branch\":null,\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"1\",\"activeDiffPHID\":\"PHID-DIFF-allzuauvigfjpv4z6dpi\",\"diffs\":[\"14303\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-q42dn7cc3donqriafhjx\"],\"hashes\":[],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null}],\"error_code\":null,\"error_info\":null}" | |
|
441 | }, | |
|
442 | 440 | "headers": { |
|
443 | "expires": [ | |
|
444 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
445 | ], | |
|
446 | 441 | "x-xss-protection": [ |
|
447 | 442 | "1; mode=block" |
|
448 | 443 | ], |
|
449 | "transfer-encoding": [ | |
|
450 | "chunked" | |
|
451 | ], | |
|
452 | "date": [ | |
|
453 | "Sun, 03 Mar 2019 00:12:28 GMT" | |
|
454 | ], | |
|
455 | "x-frame-options": [ | |
|
456 | "Deny" | |
|
457 | ], | |
|
458 | 444 | "cache-control": [ |
|
459 | 445 | "no-store" |
|
460 | 446 | ], |
|
461 | 447 | "content-type": [ |
|
462 | 448 | "application/json" |
|
463 | 449 | ], |
|
450 | "date": [ | |
|
451 | "Sun, 05 May 2019 13:31:05 GMT" | |
|
452 | ], | |
|
453 | "connection": [ | |
|
454 | "keep-alive" | |
|
455 | ], | |
|
456 | "strict-transport-security": [ | |
|
457 | "max-age=31536000; includeSubdomains; preload" | |
|
458 | ], | |
|
459 | "vary": [ | |
|
460 | "Accept-Encoding" | |
|
461 | ], | |
|
462 | "x-frame-options": [ | |
|
463 | "Deny" | |
|
464 | ], | |
|
465 | "content-length": [ | |
|
466 | "778" | |
|
467 | ], | |
|
464 | 468 | "x-content-type-options": [ |
|
465 | 469 | "nosniff" |
|
466 | 470 | ], |
|
467 |
" |
|
|
468 | "Apache/2.4.10 (Debian)" | |
|
469 | ], | |
|
470 | "set-cookie": [ | |
|
471 | "phsid=A%2F3lgkbbyaa646ng5klghjyehsbjxtaqblipnvocuz; expires=Fri, 01-Mar-2024 00:12:28 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
472 | ], | |
|
473 | "strict-transport-security": [ | |
|
474 | "max-age=0; includeSubdomains; preload" | |
|
471 | "expires": [ | |
|
472 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
475 | 473 | ] |
|
474 | }, | |
|
475 | "body": { | |
|
476 | "string": "{\"result\":[{\"id\":\"1190\",\"phid\":\"PHID-DREV-kikesmfxhzpfaxbzgj3l\",\"title\":\"create alpha for phabricator test \\u20ac\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D1190\",\"dateCreated\":\"1557063064\",\"dateModified\":\"1557063064\",\"authorPHID\":\"PHID-USER-qmzis76vb2yh3ogldu6r\",\"status\":\"0\",\"statusName\":\"Draft\",\"properties\":{\"draft.broadcast\":false,\"lines.added\":1,\"lines.removed\":0},\"branch\":null,\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"1\",\"activeDiffPHID\":\"PHID-DIFF-gpg57jico75ouhl2bux2\",\"diffs\":[\"1899\"],\"commits\":[],\"reviewers\":[],\"ccs\":[],\"hashes\":[],\"auxiliary\":{\"bugzilla.bug-id\":null,\"phabricator:projects\":[\"PHID-PROJ-f2a3wl5wxtqdtfgdjqzk\"],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null}],\"error_code\":null,\"error_info\":null}" | |
|
476 | 477 | } |
|
477 | 478 | } |
|
478 | 479 | }, |
|
479 | 480 | { |
|
480 | 481 | "request": { |
|
481 | "method": "POST", | |
|
482 | "body": "diff_id=14303&data=%7B%22user%22%3A+%22test%22%2C+%22parent%22%3A+%220000000000000000000000000000000000000000%22%2C+%22node%22%3A+%22cb03845d6dd98c72bec766c7ed08c693cc49817a%22%2C+%22date%22%3A+%220+0%22%7D&api.token=cli-hahayouwish&name=hg%3Ameta", | |
|
483 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
484 | 482 | "headers": { |
|
483 | "user-agent": [ | |
|
484 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
485 | ], | |
|
486 | "content-length": [ | |
|
487 | "296" | |
|
488 | ], | |
|
485 | 489 | "content-type": [ |
|
486 | 490 | "application/x-www-form-urlencoded" |
|
487 | 491 | ], |
|
488 | 492 | "accept": [ |
|
489 | 493 | "application/mercurial-0.1" |
|
490 | 494 | ], |
|
491 | "user-agent": [ | |
|
492 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
493 | ], | |
|
494 | 495 | "host": [ |
|
495 | 496 | "phab.mercurial-scm.org" |
|
496 | ], | |
|
497 | "content-length": [ | |
|
498 | "264" | |
|
499 | 497 | ] |
|
500 | } | |
|
498 | }, | |
|
499 | "body": "diff_id=1899&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%22a86ed7d85e866f01161e9f55cee5d116272f508f%22%2C+%22parent%22%3A+%220000000000000000000000000000000000000000%22%2C+%22user%22%3A+%22test%22%7D&name=hg%3Ameta&api.token=cli-hahayouwish", | |
|
500 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
501 | "method": "POST" | |
|
501 | 502 | }, |
|
502 | 503 | "response": { |
|
503 | 504 | "status": { |
|
504 | 505 | "code": 200, |
|
505 | 506 | "message": "OK" |
|
506 | 507 | }, |
|
507 | "body": { | |
|
508 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
509 | }, | |
|
510 | 508 | "headers": { |
|
511 | "expires": [ | |
|
512 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
513 | ], | |
|
514 | 509 | "x-xss-protection": [ |
|
515 | 510 | "1; mode=block" |
|
516 | 511 | ], |
|
517 | "transfer-encoding": [ | |
|
518 | "chunked" | |
|
519 | ], | |
|
520 | "date": [ | |
|
521 | "Sun, 03 Mar 2019 00:12:28 GMT" | |
|
522 | ], | |
|
523 | "x-frame-options": [ | |
|
524 | "Deny" | |
|
525 | ], | |
|
526 | 512 | "cache-control": [ |
|
527 | 513 | "no-store" |
|
528 | 514 | ], |
|
529 | 515 | "content-type": [ |
|
530 | 516 | "application/json" |
|
531 | 517 | ], |
|
518 | "date": [ | |
|
519 | "Sun, 05 May 2019 13:31:06 GMT" | |
|
520 | ], | |
|
521 | "connection": [ | |
|
522 | "keep-alive" | |
|
523 | ], | |
|
524 | "strict-transport-security": [ | |
|
525 | "max-age=31536000; includeSubdomains; preload" | |
|
526 | ], | |
|
527 | "vary": [ | |
|
528 | "Accept-Encoding" | |
|
529 | ], | |
|
530 | "x-frame-options": [ | |
|
531 | "Deny" | |
|
532 | ], | |
|
533 | "content-length": [ | |
|
534 | "51" | |
|
535 | ], | |
|
532 | 536 | "x-content-type-options": [ |
|
533 | 537 | "nosniff" |
|
534 | 538 | ], |
|
535 |
" |
|
|
536 | "Apache/2.4.10 (Debian)" | |
|
537 | ], | |
|
538 | "set-cookie": [ | |
|
539 | "phsid=A%2Fwjxvlsjqmqwvcljfv6oe2sbometi3gebps6vzrlw; expires=Fri, 01-Mar-2024 00:12:28 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
540 | ], | |
|
541 | "strict-transport-security": [ | |
|
542 | "max-age=0; includeSubdomains; preload" | |
|
539 | "expires": [ | |
|
540 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
543 | 541 | ] |
|
542 | }, | |
|
543 | "body": { | |
|
544 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
544 | 545 | } |
|
545 | 546 | } |
|
546 | 547 | }, |
|
547 | 548 | { |
|
548 | 549 | "request": { |
|
549 | "method": "POST", | |
|
550 | "body": "diff_id=14303&data=%7B%22cb03845d6dd98c72bec766c7ed08c693cc49817a%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22time%22%3A+0.0%7D%7D&api.token=cli-hahayouwish&name=local%3Acommits", | |
|
551 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
552 | 550 | "headers": { |
|
551 | "user-agent": [ | |
|
552 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
553 | ], | |
|
554 | "content-length": [ | |
|
555 | "257" | |
|
556 | ], | |
|
553 | 557 | "content-type": [ |
|
554 | 558 | "application/x-www-form-urlencoded" |
|
555 | 559 | ], |
|
556 | 560 | "accept": [ |
|
557 | 561 | "application/mercurial-0.1" |
|
558 | 562 | ], |
|
559 | "user-agent": [ | |
|
560 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
561 | ], | |
|
562 | 563 | "host": [ |
|
563 | 564 | "phab.mercurial-scm.org" |
|
564 | ], | |
|
565 | "content-length": [ | |
|
566 | "227" | |
|
567 | 565 | ] |
|
568 | } | |
|
566 | }, | |
|
567 | "body": "diff_id=1899&data=%7B%22a86ed7d85e866f01161e9f55cee5d116272f508f%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%22a86ed7d85e866f01161e9f55cee5d116272f508f%22%2C+%22parents%22%3A+%5B%220000000000000000000000000000000000000000%22%5D%2C+%22time%22%3A+0%7D%7D&name=local%3Acommits&api.token=cli-hahayouwish", | |
|
568 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
569 | "method": "POST" | |
|
569 | 570 | }, |
|
570 | 571 | "response": { |
|
571 | 572 | "status": { |
|
572 | 573 | "code": 200, |
|
573 | 574 | "message": "OK" |
|
574 | 575 | }, |
|
575 | "body": { | |
|
576 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
577 | }, | |
|
578 | 576 | "headers": { |
|
579 | "expires": [ | |
|
580 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
581 | ], | |
|
582 | 577 | "x-xss-protection": [ |
|
583 | 578 | "1; mode=block" |
|
584 | 579 | ], |
|
585 | "transfer-encoding": [ | |
|
586 | "chunked" | |
|
587 | ], | |
|
588 | "date": [ | |
|
589 | "Sun, 03 Mar 2019 00:12:29 GMT" | |
|
590 | ], | |
|
591 | "x-frame-options": [ | |
|
592 | "Deny" | |
|
593 | ], | |
|
594 | 580 | "cache-control": [ |
|
595 | 581 | "no-store" |
|
596 | 582 | ], |
|
597 | 583 | "content-type": [ |
|
598 | 584 | "application/json" |
|
599 | 585 | ], |
|
586 | "date": [ | |
|
587 | "Sun, 05 May 2019 13:31:06 GMT" | |
|
588 | ], | |
|
589 | "connection": [ | |
|
590 | "keep-alive" | |
|
591 | ], | |
|
592 | "strict-transport-security": [ | |
|
593 | "max-age=31536000; includeSubdomains; preload" | |
|
594 | ], | |
|
595 | "vary": [ | |
|
596 | "Accept-Encoding" | |
|
597 | ], | |
|
598 | "x-frame-options": [ | |
|
599 | "Deny" | |
|
600 | ], | |
|
601 | "content-length": [ | |
|
602 | "51" | |
|
603 | ], | |
|
600 | 604 | "x-content-type-options": [ |
|
601 | 605 | "nosniff" |
|
602 | 606 | ], |
|
603 |
" |
|
|
604 | "Apache/2.4.10 (Debian)" | |
|
605 | ], | |
|
606 | "set-cookie": [ | |
|
607 | "phsid=A%2Foeyncgzaanzmnhgfc7ecvmu5pq7qju7ewq6tvgrp; expires=Fri, 01-Mar-2024 00:12:29 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
608 | ], | |
|
609 | "strict-transport-security": [ | |
|
610 | "max-age=0; includeSubdomains; preload" | |
|
607 | "expires": [ | |
|
608 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
611 | 609 | ] |
|
610 | }, | |
|
611 | "body": { | |
|
612 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
612 | 613 | } |
|
613 | 614 | } |
|
614 | 615 | } |
|
615 |
] |
|
|
616 | "version": 1 | |
|
616 | ] | |
|
617 | 617 | } |
This diff has been collapsed as it changes many lines, (1002 lines changed) Show them Hide them | |||
@@ -1,957 +1,957 | |||
|
1 | 1 | { |
|
2 | "version": 1, | |
|
2 | 3 | "interactions": [ |
|
3 | 4 | { |
|
4 |
"re |
|
|
5 | "request": { | |
|
5 | 6 | "headers": { |
|
6 |
" |
|
|
7 | "application/json" | |
|
8 | ], | |
|
9 | "date": [ | |
|
10 | "Thu, 10 Jan 2019 04:08:24 GMT" | |
|
11 | ], | |
|
12 | "x-content-type-options": [ | |
|
13 | "nosniff" | |
|
14 | ], | |
|
15 | "cache-control": [ | |
|
16 | "no-store" | |
|
17 | ], | |
|
18 | "server": [ | |
|
19 | "Apache/2.4.10 (Debian)" | |
|
20 | ], | |
|
21 | "x-xss-protection": [ | |
|
22 | "1; mode=block" | |
|
23 | ], | |
|
24 | "x-frame-options": [ | |
|
25 | "Deny" | |
|
26 | ], | |
|
27 | "expires": [ | |
|
28 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
7 | "user-agent": [ | |
|
8 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
29 | 9 |
], |
|
30 | "set-cookie": [ | |
|
31 | "phsid=A%2F5faozuxaekgxbyfcc43jvrcmbr5fscbki46mvcvl; expires=Tue, 09-Jan-2024 04:08:24 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
32 | ], | |
|
33 | "transfer-encoding": [ | |
|
34 | "chunked" | |
|
35 | ], | |
|
36 | "strict-transport-security": [ | |
|
37 | "max-age=0; includeSubdomains; preload" | |
|
38 | ] | |
|
39 | }, | |
|
40 | "status": { | |
|
41 | "message": "OK", | |
|
42 | "code": 200 | |
|
43 | }, | |
|
44 | "body": { | |
|
45 | "string": "{\"result\":{\"data\":[{\"id\":2,\"type\":\"REPO\",\"phid\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"fields\":{\"name\":\"Mercurial\",\"vcs\":\"hg\",\"callsign\":\"HG\",\"shortName\":null,\"status\":\"active\",\"isImporting\":false,\"spacePHID\":null,\"dateCreated\":1498761653,\"dateModified\":1500403184,\"policy\":{\"view\":\"public\",\"edit\":\"admin\",\"diffusion.push\":\"users\"}},\"attachments\":{}}],\"maps\":{},\"query\":{\"queryKey\":null},\"cursor\":{\"limit\":100,\"after\":null,\"before\":null,\"order\":null}},\"error_code\":null,\"error_info\":null}" | |
|
46 | } | |
|
47 | }, | |
|
48 | "request": { | |
|
49 | "method": "POST", | |
|
50 | "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |
|
51 | "headers": { | |
|
52 | 10 | "content-length": [ |
|
53 |
" |
|
|
54 | ], | |
|
55 | "accept": [ | |
|
56 | "application/mercurial-0.1" | |
|
11 | "93" | |
|
57 | 12 |
], |
|
58 | 13 | "content-type": [ |
|
59 | 14 | "application/x-www-form-urlencoded" |
|
60 | 15 |
], |
|
61 |
" |
|
|
62 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
16 | "accept": [ | |
|
17 | "application/mercurial-0.1" | |
|
63 | 18 |
], |
|
64 | 19 | "host": [ |
|
65 | 20 | "phab.mercurial-scm.org" |
|
66 | 21 | ] |
|
67 | 22 |
}, |
|
68 |
"body": "constraints%5Bcallsigns%5D%5B0%5D=HG |
|
|
69 | } | |
|
23 | "body": "api.token=cli-hahayouwish&constraints%5Bcallsigns%5D%5B0%5D=HG", | |
|
24 | "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |
|
25 | "method": "POST" | |
|
70 | 26 |
}, |
|
71 | { | |
|
72 | 27 | "response": { |
|
28 | "status": { | |
|
29 | "code": 200, | |
|
30 | "message": "OK" | |
|
31 | }, | |
|
73 | 32 | "headers": { |
|
33 | "x-xss-protection": [ | |
|
34 | "1; mode=block" | |
|
35 | ], | |
|
36 | "cache-control": [ | |
|
37 | "no-store" | |
|
38 | ], | |
|
74 | 39 | "content-type": [ |
|
75 | 40 | "application/json" |
|
76 | 41 |
], |
|
77 | 42 | "date": [ |
|
78 |
" |
|
|
43 | "Sun, 05 May 2019 13:31:20 GMT" | |
|
79 | 44 |
], |
|
80 |
" |
|
|
81 |
" |
|
|
45 | "connection": [ | |
|
46 | "keep-alive" | |
|
82 | 47 |
], |
|
83 |
" |
|
|
84 | "no-store" | |
|
48 | "strict-transport-security": [ | |
|
49 | "max-age=31536000; includeSubdomains; preload" | |
|
85 | 50 |
], |
|
86 |
" |
|
|
87 |
"A |
|
|
88 | ], | |
|
89 | "x-xss-protection": [ | |
|
90 | "1; mode=block" | |
|
51 | "vary": [ | |
|
52 | "Accept-Encoding" | |
|
91 | 53 |
], |
|
92 | 54 | "x-frame-options": [ |
|
93 | 55 | "Deny" |
|
94 | 56 |
], |
|
57 | "content-length": [ | |
|
58 | "549" | |
|
59 | ], | |
|
60 | "x-content-type-options": [ | |
|
61 | "nosniff" | |
|
62 | ], | |
|
95 | 63 | "expires": [ |
|
96 | 64 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
97 | ], | |
|
98 | "set-cookie": [ | |
|
99 | "phsid=A%2Fkb72422mbpyuyoultl4hkizat6qscjgrl5hi6k2n; expires=Tue, 09-Jan-2024 04:08:25 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
100 | ], | |
|
101 | "transfer-encoding": [ | |
|
102 | "chunked" | |
|
103 | ], | |
|
104 | "strict-transport-security": [ | |
|
105 | "max-age=0; includeSubdomains; preload" | |
|
106 | 65 | ] |
|
107 | 66 |
}, |
|
108 | "status": { | |
|
109 | "message": "OK", | |
|
110 | "code": 200 | |
|
111 | }, | |
|
112 | 67 | "body": { |
|
113 | "string": "{\"result\":{\"id\":13121,\"phid\":\"PHID-DIFF-xrku5f3mlveqr3hhj6a7\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/13121\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
68 | "string": "{\"result\":{\"data\":[{\"id\":10,\"type\":\"REPO\",\"phid\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"fields\":{\"name\":\"Mercurial\",\"vcs\":\"hg\",\"callsign\":\"HG\",\"shortName\":\"Mercurial\",\"status\":\"active\",\"isImporting\":false,\"almanacServicePHID\":null,\"spacePHID\":null,\"dateCreated\":1507817156,\"dateModified\":1529613276,\"policy\":{\"view\":\"public\",\"edit\":\"admin\",\"diffusion.push\":\"users\"}},\"attachments\":{}}],\"maps\":{},\"query\":{\"queryKey\":null},\"cursor\":{\"limit\":100,\"after\":null,\"before\":null,\"order\":null}},\"error_code\":null,\"error_info\":null}" | |
|
69 | } | |
|
114 | 70 |
|
|
115 | 71 |
|
|
72 | { | |
|
116 | 73 | "request": { |
|
117 | "method": "POST", | |
|
118 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
119 | 74 | "headers": { |
|
75 | "user-agent": [ | |
|
76 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
77 | ], | |
|
120 | 78 | "content-length": [ |
|
121 | 79 | "220" |
|
122 | 80 |
], |
|
123 | "accept": [ | |
|
124 | "application/mercurial-0.1" | |
|
125 | ], | |
|
126 | 81 | "content-type": [ |
|
127 | 82 | "application/x-www-form-urlencoded" |
|
128 | 83 |
], |
|
129 |
" |
|
|
130 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
84 | "accept": [ | |
|
85 | "application/mercurial-0.1" | |
|
131 | 86 |
], |
|
132 | 87 | "host": [ |
|
133 | 88 | "phab.mercurial-scm.org" |
|
134 | 89 | ] |
|
135 | 90 |
}, |
|
136 | "body": "repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3&diff=diff+--git+a%2Fbeta+b%2Fbeta%0A---+a%2Fbeta%0A%2B%2B%2B+b%2Fbeta%0A%40%40+-1%2C1+%2B1%2C1+%40%40%0A-beta%0A%2Bpublic+change%0A&api.token=cli-hahayouwish" | |
|
137 | } | |
|
91 | "body": "api.token=cli-hahayouwish&diff=diff+--git+a%2Fbeta+b%2Fbeta%0A---+a%2Fbeta%0A%2B%2B%2B+b%2Fbeta%0A%40%40+-1%2C1+%2B1%2C1+%40%40%0A-beta%0A%2Bpublic+change%0A&repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3", | |
|
92 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
93 | "method": "POST" | |
|
138 | 94 |
}, |
|
139 | { | |
|
140 | 95 | "response": { |
|
96 | "status": { | |
|
97 | "code": 200, | |
|
98 | "message": "OK" | |
|
99 | }, | |
|
141 | 100 | "headers": { |
|
101 | "x-xss-protection": [ | |
|
102 | "1; mode=block" | |
|
103 | ], | |
|
104 | "cache-control": [ | |
|
105 | "no-store" | |
|
106 | ], | |
|
142 | 107 | "content-type": [ |
|
143 | 108 | "application/json" |
|
144 | 109 |
], |
|
145 | 110 | "date": [ |
|
146 |
" |
|
|
111 | "Sun, 05 May 2019 13:31:21 GMT" | |
|
147 | 112 |
], |
|
148 |
" |
|
|
149 |
" |
|
|
113 | "connection": [ | |
|
114 | "keep-alive" | |
|
150 | 115 |
], |
|
151 |
" |
|
|
152 | "no-store" | |
|
116 | "strict-transport-security": [ | |
|
117 | "max-age=31536000; includeSubdomains; preload" | |
|
153 | 118 |
], |
|
154 |
" |
|
|
155 |
"A |
|
|
156 | ], | |
|
157 | "x-xss-protection": [ | |
|
158 | "1; mode=block" | |
|
119 | "vary": [ | |
|
120 | "Accept-Encoding" | |
|
159 | 121 |
], |
|
160 | 122 | "x-frame-options": [ |
|
161 | 123 | "Deny" |
|
162 | 124 |
], |
|
125 | "content-length": [ | |
|
126 | "172" | |
|
127 | ], | |
|
128 | "x-content-type-options": [ | |
|
129 | "nosniff" | |
|
130 | ], | |
|
163 | 131 | "expires": [ |
|
164 | 132 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
165 | ], | |
|
166 | "set-cookie": [ | |
|
167 | "phsid=A%2Fpyr677mjsjvlsn3wwzl2iignpppablawwz7dn5ap; expires=Tue, 09-Jan-2024 04:08:25 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
168 | ], | |
|
169 | "transfer-encoding": [ | |
|
170 | "chunked" | |
|
171 | ], | |
|
172 | "strict-transport-security": [ | |
|
173 | "max-age=0; includeSubdomains; preload" | |
|
174 | 133 | ] |
|
175 | 134 |
}, |
|
176 | "status": { | |
|
177 | "message": "OK", | |
|
178 | "code": 200 | |
|
179 | }, | |
|
180 | 135 | "body": { |
|
181 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
136 | "string": "{\"result\":{\"id\":1902,\"phid\":\"PHID-DIFF-uuzq4s7s72y4ts7ijduc\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1902\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
137 | } | |
|
182 | 138 |
|
|
183 | 139 |
|
|
140 | { | |
|
184 | 141 | "request": { |
|
185 | "method": "POST", | |
|
186 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
187 | 142 | "headers": { |
|
143 | "user-agent": [ | |
|
144 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
145 | ], | |
|
188 | 146 | "content-length": [ |
|
189 |
"26 |
|
|
190 | ], | |
|
191 | "accept": [ | |
|
192 | "application/mercurial-0.1" | |
|
147 | "296" | |
|
193 | 148 |
], |
|
194 | 149 | "content-type": [ |
|
195 | 150 | "application/x-www-form-urlencoded" |
|
196 | 151 |
], |
|
197 |
" |
|
|
198 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
152 | "accept": [ | |
|
153 | "application/mercurial-0.1" | |
|
199 | 154 |
], |
|
200 | 155 | "host": [ |
|
201 | 156 | "phab.mercurial-scm.org" |
|
202 | 157 | ] |
|
203 | 158 |
}, |
|
204 | "body": "name=hg%3Ameta&api.token=cli-hahayouwish&data=%7B%22date%22%3A+%220+0%22%2C+%22user%22%3A+%22test%22%2C+%22node%22%3A+%22540a21d3fbeb7c56cafe726bba6cd9fdcc94f29c%22%2C+%22parent%22%3A+%22c2b605ada280b38c38031b5d31622869c72b0d8d%22%7D&diff_id=13121" | |
|
205 | } | |
|
159 | "body": "diff_id=1902&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%2C+%22parent%22%3A+%222837deb84f4ab1315c1197b8aef10c620465e352%22%2C+%22user%22%3A+%22test%22%7D&name=hg%3Ameta&api.token=cli-hahayouwish", | |
|
160 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
161 | "method": "POST" | |
|
206 | 162 |
}, |
|
207 | { | |
|
208 | 163 | "response": { |
|
164 | "status": { | |
|
165 | "code": 200, | |
|
166 | "message": "OK" | |
|
167 | }, | |
|
209 | 168 | "headers": { |
|
169 | "x-xss-protection": [ | |
|
170 | "1; mode=block" | |
|
171 | ], | |
|
172 | "cache-control": [ | |
|
173 | "no-store" | |
|
174 | ], | |
|
210 | 175 | "content-type": [ |
|
211 | 176 | "application/json" |
|
212 | 177 |
], |
|
213 | 178 | "date": [ |
|
214 |
" |
|
|
179 | "Sun, 05 May 2019 13:31:22 GMT" | |
|
215 | 180 |
], |
|
216 |
" |
|
|
217 |
" |
|
|
181 | "connection": [ | |
|
182 | "keep-alive" | |
|
218 | 183 |
], |
|
219 |
" |
|
|
220 | "no-store" | |
|
184 | "strict-transport-security": [ | |
|
185 | "max-age=31536000; includeSubdomains; preload" | |
|
221 | 186 |
], |
|
222 |
" |
|
|
223 |
"A |
|
|
224 | ], | |
|
225 | "x-xss-protection": [ | |
|
226 | "1; mode=block" | |
|
187 | "vary": [ | |
|
188 | "Accept-Encoding" | |
|
227 | 189 |
], |
|
228 | 190 | "x-frame-options": [ |
|
229 | 191 | "Deny" |
|
230 | 192 |
], |
|
193 | "content-length": [ | |
|
194 | "51" | |
|
195 | ], | |
|
196 | "x-content-type-options": [ | |
|
197 | "nosniff" | |
|
198 | ], | |
|
231 | 199 | "expires": [ |
|
232 | 200 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
233 | ], | |
|
234 | "set-cookie": [ | |
|
235 | "phsid=A%2Fegvbvujn6hykhurzyjtaq4xduxl6sz7gavenbcou; expires=Tue, 09-Jan-2024 04:08:26 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
236 | ], | |
|
237 | "transfer-encoding": [ | |
|
238 | "chunked" | |
|
239 | ], | |
|
240 | "strict-transport-security": [ | |
|
241 | "max-age=0; includeSubdomains; preload" | |
|
242 | 201 | ] |
|
243 | 202 |
}, |
|
244 | "status": { | |
|
245 | "message": "OK", | |
|
246 | "code": 200 | |
|
247 | }, | |
|
248 | 203 | "body": { |
|
249 | 204 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
250 | 205 | } |
|
206 | } | |
|
251 | 207 |
|
|
208 | { | |
|
252 | 209 | "request": { |
|
253 | "method": "POST", | |
|
254 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
255 | 210 | "headers": { |
|
256 |
" |
|
|
257 | "227" | |
|
211 | "user-agent": [ | |
|
212 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
258 | 213 |
], |
|
259 |
" |
|
|
260 |
" |
|
|
214 | "content-length": [ | |
|
215 | "257" | |
|
261 | 216 |
], |
|
262 | 217 | "content-type": [ |
|
263 | 218 | "application/x-www-form-urlencoded" |
|
264 | 219 |
], |
|
265 |
" |
|
|
266 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
220 | "accept": [ | |
|
221 | "application/mercurial-0.1" | |
|
267 | 222 |
], |
|
268 | 223 | "host": [ |
|
269 | 224 | "phab.mercurial-scm.org" |
|
270 | 225 | ] |
|
271 | 226 |
}, |
|
272 | "body": "name=local%3Acommits&api.token=cli-hahayouwish&data=%7B%22540a21d3fbeb7c56cafe726bba6cd9fdcc94f29c%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22time%22%3A+0.0%7D%7D&diff_id=13121" | |
|
273 | } | |
|
227 | "body": "diff_id=1902&data=%7B%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%2C+%22parents%22%3A+%5B%222837deb84f4ab1315c1197b8aef10c620465e352%22%5D%2C+%22time%22%3A+0%7D%7D&name=local%3Acommits&api.token=cli-hahayouwish", | |
|
228 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
229 | "method": "POST" | |
|
274 | 230 |
}, |
|
275 | { | |
|
276 | 231 | "response": { |
|
232 | "status": { | |
|
233 | "code": 200, | |
|
234 | "message": "OK" | |
|
235 | }, | |
|
277 | 236 | "headers": { |
|
237 | "x-xss-protection": [ | |
|
238 | "1; mode=block" | |
|
239 | ], | |
|
240 | "cache-control": [ | |
|
241 | "no-store" | |
|
242 | ], | |
|
278 | 243 | "content-type": [ |
|
279 | 244 | "application/json" |
|
280 | 245 |
], |
|
281 | 246 | "date": [ |
|
282 |
" |
|
|
247 | "Sun, 05 May 2019 13:31:23 GMT" | |
|
283 | 248 |
], |
|
284 |
" |
|
|
285 |
" |
|
|
249 | "connection": [ | |
|
250 | "keep-alive" | |
|
286 | 251 |
], |
|
287 |
" |
|
|
288 | "no-store" | |
|
252 | "strict-transport-security": [ | |
|
253 | "max-age=31536000; includeSubdomains; preload" | |
|
289 | 254 |
], |
|
290 |
" |
|
|
291 |
"A |
|
|
292 | ], | |
|
293 | "x-xss-protection": [ | |
|
294 | "1; mode=block" | |
|
255 | "vary": [ | |
|
256 | "Accept-Encoding" | |
|
295 | 257 |
], |
|
296 | 258 | "x-frame-options": [ |
|
297 | 259 | "Deny" |
|
298 | 260 |
], |
|
261 | "content-length": [ | |
|
262 | "51" | |
|
263 | ], | |
|
264 | "x-content-type-options": [ | |
|
265 | "nosniff" | |
|
266 | ], | |
|
299 | 267 | "expires": [ |
|
300 | 268 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
301 | ], | |
|
302 | "set-cookie": [ | |
|
303 | "phsid=A%2Flbjzqvie4g24kmhnqws2bwhmeiijd3qvvkd22isg; expires=Tue, 09-Jan-2024 04:08:27 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
304 | ], | |
|
305 | "transfer-encoding": [ | |
|
306 | "chunked" | |
|
307 | ], | |
|
308 | "strict-transport-security": [ | |
|
309 | "max-age=0; includeSubdomains; preload" | |
|
310 | 269 | ] |
|
311 | 270 |
}, |
|
312 | "status": { | |
|
313 | "message": "OK", | |
|
314 | "code": 200 | |
|
315 | }, | |
|
316 | 271 | "body": { |
|
317 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create public change for phabricator testing\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"}},\"error_code\":null,\"error_info\":null}" | |
|
272 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
273 | } | |
|
318 | 274 |
|
|
319 | 275 |
|
|
276 | { | |
|
320 | 277 | "request": { |
|
321 | "method": "POST", | |
|
322 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
323 | 278 | "headers": { |
|
279 | "user-agent": [ | |
|
280 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
281 | ], | |
|
324 | 282 | "content-length": [ |
|
325 | 283 | "94" |
|
326 | 284 |
], |
|
327 | "accept": [ | |
|
328 | "application/mercurial-0.1" | |
|
329 | ], | |
|
330 | 285 | "content-type": [ |
|
331 | 286 | "application/x-www-form-urlencoded" |
|
332 | 287 |
], |
|
333 |
" |
|
|
334 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
288 | "accept": [ | |
|
289 | "application/mercurial-0.1" | |
|
335 | 290 |
], |
|
336 | 291 | "host": [ |
|
337 | 292 | "phab.mercurial-scm.org" |
|
338 | 293 | ] |
|
339 | 294 |
}, |
|
340 |
"body": "corpus=create+public+change+for+phabricator+testing |
|
|
341 | } | |
|
295 | "body": "api.token=cli-hahayouwish&corpus=create+public+change+for+phabricator+testing", | |
|
296 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
297 | "method": "POST" | |
|
342 | 298 |
}, |
|
343 | { | |
|
344 | 299 | "response": { |
|
300 | "status": { | |
|
301 | "code": 200, | |
|
302 | "message": "OK" | |
|
303 | }, | |
|
345 | 304 | "headers": { |
|
305 | "x-xss-protection": [ | |
|
306 | "1; mode=block" | |
|
307 | ], | |
|
308 | "cache-control": [ | |
|
309 | "no-store" | |
|
310 | ], | |
|
346 | 311 | "content-type": [ |
|
347 | 312 | "application/json" |
|
348 | 313 |
], |
|
349 | 314 | "date": [ |
|
350 |
" |
|
|
315 | "Sun, 05 May 2019 13:31:23 GMT" | |
|
351 | 316 |
], |
|
352 |
" |
|
|
353 |
" |
|
|
317 | "connection": [ | |
|
318 | "keep-alive" | |
|
354 | 319 |
], |
|
355 |
" |
|
|
356 | "no-store" | |
|
320 | "strict-transport-security": [ | |
|
321 | "max-age=31536000; includeSubdomains; preload" | |
|
357 | 322 |
], |
|
358 |
" |
|
|
359 |
"A |
|
|
360 | ], | |
|
361 | "x-xss-protection": [ | |
|
362 | "1; mode=block" | |
|
323 | "vary": [ | |
|
324 | "Accept-Encoding" | |
|
363 | 325 |
], |
|
364 | 326 | "x-frame-options": [ |
|
365 | 327 | "Deny" |
|
366 | 328 |
], |
|
329 | "content-length": [ | |
|
330 | "306" | |
|
331 | ], | |
|
332 | "x-content-type-options": [ | |
|
333 | "nosniff" | |
|
334 | ], | |
|
367 | 335 | "expires": [ |
|
368 | 336 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
369 | ], | |
|
370 | "set-cookie": [ | |
|
371 | "phsid=A%2Fkclyjmm2warvrxwksppx3qxupj4f72ejvxuavrn5; expires=Tue, 09-Jan-2024 04:08:27 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
372 | ], | |
|
373 | "transfer-encoding": [ | |
|
374 | "chunked" | |
|
375 | ], | |
|
376 | "strict-transport-security": [ | |
|
377 | "max-age=0; includeSubdomains; preload" | |
|
378 | 337 | ] |
|
379 | 338 |
}, |
|
380 | "status": { | |
|
381 | "message": "OK", | |
|
382 | "code": 200 | |
|
383 | }, | |
|
384 | 339 | "body": { |
|
385 | "string": "{\"result\":{\"object\":{\"id\":5544,\"phid\":\"PHID-DREV-bwugldlyieuwzrk76xzy\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-wojlvnhodzdoqh6\"},{\"phid\":\"PHID-XACT-DREV-ju3bw7rltmmwpbf\"},{\"phid\":\"PHID-XACT-DREV-2hwwi7dagftdp6q\"},{\"phid\":\"PHID-XACT-DREV-zfsyu5o7wkqzh6s\"},{\"phid\":\"PHID-XACT-DREV-srrkwmheqn6gssk\"}]},\"error_code\":null,\"error_info\":null}" | |
|
340 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create public change for phabricator testing\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"create public change for phabricator testing\"}]},\"error_code\":null,\"error_info\":null}" | |
|
341 | } | |
|
386 | 342 |
|
|
387 | 343 |
|
|
344 | { | |
|
388 | 345 | "request": { |
|
389 | "method": "POST", | |
|
390 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
391 | 346 | "headers": { |
|
347 | "user-agent": [ | |
|
348 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
349 | ], | |
|
392 | 350 | "content-length": [ |
|
393 | 351 | "253" |
|
394 | 352 |
], |
|
395 | "accept": [ | |
|
396 | "application/mercurial-0.1" | |
|
397 | ], | |
|
398 | 353 | "content-type": [ |
|
399 | 354 | "application/x-www-form-urlencoded" |
|
400 | 355 |
], |
|
401 |
" |
|
|
402 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
356 | "accept": [ | |
|
357 | "application/mercurial-0.1" | |
|
403 | 358 |
], |
|
404 | 359 | "host": [ |
|
405 | 360 | "phab.mercurial-scm.org" |
|
406 | 361 | ] |
|
407 | 362 |
}, |
|
408 | "body": "transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-xrku5f3mlveqr3hhj6a7&transactions%5B1%5D%5Btype%5D=title&transactions%5B1%5D%5Bvalue%5D=create+public+change+for+phabricator+testing&api.token=cli-hahayouwish" | |
|
409 | } | |
|
363 | "body": "api.token=cli-hahayouwish&transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-uuzq4s7s72y4ts7ijduc&transactions%5B1%5D%5Btype%5D=title&transactions%5B1%5D%5Bvalue%5D=create+public+change+for+phabricator+testing", | |
|
364 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
365 | "method": "POST" | |
|
410 | 366 |
}, |
|
411 | { | |
|
412 | 367 | "response": { |
|
368 | "status": { | |
|
369 | "code": 200, | |
|
370 | "message": "OK" | |
|
371 | }, | |
|
413 | 372 | "headers": { |
|
373 | "x-xss-protection": [ | |
|
374 | "1; mode=block" | |
|
375 | ], | |
|
376 | "cache-control": [ | |
|
377 | "no-store" | |
|
378 | ], | |
|
414 | 379 | "content-type": [ |
|
415 | 380 | "application/json" |
|
416 | 381 |
], |
|
417 | 382 | "date": [ |
|
418 |
" |
|
|
383 | "Sun, 05 May 2019 13:31:24 GMT" | |
|
419 | 384 |
], |
|
420 |
" |
|
|
421 |
" |
|
|
385 | "connection": [ | |
|
386 | "keep-alive" | |
|
422 | 387 |
], |
|
423 |
" |
|
|
424 | "no-store" | |
|
388 | "strict-transport-security": [ | |
|
389 | "max-age=31536000; includeSubdomains; preload" | |
|
425 | 390 |
], |
|
426 |
" |
|
|
427 |
"A |
|
|
428 | ], | |
|
429 | "x-xss-protection": [ | |
|
430 | "1; mode=block" | |
|
391 | "vary": [ | |
|
392 | "Accept-Encoding" | |
|
431 | 393 |
], |
|
432 | 394 | "x-frame-options": [ |
|
433 | 395 | "Deny" |
|
434 | 396 |
], |
|
397 | "content-length": [ | |
|
398 | "294" | |
|
399 | ], | |
|
400 | "x-content-type-options": [ | |
|
401 | "nosniff" | |
|
402 | ], | |
|
435 | 403 | "expires": [ |
|
436 | 404 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
437 | ], | |
|
438 | "set-cookie": [ | |
|
439 | "phsid=A%2Fbw4ordbzl7d4hcgyyxnoawhrfhycrvvkk6arnz5p; expires=Tue, 09-Jan-2024 04:08:28 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
440 | ], | |
|
441 | "transfer-encoding": [ | |
|
442 | "chunked" | |
|
443 | ], | |
|
444 | "strict-transport-security": [ | |
|
445 | "max-age=0; includeSubdomains; preload" | |
|
446 | 405 | ] |
|
447 | 406 |
}, |
|
448 | "status": { | |
|
449 | "message": "OK", | |
|
450 | "code": 200 | |
|
451 | }, | |
|
452 | 407 | "body": { |
|
453 | "string": "{\"result\":{\"id\":13122,\"phid\":\"PHID-DIFF-iksauhhfhmxfjijyqxji\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/13122\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
408 | "string": "{\"result\":{\"object\":{\"id\":1192,\"phid\":\"PHID-DREV-qb4xy3abx7eu4puizvjl\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-n2zlzs5qmdlvfbx\"},{\"phid\":\"PHID-XACT-DREV-dwojtdj2d3geffe\"},{\"phid\":\"PHID-XACT-DREV-gr4vgeynol22tgf\"},{\"phid\":\"PHID-XACT-DREV-aighrcyai72tgzv\"}]},\"error_code\":null,\"error_info\":null}" | |
|
409 | } | |
|
454 | 410 |
|
|
455 | 411 |
|
|
412 | { | |
|
456 | 413 | "request": { |
|
457 | "method": "POST", | |
|
458 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
459 | 414 | "headers": { |
|
415 | "user-agent": [ | |
|
416 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
417 | ], | |
|
460 | 418 | "content-length": [ |
|
461 | 419 | "232" |
|
462 | 420 |
], |
|
463 | "accept": [ | |
|
464 | "application/mercurial-0.1" | |
|
465 | ], | |
|
466 | 421 | "content-type": [ |
|
467 | 422 | "application/x-www-form-urlencoded" |
|
468 | 423 |
], |
|
469 |
" |
|
|
470 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
424 | "accept": [ | |
|
425 | "application/mercurial-0.1" | |
|
471 | 426 |
], |
|
472 | 427 | "host": [ |
|
473 | 428 | "phab.mercurial-scm.org" |
|
474 | 429 | ] |
|
475 | 430 |
}, |
|
476 | "body": "repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3&diff=diff+--git+a%2Falpha+b%2Falpha%0A---+a%2Falpha%0A%2B%2B%2B+b%2Falpha%0A%40%40+-1%2C2+%2B1%2C1+%40%40%0A-alpha%0A-more%0A%2Bdraft+change%0A&api.token=cli-hahayouwish" | |
|
477 | } | |
|
431 | "body": "api.token=cli-hahayouwish&diff=diff+--git+a%2Falpha+b%2Falpha%0A---+a%2Falpha%0A%2B%2B%2B+b%2Falpha%0A%40%40+-1%2C2+%2B1%2C1+%40%40%0A-alpha%0A-more%0A%2Bdraft+change%0A&repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3", | |
|
432 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
433 | "method": "POST" | |
|
478 | 434 |
}, |
|
479 | { | |
|
480 | 435 | "response": { |
|
436 | "status": { | |
|
437 | "code": 200, | |
|
438 | "message": "OK" | |
|
439 | }, | |
|
481 | 440 | "headers": { |
|
441 | "x-xss-protection": [ | |
|
442 | "1; mode=block" | |
|
443 | ], | |
|
444 | "cache-control": [ | |
|
445 | "no-store" | |
|
446 | ], | |
|
482 | 447 | "content-type": [ |
|
483 | 448 | "application/json" |
|
484 | 449 |
], |
|
485 | 450 | "date": [ |
|
486 |
" |
|
|
451 | "Sun, 05 May 2019 13:31:25 GMT" | |
|
487 | 452 |
], |
|
488 |
" |
|
|
489 |
" |
|
|
453 | "connection": [ | |
|
454 | "keep-alive" | |
|
490 | 455 |
], |
|
491 |
" |
|
|
492 | "no-store" | |
|
456 | "strict-transport-security": [ | |
|
457 | "max-age=31536000; includeSubdomains; preload" | |
|
493 | 458 |
], |
|
494 |
" |
|
|
495 |
"A |
|
|
496 | ], | |
|
497 | "x-xss-protection": [ | |
|
498 | "1; mode=block" | |
|
459 | "vary": [ | |
|
460 | "Accept-Encoding" | |
|
499 | 461 |
], |
|
500 | 462 | "x-frame-options": [ |
|
501 | 463 | "Deny" |
|
502 | 464 |
], |
|
465 | "content-length": [ | |
|
466 | "172" | |
|
467 | ], | |
|
468 | "x-content-type-options": [ | |
|
469 | "nosniff" | |
|
470 | ], | |
|
503 | 471 | "expires": [ |
|
504 | 472 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
505 | ], | |
|
506 | "set-cookie": [ | |
|
507 | "phsid=A%2Fgt3wmrrlkmpdhyaj5rsesxcwbabhpjlhoa6matcg; expires=Tue, 09-Jan-2024 04:08:29 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
508 | ], | |
|
509 | "transfer-encoding": [ | |
|
510 | "chunked" | |
|
511 | ], | |
|
512 | "strict-transport-security": [ | |
|
513 | "max-age=0; includeSubdomains; preload" | |
|
514 | 473 | ] |
|
515 | 474 |
}, |
|
516 | "status": { | |
|
517 | "message": "OK", | |
|
518 | "code": 200 | |
|
519 | }, | |
|
520 | 475 | "body": { |
|
521 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
476 | "string": "{\"result\":{\"id\":1903,\"phid\":\"PHID-DIFF-4pugk2zedyh2xm27uuvh\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1903\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
477 | } | |
|
522 | 478 |
|
|
523 | 479 |
|
|
480 | { | |
|
524 | 481 | "request": { |
|
525 | "method": "POST", | |
|
526 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
527 | 482 | "headers": { |
|
483 | "user-agent": [ | |
|
484 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
485 | ], | |
|
528 | 486 | "content-length": [ |
|
529 |
"26 |
|
|
530 | ], | |
|
531 | "accept": [ | |
|
532 | "application/mercurial-0.1" | |
|
487 | "296" | |
|
533 | 488 |
], |
|
534 | 489 | "content-type": [ |
|
535 | 490 | "application/x-www-form-urlencoded" |
|
536 | 491 |
], |
|
537 |
" |
|
|
538 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
492 | "accept": [ | |
|
493 | "application/mercurial-0.1" | |
|
539 | 494 |
], |
|
540 | 495 | "host": [ |
|
541 | 496 | "phab.mercurial-scm.org" |
|
542 | 497 | ] |
|
543 | 498 |
}, |
|
544 | "body": "name=hg%3Ameta&api.token=cli-hahayouwish&data=%7B%22date%22%3A+%220+0%22%2C+%22user%22%3A+%22test%22%2C+%22node%22%3A+%226bca752686cd24e603094ef55574655c0017723a%22%2C+%22parent%22%3A+%22540a21d3fbeb7c56cafe726bba6cd9fdcc94f29c%22%7D&diff_id=13122" | |
|
545 | } | |
|
499 | "body": "diff_id=1903&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%22ac331633be793e0d4159d5525b404a9782f54904%22%2C+%22parent%22%3A+%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%2C+%22user%22%3A+%22test%22%7D&name=hg%3Ameta&api.token=cli-hahayouwish", | |
|
500 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
501 | "method": "POST" | |
|
546 | 502 |
}, |
|
547 | { | |
|
548 | 503 | "response": { |
|
504 | "status": { | |
|
505 | "code": 200, | |
|
506 | "message": "OK" | |
|
507 | }, | |
|
549 | 508 | "headers": { |
|
509 | "x-xss-protection": [ | |
|
510 | "1; mode=block" | |
|
511 | ], | |
|
512 | "cache-control": [ | |
|
513 | "no-store" | |
|
514 | ], | |
|
550 | 515 | "content-type": [ |
|
551 | 516 | "application/json" |
|
552 | 517 |
], |
|
553 | 518 | "date": [ |
|
554 |
" |
|
|
519 | "Sun, 05 May 2019 13:31:26 GMT" | |
|
555 | 520 |
], |
|
556 |
" |
|
|
557 |
" |
|
|
521 | "connection": [ | |
|
522 | "keep-alive" | |
|
558 | 523 |
], |
|
559 |
" |
|
|
560 | "no-store" | |
|
524 | "strict-transport-security": [ | |
|
525 | "max-age=31536000; includeSubdomains; preload" | |
|
561 | 526 |
], |
|
562 |
" |
|
|
563 |
"A |
|
|
564 | ], | |
|
565 | "x-xss-protection": [ | |
|
566 | "1; mode=block" | |
|
527 | "vary": [ | |
|
528 | "Accept-Encoding" | |
|
567 | 529 |
], |
|
568 | 530 | "x-frame-options": [ |
|
569 | 531 | "Deny" |
|
570 | 532 |
], |
|
533 | "content-length": [ | |
|
534 | "51" | |
|
535 | ], | |
|
536 | "x-content-type-options": [ | |
|
537 | "nosniff" | |
|
538 | ], | |
|
571 | 539 | "expires": [ |
|
572 | 540 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
573 | ], | |
|
574 | "set-cookie": [ | |
|
575 | "phsid=A%2Fntcsqzh6pptdkfnebvmck6l3y3rrwxzotvsq4phl; expires=Tue, 09-Jan-2024 04:08:29 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
576 | ], | |
|
577 | "transfer-encoding": [ | |
|
578 | "chunked" | |
|
579 | ], | |
|
580 | "strict-transport-security": [ | |
|
581 | "max-age=0; includeSubdomains; preload" | |
|
582 | 541 | ] |
|
583 | 542 |
}, |
|
584 | "status": { | |
|
585 | "message": "OK", | |
|
586 | "code": 200 | |
|
587 | }, | |
|
588 | 543 | "body": { |
|
589 | 544 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
590 | 545 | } |
|
546 | } | |
|
591 | 547 |
|
|
548 | { | |
|
592 | 549 | "request": { |
|
593 | "method": "POST", | |
|
594 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
595 | 550 | "headers": { |
|
596 |
" |
|
|
597 | "227" | |
|
551 | "user-agent": [ | |
|
552 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
598 | 553 |
], |
|
599 |
" |
|
|
600 |
" |
|
|
554 | "content-length": [ | |
|
555 | "257" | |
|
601 | 556 |
], |
|
602 | 557 | "content-type": [ |
|
603 | 558 | "application/x-www-form-urlencoded" |
|
604 | 559 |
], |
|
605 |
" |
|
|
606 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
560 | "accept": [ | |
|
561 | "application/mercurial-0.1" | |
|
607 | 562 |
], |
|
608 | 563 | "host": [ |
|
609 | 564 | "phab.mercurial-scm.org" |
|
610 | 565 | ] |
|
611 | 566 |
}, |
|
612 | "body": "name=local%3Acommits&api.token=cli-hahayouwish&data=%7B%226bca752686cd24e603094ef55574655c0017723a%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22time%22%3A+0.0%7D%7D&diff_id=13122" | |
|
613 | } | |
|
567 | "body": "diff_id=1903&data=%7B%22ac331633be793e0d4159d5525b404a9782f54904%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%22ac331633be793e0d4159d5525b404a9782f54904%22%2C+%22parents%22%3A+%5B%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%5D%2C+%22time%22%3A+0%7D%7D&name=local%3Acommits&api.token=cli-hahayouwish", | |
|
568 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
569 | "method": "POST" | |
|
614 | 570 |
}, |
|
615 | { | |
|
616 | 571 | "response": { |
|
572 | "status": { | |
|
573 | "code": 200, | |
|
574 | "message": "OK" | |
|
575 | }, | |
|
617 | 576 | "headers": { |
|
577 | "x-xss-protection": [ | |
|
578 | "1; mode=block" | |
|
579 | ], | |
|
580 | "cache-control": [ | |
|
581 | "no-store" | |
|
582 | ], | |
|
618 | 583 | "content-type": [ |
|
619 | 584 | "application/json" |
|
620 | 585 |
], |
|
621 | 586 | "date": [ |
|
622 |
" |
|
|
587 | "Sun, 05 May 2019 13:31:27 GMT" | |
|
623 | 588 |
], |
|
624 |
" |
|
|
625 |
" |
|
|
589 | "connection": [ | |
|
590 | "keep-alive" | |
|
626 | 591 |
], |
|
627 |
" |
|
|
628 | "no-store" | |
|
592 | "strict-transport-security": [ | |
|
593 | "max-age=31536000; includeSubdomains; preload" | |
|
629 | 594 |
], |
|
630 |
" |
|
|
631 |
"A |
|
|
632 | ], | |
|
633 | "x-xss-protection": [ | |
|
634 | "1; mode=block" | |
|
595 | "vary": [ | |
|
596 | "Accept-Encoding" | |
|
635 | 597 |
], |
|
636 | 598 | "x-frame-options": [ |
|
637 | 599 | "Deny" |
|
638 | 600 |
], |
|
601 | "content-length": [ | |
|
602 | "51" | |
|
603 | ], | |
|
604 | "x-content-type-options": [ | |
|
605 | "nosniff" | |
|
606 | ], | |
|
639 | 607 | "expires": [ |
|
640 | 608 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
641 | ], | |
|
642 | "set-cookie": [ | |
|
643 | "phsid=A%2Fgturi5p5fz64q26mztdrzjldzynp62pp7opcxsnm; expires=Tue, 09-Jan-2024 04:08:30 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
644 | ], | |
|
645 | "transfer-encoding": [ | |
|
646 | "chunked" | |
|
647 | ], | |
|
648 | "strict-transport-security": [ | |
|
649 | "max-age=0; includeSubdomains; preload" | |
|
650 | 609 | ] |
|
651 | 610 |
}, |
|
652 | "status": { | |
|
653 | "message": "OK", | |
|
654 | "code": 200 | |
|
655 | }, | |
|
656 | 611 | "body": { |
|
657 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create draft change for phabricator testing\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"}},\"error_code\":null,\"error_info\":null}" | |
|
612 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
613 | } | |
|
658 | 614 |
|
|
659 | 615 |
|
|
616 | { | |
|
660 | 617 | "request": { |
|
661 | "method": "POST", | |
|
662 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
663 | 618 | "headers": { |
|
619 | "user-agent": [ | |
|
620 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
621 | ], | |
|
664 | 622 | "content-length": [ |
|
665 | 623 | "93" |
|
666 | 624 |
], |
|
667 | "accept": [ | |
|
668 | "application/mercurial-0.1" | |
|
669 | ], | |
|
670 | 625 | "content-type": [ |
|
671 | 626 | "application/x-www-form-urlencoded" |
|
672 | 627 |
], |
|
673 |
" |
|
|
674 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
628 | "accept": [ | |
|
629 | "application/mercurial-0.1" | |
|
675 | 630 |
], |
|
676 | 631 | "host": [ |
|
677 | 632 | "phab.mercurial-scm.org" |
|
678 | 633 | ] |
|
679 | 634 |
}, |
|
680 |
"body": "corpus=create+draft+change+for+phabricator+testing |
|
|
681 | } | |
|
635 | "body": "api.token=cli-hahayouwish&corpus=create+draft+change+for+phabricator+testing", | |
|
636 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
637 | "method": "POST" | |
|
682 | 638 |
}, |
|
683 | { | |
|
684 | 639 | "response": { |
|
640 | "status": { | |
|
641 | "code": 200, | |
|
642 | "message": "OK" | |
|
643 | }, | |
|
685 | 644 | "headers": { |
|
645 | "x-xss-protection": [ | |
|
646 | "1; mode=block" | |
|
647 | ], | |
|
648 | "cache-control": [ | |
|
649 | "no-store" | |
|
650 | ], | |
|
686 | 651 | "content-type": [ |
|
687 | 652 | "application/json" |
|
688 | 653 |
], |
|
689 | 654 | "date": [ |
|
690 |
" |
|
|
655 | "Sun, 05 May 2019 13:31:27 GMT" | |
|
691 | 656 |
], |
|
692 |
" |
|
|
693 |
" |
|
|
657 | "connection": [ | |
|
658 | "keep-alive" | |
|
694 | 659 |
], |
|
695 |
" |
|
|
696 | "no-store" | |
|
660 | "strict-transport-security": [ | |
|
661 | "max-age=31536000; includeSubdomains; preload" | |
|
697 | 662 |
], |
|
698 |
" |
|
|
699 |
"A |
|
|
700 | ], | |
|
701 | "x-xss-protection": [ | |
|
702 | "1; mode=block" | |
|
663 | "vary": [ | |
|
664 | "Accept-Encoding" | |
|
703 | 665 |
], |
|
704 | 666 | "x-frame-options": [ |
|
705 | 667 | "Deny" |
|
706 | 668 |
], |
|
669 | "content-length": [ | |
|
670 | "304" | |
|
671 | ], | |
|
672 | "x-content-type-options": [ | |
|
673 | "nosniff" | |
|
674 | ], | |
|
707 | 675 | "expires": [ |
|
708 | 676 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
709 | ], | |
|
710 | "set-cookie": [ | |
|
711 | "phsid=A%2F4vyvyabatbn7y5bhav6nthgdt4mm6oeh6ybvnrl5; expires=Tue, 09-Jan-2024 04:08:31 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
712 | ], | |
|
713 | "transfer-encoding": [ | |
|
714 | "chunked" | |
|
715 | ], | |
|
716 | "strict-transport-security": [ | |
|
717 | "max-age=0; includeSubdomains; preload" | |
|
718 | 677 | ] |
|
719 | 678 |
}, |
|
720 | "status": { | |
|
721 | "message": "OK", | |
|
722 | "code": 200 | |
|
723 | }, | |
|
724 | 679 | "body": { |
|
725 | "string": "{\"result\":{\"object\":{\"id\":5545,\"phid\":\"PHID-DREV-ga6i6vbmatvd2fszrr2o\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-epqu5uekkf4ig67\"},{\"phid\":\"PHID-XACT-DREV-y3t5z573bwbqv7e\"},{\"phid\":\"PHID-XACT-DREV-dmjvlq7wngqgwxv\"},{\"phid\":\"PHID-XACT-DREV-rkm576j6wvji3ye\"},{\"phid\":\"PHID-XACT-DREV-mb7ttr44lno6j2w\"},{\"phid\":\"PHID-XACT-DREV-ma747d2dkzk3eun\"},{\"phid\":\"PHID-XACT-DREV-3u7lqg7mwxrix5w\"},{\"phid\":\"PHID-XACT-DREV-r33n73dqn7doz7b\"}]},\"error_code\":null,\"error_info\":null}" | |
|
680 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create draft change for phabricator testing\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"create draft change for phabricator testing\"}]},\"error_code\":null,\"error_info\":null}" | |
|
681 | } | |
|
726 | 682 |
|
|
727 | 683 |
|
|
684 | { | |
|
728 | 685 | "request": { |
|
729 | "method": "POST", | |
|
730 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
731 | 686 | "headers": { |
|
687 | "user-agent": [ | |
|
688 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
689 | ], | |
|
732 | 690 | "content-length": [ |
|
733 | 691 | "409" |
|
734 | 692 |
], |
|
735 | "accept": [ | |
|
736 | "application/mercurial-0.1" | |
|
737 | ], | |
|
738 | 693 | "content-type": [ |
|
739 | 694 | "application/x-www-form-urlencoded" |
|
740 | 695 |
], |
|
741 |
" |
|
|
742 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
696 | "accept": [ | |
|
697 | "application/mercurial-0.1" | |
|
743 | 698 |
], |
|
744 | 699 | "host": [ |
|
745 | 700 | "phab.mercurial-scm.org" |
|
746 | 701 | ] |
|
747 | 702 |
}, |
|
748 |
"body": "transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF- |
|
|
749 | } | |
|
703 | "body": "api.token=cli-hahayouwish&transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-4pugk2zedyh2xm27uuvh&transactions%5B1%5D%5Btype%5D=summary&transactions%5B1%5D%5Bvalue%5D=Depends+on+D1192&transactions%5B2%5D%5Btype%5D=summary&transactions%5B2%5D%5Bvalue%5D=+&transactions%5B3%5D%5Btype%5D=title&transactions%5B3%5D%5Bvalue%5D=create+draft+change+for+phabricator+testing", | |
|
704 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
705 | "method": "POST" | |
|
750 | 706 |
}, |
|
751 | { | |
|
752 | 707 | "response": { |
|
708 | "status": { | |
|
709 | "code": 200, | |
|
710 | "message": "OK" | |
|
711 | }, | |
|
753 | 712 | "headers": { |
|
713 | "x-xss-protection": [ | |
|
714 | "1; mode=block" | |
|
715 | ], | |
|
716 | "cache-control": [ | |
|
717 | "no-store" | |
|
718 | ], | |
|
754 | 719 | "content-type": [ |
|
755 | 720 | "application/json" |
|
756 | 721 |
], |
|
757 | 722 | "date": [ |
|
758 |
" |
|
|
723 | "Sun, 05 May 2019 13:31:29 GMT" | |
|
759 | 724 |
], |
|
760 |
" |
|
|
761 |
" |
|
|
725 | "connection": [ | |
|
726 | "keep-alive" | |
|
762 | 727 |
], |
|
763 |
" |
|
|
764 | "no-store" | |
|
728 | "strict-transport-security": [ | |
|
729 | "max-age=31536000; includeSubdomains; preload" | |
|
765 | 730 |
], |
|
766 |
" |
|
|
767 |
"A |
|
|
768 | ], | |
|
769 | "x-xss-protection": [ | |
|
770 | "1; mode=block" | |
|
731 | "vary": [ | |
|
732 | "Accept-Encoding" | |
|
771 | 733 |
], |
|
772 | 734 | "x-frame-options": [ |
|
773 | 735 | "Deny" |
|
774 | 736 |
], |
|
737 | "content-length": [ | |
|
738 | "420" | |
|
739 | ], | |
|
740 | "x-content-type-options": [ | |
|
741 | "nosniff" | |
|
742 | ], | |
|
775 | 743 | "expires": [ |
|
776 | 744 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
777 | ], | |
|
778 | "set-cookie": [ | |
|
779 | "phsid=A%2Fvd66cz7uxztfwfapgqrlmfmoj7szo5wvwk7vqc2u; expires=Tue, 09-Jan-2024 04:08:32 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
780 | ], | |
|
781 | "transfer-encoding": [ | |
|
782 | "chunked" | |
|
783 | ], | |
|
784 | "strict-transport-security": [ | |
|
785 | "max-age=0; includeSubdomains; preload" | |
|
786 | 745 | ] |
|
787 | 746 |
}, |
|
788 | "status": { | |
|
789 | "message": "OK", | |
|
790 | "code": 200 | |
|
791 | }, | |
|
792 | 747 | "body": { |
|
793 | "string": "{\"result\":[{\"id\":\"5545\",\"phid\":\"PHID-DREV-ga6i6vbmatvd2fszrr2o\",\"title\":\"create draft change for phabricator testing\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D5545\",\"dateCreated\":\"1547093311\",\"dateModified\":\"1547093311\",\"authorPHID\":\"PHID-USER-tzhaient733lwrlbcag5\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":[],\"branch\":null,\"summary\":\" \",\"testPlan\":\"\",\"lineCount\":\"3\",\"activeDiffPHID\":\"PHID-DIFF-iksauhhfhmxfjijyqxji\",\"diffs\":[\"13122\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-q42dn7cc3donqriafhjx\"],\"hashes\":[],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[\"PHID-DREV-bwugldlyieuwzrk76xzy\"]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null},{\"id\":\"5544\",\"phid\":\"PHID-DREV-bwugldlyieuwzrk76xzy\",\"title\":\"create public change for phabricator testing\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D5544\",\"dateCreated\":\"1547093307\",\"dateModified\":\"1547093311\",\"authorPHID\":\"PHID-USER-tzhaient733lwrlbcag5\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":[],\"branch\":null,\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-xrku5f3mlveqr3hhj6a7\",\"diffs\":[\"13121\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-q42dn7cc3donqriafhjx\"],\"hashes\":[],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null}],\"error_code\":null,\"error_info\":null}" | |
|
748 | "string": "{\"result\":{\"object\":{\"id\":1193,\"phid\":\"PHID-DREV-shdibf6gnumia7pou4wo\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-5lh4bjyat7sopph\"},{\"phid\":\"PHID-XACT-DREV-ihh5mnfq4lfd7z6\"},{\"phid\":\"PHID-XACT-DREV-jqgmk2a3klvofsk\"},{\"phid\":\"PHID-XACT-DREV-w5t5g4ke6kjynf3\"},{\"phid\":\"PHID-XACT-DREV-ro7ijohdoyaes55\"},{\"phid\":\"PHID-XACT-DREV-4g3uhii5akj24he\"},{\"phid\":\"PHID-XACT-DREV-44imsawbkha5nqw\"}]},\"error_code\":null,\"error_info\":null}" | |
|
749 | } | |
|
794 | 750 |
|
|
795 | 751 |
|
|
752 | { | |
|
796 | 753 | "request": { |
|
797 | "method": "POST", | |
|
798 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
|
799 | 754 | "headers": { |
|
755 | "user-agent": [ | |
|
756 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
757 | ], | |
|
800 | 758 | "content-length": [ |
|
801 | 759 | "74" |
|
802 | 760 |
], |
|
803 | "accept": [ | |
|
804 | "application/mercurial-0.1" | |
|
805 | ], | |
|
806 | 761 | "content-type": [ |
|
807 | 762 | "application/x-www-form-urlencoded" |
|
808 | 763 |
], |
|
809 |
" |
|
|
810 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
764 | "accept": [ | |
|
765 | "application/mercurial-0.1" | |
|
811 | 766 |
], |
|
812 | 767 | "host": [ |
|
813 | 768 | "phab.mercurial-scm.org" |
|
814 | 769 | ] |
|
815 | 770 |
}, |
|
816 |
"body": "ids%5B0%5D= |
|
|
817 | } | |
|
771 | "body": "ids%5B0%5D=1192&ids%5B1%5D=1193&api.token=cli-hahayouwish", | |
|
772 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
|
773 | "method": "POST" | |
|
818 | 774 |
}, |
|
819 | { | |
|
820 | 775 | "response": { |
|
776 | "status": { | |
|
777 | "code": 200, | |
|
778 | "message": "OK" | |
|
779 | }, | |
|
821 | 780 | "headers": { |
|
781 | "x-xss-protection": [ | |
|
782 | "1; mode=block" | |
|
783 | ], | |
|
784 | "cache-control": [ | |
|
785 | "no-store" | |
|
786 | ], | |
|
822 | 787 | "content-type": [ |
|
823 | 788 | "application/json" |
|
824 | 789 |
], |
|
825 | 790 | "date": [ |
|
826 |
" |
|
|
791 | "Sun, 05 May 2019 13:31:29 GMT" | |
|
827 | 792 |
], |
|
828 |
" |
|
|
829 |
" |
|
|
793 | "connection": [ | |
|
794 | "keep-alive" | |
|
830 | 795 |
], |
|
831 |
" |
|
|
832 | "no-store" | |
|
796 | "strict-transport-security": [ | |
|
797 | "max-age=31536000; includeSubdomains; preload" | |
|
833 | 798 |
], |
|
834 |
" |
|
|
835 |
"A |
|
|
836 | ], | |
|
837 | "x-xss-protection": [ | |
|
838 | "1; mode=block" | |
|
799 | "vary": [ | |
|
800 | "Accept-Encoding" | |
|
839 | 801 |
], |
|
840 | 802 | "x-frame-options": [ |
|
841 | 803 | "Deny" |
|
842 | 804 |
], |
|
805 | "content-length": [ | |
|
806 | "1522" | |
|
807 | ], | |
|
808 | "x-content-type-options": [ | |
|
809 | "nosniff" | |
|
810 | ], | |
|
843 | 811 | "expires": [ |
|
844 | 812 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
845 | ], | |
|
846 | "set-cookie": [ | |
|
847 | "phsid=A%2Fbqbv2blmnjqe3a5qkpewf5wghxqwcuewjbgfrtq7; expires=Tue, 09-Jan-2024 04:08:32 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
848 | ], | |
|
849 | "transfer-encoding": [ | |
|
850 | "chunked" | |
|
851 | ], | |
|
852 | "strict-transport-security": [ | |
|
853 | "max-age=0; includeSubdomains; preload" | |
|
854 | 813 | ] |
|
855 | 814 |
}, |
|
856 | "status": { | |
|
857 | "message": "OK", | |
|
858 | "code": 200 | |
|
859 | }, | |
|
860 | 815 | "body": { |
|
861 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
816 | "string": "{\"result\":[{\"id\":\"1193\",\"phid\":\"PHID-DREV-shdibf6gnumia7pou4wo\",\"title\":\"create draft change for phabricator testing\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D1193\",\"dateCreated\":\"1557063088\",\"dateModified\":\"1557063088\",\"authorPHID\":\"PHID-USER-qmzis76vb2yh3ogldu6r\",\"status\":\"0\",\"statusName\":\"Draft\",\"properties\":{\"draft.broadcast\":false,\"lines.added\":1,\"lines.removed\":2},\"branch\":null,\"summary\":\" \",\"testPlan\":\"\",\"lineCount\":\"3\",\"activeDiffPHID\":\"PHID-DIFF-4pugk2zedyh2xm27uuvh\",\"diffs\":[\"1903\"],\"commits\":[],\"reviewers\":[],\"ccs\":[],\"hashes\":[],\"auxiliary\":{\"bugzilla.bug-id\":null,\"phabricator:projects\":[\"PHID-PROJ-f2a3wl5wxtqdtfgdjqzk\"],\"phabricator:depends-on\":[\"PHID-DREV-qb4xy3abx7eu4puizvjl\"]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null},{\"id\":\"1192\",\"phid\":\"PHID-DREV-qb4xy3abx7eu4puizvjl\",\"title\":\"create public change for phabricator testing\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D1192\",\"dateCreated\":\"1557063084\",\"dateModified\":\"1557063088\",\"authorPHID\":\"PHID-USER-qmzis76vb2yh3ogldu6r\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":1,\"lines.removed\":1},\"branch\":null,\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-uuzq4s7s72y4ts7ijduc\",\"diffs\":[\"1902\"],\"commits\":[],\"reviewers\":[],\"ccs\":[],\"hashes\":[],\"auxiliary\":{\"bugzilla.bug-id\":null,\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null}],\"error_code\":null,\"error_info\":null}" | |
|
817 | } | |
|
862 | 818 |
|
|
863 | 819 |
|
|
820 | { | |
|
864 | 821 | "request": { |
|
865 | "method": "POST", | |
|
866 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
867 | 822 | "headers": { |
|
823 | "user-agent": [ | |
|
824 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
825 | ], | |
|
868 | 826 | "content-length": [ |
|
869 |
"26 |
|
|
870 | ], | |
|
871 | "accept": [ | |
|
872 | "application/mercurial-0.1" | |
|
827 | "296" | |
|
873 | 828 |
], |
|
874 | 829 | "content-type": [ |
|
875 | 830 | "application/x-www-form-urlencoded" |
|
876 | 831 |
], |
|
877 |
" |
|
|
878 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
832 | "accept": [ | |
|
833 | "application/mercurial-0.1" | |
|
879 | 834 |
], |
|
880 | 835 | "host": [ |
|
881 | 836 | "phab.mercurial-scm.org" |
|
882 | 837 | ] |
|
883 | 838 |
}, |
|
884 | "body": "name=hg%3Ameta&api.token=cli-hahayouwish&data=%7B%22date%22%3A+%220+0%22%2C+%22user%22%3A+%22test%22%2C+%22node%22%3A+%22620a50fd6ed958bbee178052de67acc31dcac66e%22%2C+%22parent%22%3A+%22540a21d3fbeb7c56cafe726bba6cd9fdcc94f29c%22%7D&diff_id=13122" | |
|
885 | } | |
|
839 | "body": "diff_id=1903&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%22a19f1434f9a578325eb9799c9961b5465d4e6e40%22%2C+%22parent%22%3A+%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%2C+%22user%22%3A+%22test%22%7D&name=hg%3Ameta&api.token=cli-hahayouwish", | |
|
840 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
841 | "method": "POST" | |
|
886 | 842 |
}, |
|
887 | { | |
|
888 | 843 | "response": { |
|
844 | "status": { | |
|
845 | "code": 200, | |
|
846 | "message": "OK" | |
|
847 | }, | |
|
889 | 848 | "headers": { |
|
849 | "x-xss-protection": [ | |
|
850 | "1; mode=block" | |
|
851 | ], | |
|
852 | "cache-control": [ | |
|
853 | "no-store" | |
|
854 | ], | |
|
890 | 855 | "content-type": [ |
|
891 | 856 | "application/json" |
|
892 | 857 |
], |
|
893 | 858 | "date": [ |
|
894 |
" |
|
|
859 | "Sun, 05 May 2019 13:31:30 GMT" | |
|
895 | 860 |
], |
|
896 |
" |
|
|
897 |
" |
|
|
861 | "connection": [ | |
|
862 | "keep-alive" | |
|
898 | 863 |
], |
|
899 |
" |
|
|
900 | "no-store" | |
|
864 | "strict-transport-security": [ | |
|
865 | "max-age=31536000; includeSubdomains; preload" | |
|
901 | 866 |
], |
|
902 |
" |
|
|
903 |
"A |
|
|
904 | ], | |
|
905 | "x-xss-protection": [ | |
|
906 | "1; mode=block" | |
|
867 | "vary": [ | |
|
868 | "Accept-Encoding" | |
|
907 | 869 |
], |
|
908 | 870 | "x-frame-options": [ |
|
909 | 871 | "Deny" |
|
910 | 872 |
], |
|
873 | "content-length": [ | |
|
874 | "51" | |
|
875 | ], | |
|
876 | "x-content-type-options": [ | |
|
877 | "nosniff" | |
|
878 | ], | |
|
911 | 879 | "expires": [ |
|
912 | 880 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
913 | ], | |
|
914 | "set-cookie": [ | |
|
915 | "phsid=A%2Fic7sfd33zs7c44ojloujnoicm3roxnre45glurgz; expires=Tue, 09-Jan-2024 04:08:33 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
916 | ], | |
|
917 | "transfer-encoding": [ | |
|
918 | "chunked" | |
|
919 | ], | |
|
920 | "strict-transport-security": [ | |
|
921 | "max-age=0; includeSubdomains; preload" | |
|
922 | 881 | ] |
|
923 | 882 |
}, |
|
924 | "status": { | |
|
925 | "message": "OK", | |
|
926 | "code": 200 | |
|
927 | }, | |
|
928 | 883 | "body": { |
|
929 | 884 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
930 | 885 | } |
|
886 | } | |
|
931 | 887 |
|
|
888 | { | |
|
932 | 889 | "request": { |
|
933 | "method": "POST", | |
|
934 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
935 | 890 | "headers": { |
|
936 |
" |
|
|
937 | "227" | |
|
891 | "user-agent": [ | |
|
892 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
938 | 893 |
], |
|
939 |
" |
|
|
940 |
" |
|
|
894 | "content-length": [ | |
|
895 | "257" | |
|
941 | 896 |
], |
|
942 | 897 | "content-type": [ |
|
943 | 898 | "application/x-www-form-urlencoded" |
|
944 | 899 |
], |
|
945 |
" |
|
|
946 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
900 | "accept": [ | |
|
901 | "application/mercurial-0.1" | |
|
947 | 902 |
], |
|
948 | 903 | "host": [ |
|
949 | 904 | "phab.mercurial-scm.org" |
|
950 | 905 | ] |
|
951 | 906 |
}, |
|
952 | "body": "name=local%3Acommits&api.token=cli-hahayouwish&data=%7B%22620a50fd6ed958bbee178052de67acc31dcac66e%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22time%22%3A+0.0%7D%7D&diff_id=13122" | |
|
907 | "body": "diff_id=1903&data=%7B%22a19f1434f9a578325eb9799c9961b5465d4e6e40%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%22a19f1434f9a578325eb9799c9961b5465d4e6e40%22%2C+%22parents%22%3A+%5B%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%5D%2C+%22time%22%3A+0%7D%7D&name=local%3Acommits&api.token=cli-hahayouwish", | |
|
908 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
909 | "method": "POST" | |
|
910 | }, | |
|
911 | "response": { | |
|
912 | "status": { | |
|
913 | "code": 200, | |
|
914 | "message": "OK" | |
|
915 | }, | |
|
916 | "headers": { | |
|
917 | "x-xss-protection": [ | |
|
918 | "1; mode=block" | |
|
919 | ], | |
|
920 | "cache-control": [ | |
|
921 | "no-store" | |
|
922 | ], | |
|
923 | "content-type": [ | |
|
924 | "application/json" | |
|
925 | ], | |
|
926 | "date": [ | |
|
927 | "Sun, 05 May 2019 13:31:31 GMT" | |
|
928 | ], | |
|
929 | "connection": [ | |
|
930 | "keep-alive" | |
|
931 | ], | |
|
932 | "strict-transport-security": [ | |
|
933 | "max-age=31536000; includeSubdomains; preload" | |
|
934 | ], | |
|
935 | "vary": [ | |
|
936 | "Accept-Encoding" | |
|
937 | ], | |
|
938 | "x-frame-options": [ | |
|
939 | "Deny" | |
|
940 | ], | |
|
941 | "content-length": [ | |
|
942 | "51" | |
|
943 | ], | |
|
944 | "x-content-type-options": [ | |
|
945 | "nosniff" | |
|
946 | ], | |
|
947 | "expires": [ | |
|
948 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
949 | ] | |
|
950 | }, | |
|
951 | "body": { | |
|
952 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
953 | 953 | } |
|
954 | 954 | } |
|
955 |
|
|
|
956 | "version": 1 | |
|
957 | } No newline at end of file | |
|
955 | } | |
|
956 | ] | |
|
957 | } |
This diff has been collapsed as it changes many lines, (994 lines changed) Show them Hide them | |||
@@ -1,1025 +1,1025 | |||
|
1 | 1 | { |
|
2 | "version": 1, | |
|
2 | 3 | "interactions": [ |
|
3 | 4 | { |
|
4 | 5 | "request": { |
|
5 | "method": "POST", | |
|
6 | "body": "api.token=cli-hahayouwish&revisionIDs%5B0%5D=6054", | |
|
7 | "uri": "https://phab.mercurial-scm.org//api/differential.querydiffs", | |
|
8 | 6 | "headers": { |
|
7 | "user-agent": [ | |
|
8 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
9 | ], | |
|
10 | "content-length": [ | |
|
11 | "66" | |
|
12 | ], | |
|
9 | 13 | "content-type": [ |
|
10 | 14 | "application/x-www-form-urlencoded" |
|
11 | 15 | ], |
|
12 | 16 | "accept": [ |
|
13 | 17 | "application/mercurial-0.1" |
|
14 | 18 | ], |
|
15 | "user-agent": [ | |
|
16 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
17 | ], | |
|
18 | 19 | "host": [ |
|
19 | 20 | "phab.mercurial-scm.org" |
|
20 | ], | |
|
21 | "content-length": [ | |
|
22 | "66" | |
|
23 | 21 | ] |
|
24 | } | |
|
22 | }, | |
|
23 | "body": "api.token=cli-hahayouwish&revisionIDs%5B0%5D=1190", | |
|
24 | "uri": "https://phab.mercurial-scm.org//api/differential.querydiffs", | |
|
25 | "method": "POST" | |
|
25 | 26 | }, |
|
26 | 27 | "response": { |
|
27 | 28 | "status": { |
|
28 | 29 | "code": 200, |
|
29 | 30 | "message": "OK" |
|
30 | 31 | }, |
|
31 | "body": { | |
|
32 | "string": "{\"result\":{\"14303\":{\"id\":\"14303\",\"revisionID\":\"6054\",\"dateCreated\":\"1551571944\",\"dateModified\":\"1551571947\",\"sourceControlBaseRevision\":null,\"sourceControlPath\":null,\"sourceControlSystem\":null,\"branch\":null,\"bookmark\":null,\"creationMethod\":\"web\",\"description\":null,\"unitStatus\":\"4\",\"lintStatus\":\"4\",\"changes\":[{\"id\":\"32287\",\"metadata\":{\"line:first\":1},\"oldPath\":null,\"currentPath\":\"alpha\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":{\"unix:filemode\":\"100644\"},\"type\":\"1\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"1\",\"delLines\":\"0\",\"hunks\":[{\"oldOffset\":\"0\",\"newOffset\":\"1\",\"oldLength\":\"0\",\"newLength\":\"1\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"+alpha\\n\"}]}],\"properties\":{\"hg:meta\":{\"user\":\"test\",\"parent\":\"0000000000000000000000000000000000000000\",\"node\":\"cb03845d6dd98c72bec766c7ed08c693cc49817a\",\"date\":\"0 0\"},\"local:commits\":{\"cb03845d6dd98c72bec766c7ed08c693cc49817a\":{\"author\":\"test\",\"authorEmail\":\"test\",\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"}},\"error_code\":null,\"error_info\":null}" | |
|
33 | }, | |
|
34 | 32 | "headers": { |
|
35 | "expires": [ | |
|
36 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
37 | ], | |
|
38 | 33 | "x-xss-protection": [ |
|
39 | 34 | "1; mode=block" |
|
40 | 35 | ], |
|
41 | "transfer-encoding": [ | |
|
42 | "chunked" | |
|
43 | ], | |
|
44 | "date": [ | |
|
45 | "Sun, 03 Mar 2019 00:12:30 GMT" | |
|
46 | ], | |
|
47 | "x-frame-options": [ | |
|
48 | "Deny" | |
|
49 | ], | |
|
50 | 36 | "cache-control": [ |
|
51 | 37 | "no-store" |
|
52 | 38 | ], |
|
53 | 39 | "content-type": [ |
|
54 | 40 | "application/json" |
|
55 | 41 | ], |
|
42 | "date": [ | |
|
43 | "Sun, 05 May 2019 13:31:08 GMT" | |
|
44 | ], | |
|
45 | "connection": [ | |
|
46 | "keep-alive" | |
|
47 | ], | |
|
48 | "strict-transport-security": [ | |
|
49 | "max-age=31536000; includeSubdomains; preload" | |
|
50 | ], | |
|
51 | "vary": [ | |
|
52 | "Accept-Encoding" | |
|
53 | ], | |
|
54 | "x-frame-options": [ | |
|
55 | "Deny" | |
|
56 | ], | |
|
57 | "content-length": [ | |
|
58 | "1132" | |
|
59 | ], | |
|
56 | 60 | "x-content-type-options": [ |
|
57 | 61 | "nosniff" |
|
58 | 62 | ], |
|
59 |
" |
|
|
60 | "Apache/2.4.10 (Debian)" | |
|
61 | ], | |
|
62 | "set-cookie": [ | |
|
63 | "phsid=A%2Fnf3xdxgvvgky277foc7s2p6xrgtsvn4bzmayrbmb; expires=Fri, 01-Mar-2024 00:12:30 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
64 | ], | |
|
65 | "strict-transport-security": [ | |
|
66 | "max-age=0; includeSubdomains; preload" | |
|
63 | "expires": [ | |
|
64 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
67 | 65 | ] |
|
66 | }, | |
|
67 | "body": { | |
|
68 | "string": "{\"result\":{\"1899\":{\"id\":\"1899\",\"revisionID\":\"1190\",\"dateCreated\":\"1557063061\",\"dateModified\":\"1557063064\",\"sourceControlBaseRevision\":null,\"sourceControlPath\":null,\"sourceControlSystem\":null,\"branch\":null,\"bookmark\":null,\"creationMethod\":\"web\",\"description\":null,\"unitStatus\":\"4\",\"lintStatus\":\"4\",\"changes\":[{\"id\":\"4355\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"g6dr_XSxA9EP\"},\"oldPath\":null,\"currentPath\":\"alpha\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":{\"unix:filemode\":\"100644\"},\"type\":\"1\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"1\",\"delLines\":\"0\",\"hunks\":[{\"oldOffset\":\"0\",\"newOffset\":\"1\",\"oldLength\":\"0\",\"newLength\":\"1\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"+alpha\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"53fe3a1e0f42670a88ad845247b2ed4d5e645434\",\"parent\":\"0000000000000000000000000000000000000000\",\"user\":\"test\"},\"local:commits\":{\"53fe3a1e0f42670a88ad845247b2ed4d5e645434\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"}},\"error_code\":null,\"error_info\":null}" | |
|
68 | 69 | } |
|
69 | 70 | } |
|
70 | 71 | }, |
|
71 | 72 | { |
|
72 | 73 | "request": { |
|
73 | "method": "POST", | |
|
74 | "body": "constraints%5Bcallsigns%5D%5B0%5D=HG&api.token=cli-hahayouwish", | |
|
75 | "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |
|
76 | 74 | "headers": { |
|
75 | "user-agent": [ | |
|
76 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
77 | ], | |
|
78 | "content-length": [ | |
|
79 | "93" | |
|
80 | ], | |
|
77 | 81 | "content-type": [ |
|
78 | 82 | "application/x-www-form-urlencoded" |
|
79 | 83 | ], |
|
80 | 84 | "accept": [ |
|
81 | 85 | "application/mercurial-0.1" |
|
82 | 86 | ], |
|
83 | "user-agent": [ | |
|
84 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
85 | ], | |
|
86 | 87 | "host": [ |
|
87 | 88 | "phab.mercurial-scm.org" |
|
88 | ], | |
|
89 | "content-length": [ | |
|
90 | "79" | |
|
91 | 89 | ] |
|
92 | } | |
|
90 | }, | |
|
91 | "body": "api.token=cli-hahayouwish&constraints%5Bcallsigns%5D%5B0%5D=HG", | |
|
92 | "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |
|
93 | "method": "POST" | |
|
93 | 94 | }, |
|
94 | 95 | "response": { |
|
95 | 96 | "status": { |
|
96 | 97 | "code": 200, |
|
97 | 98 | "message": "OK" |
|
98 | 99 | }, |
|
99 | "body": { | |
|
100 | "string": "{\"result\":{\"data\":[{\"id\":2,\"type\":\"REPO\",\"phid\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"fields\":{\"name\":\"Mercurial\",\"vcs\":\"hg\",\"callsign\":\"HG\",\"shortName\":null,\"status\":\"active\",\"isImporting\":false,\"spacePHID\":null,\"dateCreated\":1498761653,\"dateModified\":1500403184,\"policy\":{\"view\":\"public\",\"edit\":\"admin\",\"diffusion.push\":\"users\"}},\"attachments\":{}}],\"maps\":{},\"query\":{\"queryKey\":null},\"cursor\":{\"limit\":100,\"after\":null,\"before\":null,\"order\":null}},\"error_code\":null,\"error_info\":null}" | |
|
101 | }, | |
|
102 | 100 | "headers": { |
|
103 | "expires": [ | |
|
104 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
105 | ], | |
|
106 | 101 | "x-xss-protection": [ |
|
107 | 102 | "1; mode=block" |
|
108 | 103 | ], |
|
109 | "transfer-encoding": [ | |
|
110 | "chunked" | |
|
111 | ], | |
|
112 | "date": [ | |
|
113 | "Sun, 03 Mar 2019 00:12:31 GMT" | |
|
114 | ], | |
|
115 | "x-frame-options": [ | |
|
116 | "Deny" | |
|
117 | ], | |
|
118 | 104 | "cache-control": [ |
|
119 | 105 | "no-store" |
|
120 | 106 | ], |
|
121 | 107 | "content-type": [ |
|
122 | 108 | "application/json" |
|
123 | 109 | ], |
|
110 | "date": [ | |
|
111 | "Sun, 05 May 2019 13:31:09 GMT" | |
|
112 | ], | |
|
113 | "connection": [ | |
|
114 | "keep-alive" | |
|
115 | ], | |
|
116 | "strict-transport-security": [ | |
|
117 | "max-age=31536000; includeSubdomains; preload" | |
|
118 | ], | |
|
119 | "vary": [ | |
|
120 | "Accept-Encoding" | |
|
121 | ], | |
|
122 | "x-frame-options": [ | |
|
123 | "Deny" | |
|
124 | ], | |
|
125 | "content-length": [ | |
|
126 | "549" | |
|
127 | ], | |
|
124 | 128 | "x-content-type-options": [ |
|
125 | 129 | "nosniff" |
|
126 | 130 | ], |
|
127 |
" |
|
|
128 | "Apache/2.4.10 (Debian)" | |
|
129 | ], | |
|
130 | "set-cookie": [ | |
|
131 | "phsid=A%2Fmlq7cl6pakmia2uecfcevwhdl3hyqe6rdb2y7usm; expires=Fri, 01-Mar-2024 00:12:31 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
132 | ], | |
|
133 | "strict-transport-security": [ | |
|
134 | "max-age=0; includeSubdomains; preload" | |
|
131 | "expires": [ | |
|
132 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
135 | 133 | ] |
|
134 | }, | |
|
135 | "body": { | |
|
136 | "string": "{\"result\":{\"data\":[{\"id\":10,\"type\":\"REPO\",\"phid\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"fields\":{\"name\":\"Mercurial\",\"vcs\":\"hg\",\"callsign\":\"HG\",\"shortName\":\"Mercurial\",\"status\":\"active\",\"isImporting\":false,\"almanacServicePHID\":null,\"spacePHID\":null,\"dateCreated\":1507817156,\"dateModified\":1529613276,\"policy\":{\"view\":\"public\",\"edit\":\"admin\",\"diffusion.push\":\"users\"}},\"attachments\":{}}],\"maps\":{},\"query\":{\"queryKey\":null},\"cursor\":{\"limit\":100,\"after\":null,\"before\":null,\"order\":null}},\"error_code\":null,\"error_info\":null}" | |
|
136 | 137 | } |
|
137 | 138 | } |
|
138 | 139 | }, |
|
139 | 140 | { |
|
140 | 141 | "request": { |
|
141 | "method": "POST", | |
|
142 | "body": "repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3&api.token=cli-hahayouwish&diff=diff+--git+a%2Falpha+b%2Falpha%0Anew+file+mode+100644%0A---+%2Fdev%2Fnull%0A%2B%2B%2B+b%2Falpha%0A%40%40+-0%2C0+%2B1%2C2+%40%40%0A%2Balpha%0A%2Bmore%0A", | |
|
143 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
144 | 142 | "headers": { |
|
143 | "user-agent": [ | |
|
144 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
145 | ], | |
|
146 | "content-length": [ | |
|
147 | "245" | |
|
148 | ], | |
|
145 | 149 | "content-type": [ |
|
146 | 150 | "application/x-www-form-urlencoded" |
|
147 | 151 | ], |
|
148 | 152 | "accept": [ |
|
149 | 153 | "application/mercurial-0.1" |
|
150 | 154 | ], |
|
151 | "user-agent": [ | |
|
152 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
153 | ], | |
|
154 | 155 | "host": [ |
|
155 | 156 | "phab.mercurial-scm.org" |
|
156 | ], | |
|
157 | "content-length": [ | |
|
158 | "245" | |
|
159 | 157 | ] |
|
160 | } | |
|
158 | }, | |
|
159 | "body": "api.token=cli-hahayouwish&diff=diff+--git+a%2Falpha+b%2Falpha%0Anew+file+mode+100644%0A---+%2Fdev%2Fnull%0A%2B%2B%2B+b%2Falpha%0A%40%40+-0%2C0+%2B1%2C2+%40%40%0A%2Balpha%0A%2Bmore%0A&repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3", | |
|
160 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
161 | "method": "POST" | |
|
161 | 162 | }, |
|
162 | 163 | "response": { |
|
163 | 164 | "status": { |
|
164 | 165 | "code": 200, |
|
165 | 166 | "message": "OK" |
|
166 | 167 | }, |
|
167 | "body": { | |
|
168 | "string": "{\"result\":{\"id\":14304,\"phid\":\"PHID-DIFF-3wv2fwmzp27uamb66xxg\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/14304\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
169 | }, | |
|
170 | 168 | "headers": { |
|
171 | "expires": [ | |
|
172 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
173 | ], | |
|
174 | 169 | "x-xss-protection": [ |
|
175 | 170 | "1; mode=block" |
|
176 | 171 | ], |
|
177 | "transfer-encoding": [ | |
|
178 | "chunked" | |
|
179 | ], | |
|
180 | "date": [ | |
|
181 | "Sun, 03 Mar 2019 00:12:32 GMT" | |
|
182 | ], | |
|
183 | "x-frame-options": [ | |
|
184 | "Deny" | |
|
185 | ], | |
|
186 | 172 | "cache-control": [ |
|
187 | 173 | "no-store" |
|
188 | 174 | ], |
|
189 | 175 | "content-type": [ |
|
190 | 176 | "application/json" |
|
191 | 177 | ], |
|
178 | "date": [ | |
|
179 | "Sun, 05 May 2019 13:31:09 GMT" | |
|
180 | ], | |
|
181 | "connection": [ | |
|
182 | "keep-alive" | |
|
183 | ], | |
|
184 | "strict-transport-security": [ | |
|
185 | "max-age=31536000; includeSubdomains; preload" | |
|
186 | ], | |
|
187 | "vary": [ | |
|
188 | "Accept-Encoding" | |
|
189 | ], | |
|
190 | "x-frame-options": [ | |
|
191 | "Deny" | |
|
192 | ], | |
|
193 | "content-length": [ | |
|
194 | "172" | |
|
195 | ], | |
|
192 | 196 | "x-content-type-options": [ |
|
193 | 197 | "nosniff" |
|
194 | 198 | ], |
|
195 |
" |
|
|
196 | "Apache/2.4.10 (Debian)" | |
|
197 | ], | |
|
198 | "set-cookie": [ | |
|
199 | "phsid=A%2Fptjtujvqlcwhzs4yhneogb323aqessc5axlu4rif; expires=Fri, 01-Mar-2024 00:12:32 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
200 | ], | |
|
201 | "strict-transport-security": [ | |
|
202 | "max-age=0; includeSubdomains; preload" | |
|
199 | "expires": [ | |
|
200 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
203 | 201 | ] |
|
202 | }, | |
|
203 | "body": { | |
|
204 | "string": "{\"result\":{\"id\":1900,\"phid\":\"PHID-DIFF-gra4b3ivsgebktbeoxxx\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1900\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
204 | 205 | } |
|
205 | 206 | } |
|
206 | 207 | }, |
|
207 | 208 | { |
|
208 | 209 | "request": { |
|
209 | "method": "POST", | |
|
210 | "body": "diff_id=14304&data=%7B%22user%22%3A+%22test%22%2C+%22parent%22%3A+%220000000000000000000000000000000000000000%22%2C+%22node%22%3A+%22939d862f03181a366fea64a540baf0bb33f85d92%22%2C+%22date%22%3A+%220+0%22%7D&api.token=cli-hahayouwish&name=hg%3Ameta", | |
|
211 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
212 | 210 | "headers": { |
|
211 | "user-agent": [ | |
|
212 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
213 | ], | |
|
214 | "content-length": [ | |
|
215 | "296" | |
|
216 | ], | |
|
213 | 217 | "content-type": [ |
|
214 | 218 | "application/x-www-form-urlencoded" |
|
215 | 219 | ], |
|
216 | 220 | "accept": [ |
|
217 | 221 | "application/mercurial-0.1" |
|
218 | 222 | ], |
|
219 | "user-agent": [ | |
|
220 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
221 | ], | |
|
222 | 223 | "host": [ |
|
223 | 224 | "phab.mercurial-scm.org" |
|
224 | ], | |
|
225 | "content-length": [ | |
|
226 | "264" | |
|
227 | 225 | ] |
|
228 | } | |
|
226 | }, | |
|
227 | "body": "diff_id=1900&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%22d940d39fb603f29ea5df4b7c15f315fe6ff4e346%22%2C+%22parent%22%3A+%220000000000000000000000000000000000000000%22%2C+%22user%22%3A+%22test%22%7D&name=hg%3Ameta&api.token=cli-hahayouwish", | |
|
228 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
229 | "method": "POST" | |
|
229 | 230 | }, |
|
230 | 231 | "response": { |
|
231 | 232 | "status": { |
|
232 | 233 | "code": 200, |
|
233 | 234 | "message": "OK" |
|
234 | 235 | }, |
|
235 | "body": { | |
|
236 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
237 | }, | |
|
238 | 236 | "headers": { |
|
239 | "expires": [ | |
|
240 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
241 | ], | |
|
242 | 237 | "x-xss-protection": [ |
|
243 | 238 | "1; mode=block" |
|
244 | 239 | ], |
|
245 | "transfer-encoding": [ | |
|
246 | "chunked" | |
|
247 | ], | |
|
248 | "date": [ | |
|
249 | "Sun, 03 Mar 2019 00:12:32 GMT" | |
|
250 | ], | |
|
251 | "x-frame-options": [ | |
|
252 | "Deny" | |
|
253 | ], | |
|
254 | 240 | "cache-control": [ |
|
255 | 241 | "no-store" |
|
256 | 242 | ], |
|
257 | 243 | "content-type": [ |
|
258 | 244 | "application/json" |
|
259 | 245 | ], |
|
246 | "date": [ | |
|
247 | "Sun, 05 May 2019 13:31:10 GMT" | |
|
248 | ], | |
|
249 | "connection": [ | |
|
250 | "keep-alive" | |
|
251 | ], | |
|
252 | "strict-transport-security": [ | |
|
253 | "max-age=31536000; includeSubdomains; preload" | |
|
254 | ], | |
|
255 | "vary": [ | |
|
256 | "Accept-Encoding" | |
|
257 | ], | |
|
258 | "x-frame-options": [ | |
|
259 | "Deny" | |
|
260 | ], | |
|
261 | "content-length": [ | |
|
262 | "51" | |
|
263 | ], | |
|
260 | 264 | "x-content-type-options": [ |
|
261 | 265 | "nosniff" |
|
262 | 266 | ], |
|
263 |
" |
|
|
264 | "Apache/2.4.10 (Debian)" | |
|
265 | ], | |
|
266 | "set-cookie": [ | |
|
267 | "phsid=A%2Feho2462w6mulsjeoz3e4rwgf37aekqwgpqmarn2f; expires=Fri, 01-Mar-2024 00:12:32 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
268 | ], | |
|
269 | "strict-transport-security": [ | |
|
270 | "max-age=0; includeSubdomains; preload" | |
|
267 | "expires": [ | |
|
268 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
271 | 269 | ] |
|
270 | }, | |
|
271 | "body": { | |
|
272 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
272 | 273 | } |
|
273 | 274 | } |
|
274 | 275 | }, |
|
275 | 276 | { |
|
276 | 277 | "request": { |
|
277 | "method": "POST", | |
|
278 | "body": "diff_id=14304&data=%7B%22939d862f03181a366fea64a540baf0bb33f85d92%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22time%22%3A+0.0%7D%7D&api.token=cli-hahayouwish&name=local%3Acommits", | |
|
279 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
280 | 278 | "headers": { |
|
279 | "user-agent": [ | |
|
280 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
281 | ], | |
|
282 | "content-length": [ | |
|
283 | "257" | |
|
284 | ], | |
|
281 | 285 | "content-type": [ |
|
282 | 286 | "application/x-www-form-urlencoded" |
|
283 | 287 | ], |
|
284 | 288 | "accept": [ |
|
285 | 289 | "application/mercurial-0.1" |
|
286 | 290 | ], |
|
287 | "user-agent": [ | |
|
288 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
289 | ], | |
|
290 | 291 | "host": [ |
|
291 | 292 | "phab.mercurial-scm.org" |
|
292 | ], | |
|
293 | "content-length": [ | |
|
294 | "227" | |
|
295 | 293 | ] |
|
296 | } | |
|
294 | }, | |
|
295 | "body": "diff_id=1900&data=%7B%22d940d39fb603f29ea5df4b7c15f315fe6ff4e346%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%22d940d39fb603f29ea5df4b7c15f315fe6ff4e346%22%2C+%22parents%22%3A+%5B%220000000000000000000000000000000000000000%22%5D%2C+%22time%22%3A+0%7D%7D&name=local%3Acommits&api.token=cli-hahayouwish", | |
|
296 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
297 | "method": "POST" | |
|
297 | 298 | }, |
|
298 | 299 | "response": { |
|
299 | 300 | "status": { |
|
300 | 301 | "code": 200, |
|
301 | 302 | "message": "OK" |
|
302 | 303 | }, |
|
303 | "body": { | |
|
304 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
305 | }, | |
|
306 | 304 | "headers": { |
|
307 | "expires": [ | |
|
308 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
309 | ], | |
|
310 | 305 | "x-xss-protection": [ |
|
311 | 306 | "1; mode=block" |
|
312 | 307 | ], |
|
313 | "transfer-encoding": [ | |
|
314 | "chunked" | |
|
315 | ], | |
|
316 | "date": [ | |
|
317 | "Sun, 03 Mar 2019 00:12:33 GMT" | |
|
318 | ], | |
|
319 | "x-frame-options": [ | |
|
320 | "Deny" | |
|
321 | ], | |
|
322 | 308 | "cache-control": [ |
|
323 | 309 | "no-store" |
|
324 | 310 | ], |
|
325 | 311 | "content-type": [ |
|
326 | 312 | "application/json" |
|
327 | 313 | ], |
|
314 | "date": [ | |
|
315 | "Sun, 05 May 2019 13:31:11 GMT" | |
|
316 | ], | |
|
317 | "connection": [ | |
|
318 | "keep-alive" | |
|
319 | ], | |
|
320 | "strict-transport-security": [ | |
|
321 | "max-age=31536000; includeSubdomains; preload" | |
|
322 | ], | |
|
323 | "vary": [ | |
|
324 | "Accept-Encoding" | |
|
325 | ], | |
|
326 | "x-frame-options": [ | |
|
327 | "Deny" | |
|
328 | ], | |
|
329 | "content-length": [ | |
|
330 | "51" | |
|
331 | ], | |
|
328 | 332 | "x-content-type-options": [ |
|
329 | 333 | "nosniff" |
|
330 | 334 | ], |
|
331 |
" |
|
|
332 | "Apache/2.4.10 (Debian)" | |
|
333 | ], | |
|
334 | "set-cookie": [ | |
|
335 | "phsid=A%2F4ca3h5qhtwgn55t3zznczixyt2st4tm44t23aceg; expires=Fri, 01-Mar-2024 00:12:33 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
336 | ], | |
|
337 | "strict-transport-security": [ | |
|
338 | "max-age=0; includeSubdomains; preload" | |
|
335 | "expires": [ | |
|
336 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
339 | 337 | ] |
|
338 | }, | |
|
339 | "body": { | |
|
340 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
340 | 341 | } |
|
341 | 342 | } |
|
342 | 343 | }, |
|
343 | 344 | { |
|
344 | 345 | "request": { |
|
345 | "method": "POST", | |
|
346 | "body": "api.token=cli-hahayouwish&corpus=create+alpha+for+phabricator+test+%E2%82%AC%0A%0ADifferential+Revision%3A+https%3A%2F%2Fphab.mercurial-scm.org%2FD6054", | |
|
347 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
348 | 346 | "headers": { |
|
347 | "user-agent": [ | |
|
348 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
349 | ], | |
|
350 | "content-length": [ | |
|
351 | "173" | |
|
352 | ], | |
|
349 | 353 | "content-type": [ |
|
350 | 354 | "application/x-www-form-urlencoded" |
|
351 | 355 | ], |
|
352 | 356 | "accept": [ |
|
353 | 357 | "application/mercurial-0.1" |
|
354 | 358 | ], |
|
355 | "user-agent": [ | |
|
356 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
357 | ], | |
|
358 | 359 | "host": [ |
|
359 | 360 | "phab.mercurial-scm.org" |
|
360 | ], | |
|
361 | "content-length": [ | |
|
362 | "168" | |
|
363 | 361 | ] |
|
364 | } | |
|
362 | }, | |
|
363 | "body": "api.token=cli-hahayouwish&corpus=create+alpha+for+phabricator+test+%E2%82%AC%0A%0ADifferential+Revision%3A+https%3A%2F%2Fphab.mercurial-scm.org%2FD1190", | |
|
364 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
365 | "method": "POST" | |
|
365 | 366 | }, |
|
366 | 367 | "response": { |
|
367 | 368 | "status": { |
|
368 | 369 | "code": 200, |
|
369 | 370 | "message": "OK" |
|
370 | 371 | }, |
|
371 | "body": { | |
|
372 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create alpha for phabricator test \\u20ac\",\"revisionID\":6054},\"revisionIDFieldInfo\":{\"value\":6054,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"}},\"error_code\":null,\"error_info\":null}" | |
|
373 | }, | |
|
374 | 372 | "headers": { |
|
375 | "expires": [ | |
|
376 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
377 | ], | |
|
378 | 373 | "x-xss-protection": [ |
|
379 | 374 | "1; mode=block" |
|
380 | 375 | ], |
|
381 | "transfer-encoding": [ | |
|
382 | "chunked" | |
|
383 | ], | |
|
384 | "date": [ | |
|
385 | "Sun, 03 Mar 2019 00:12:34 GMT" | |
|
386 | ], | |
|
387 | "x-frame-options": [ | |
|
388 | "Deny" | |
|
389 | ], | |
|
390 | 376 | "cache-control": [ |
|
391 | 377 | "no-store" |
|
392 | 378 | ], |
|
393 | 379 | "content-type": [ |
|
394 | 380 | "application/json" |
|
395 | 381 | ], |
|
382 | "date": [ | |
|
383 | "Sun, 05 May 2019 13:31:11 GMT" | |
|
384 | ], | |
|
385 | "connection": [ | |
|
386 | "keep-alive" | |
|
387 | ], | |
|
388 | "strict-transport-security": [ | |
|
389 | "max-age=31536000; includeSubdomains; preload" | |
|
390 | ], | |
|
391 | "vary": [ | |
|
392 | "Accept-Encoding" | |
|
393 | ], | |
|
394 | "x-frame-options": [ | |
|
395 | "Deny" | |
|
396 | ], | |
|
397 | "content-length": [ | |
|
398 | "316" | |
|
399 | ], | |
|
396 | 400 | "x-content-type-options": [ |
|
397 | 401 | "nosniff" |
|
398 | 402 | ], |
|
399 |
" |
|
|
400 | "Apache/2.4.10 (Debian)" | |
|
401 | ], | |
|
402 | "set-cookie": [ | |
|
403 | "phsid=A%2F7pvtbpw2waiblbsbydew3vfpulqnccf4647ymipq; expires=Fri, 01-Mar-2024 00:12:34 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
404 | ], | |
|
405 | "strict-transport-security": [ | |
|
406 | "max-age=0; includeSubdomains; preload" | |
|
403 | "expires": [ | |
|
404 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
407 | 405 | ] |
|
406 | }, | |
|
407 | "body": { | |
|
408 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create alpha for phabricator test \\u20ac\",\"revisionID\":1190},\"revisionIDFieldInfo\":{\"value\":1190,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"create alpha for phabricator test \\u20ac\"}]},\"error_code\":null,\"error_info\":null}" | |
|
408 | 409 | } |
|
409 | 410 | } |
|
410 | 411 | }, |
|
411 | 412 | { |
|
412 | 413 | "request": { |
|
413 | "method": "POST", | |
|
414 | "body": "api.token=cli-hahayouwish&transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-3wv2fwmzp27uamb66xxg&transactions%5B1%5D%5Btype%5D=title&transactions%5B1%5D%5Bvalue%5D=create+alpha+for+phabricator+test+%E2%82%AC&objectIdentifier=6054", | |
|
415 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
416 | 414 | "headers": { |
|
415 | "user-agent": [ | |
|
416 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
417 | ], | |
|
418 | "content-length": [ | |
|
419 | "274" | |
|
420 | ], | |
|
417 | 421 | "content-type": [ |
|
418 | 422 | "application/x-www-form-urlencoded" |
|
419 | 423 | ], |
|
420 | 424 | "accept": [ |
|
421 | 425 | "application/mercurial-0.1" |
|
422 | 426 | ], |
|
423 | "user-agent": [ | |
|
424 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
425 | ], | |
|
426 | 427 | "host": [ |
|
427 | 428 | "phab.mercurial-scm.org" |
|
428 | ], | |
|
429 | "content-length": [ | |
|
430 | "274" | |
|
431 | 429 | ] |
|
432 | } | |
|
430 | }, | |
|
431 | "body": "api.token=cli-hahayouwish&objectIdentifier=1190&transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-gra4b3ivsgebktbeoxxx&transactions%5B1%5D%5Btype%5D=title&transactions%5B1%5D%5Bvalue%5D=create+alpha+for+phabricator+test+%E2%82%AC", | |
|
432 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
433 | "method": "POST" | |
|
433 | 434 | }, |
|
434 | 435 | "response": { |
|
435 | 436 | "status": { |
|
436 | 437 | "code": 200, |
|
437 | 438 | "message": "OK" |
|
438 | 439 | }, |
|
439 | "body": { | |
|
440 | "string": "{\"result\":{\"object\":{\"id\":\"6054\",\"phid\":\"PHID-DREV-6pczsbtdpqjc2nskmxwy\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-mc2gfyoyhkfz7dy\"}]},\"error_code\":null,\"error_info\":null}" | |
|
441 | }, | |
|
442 | 440 | "headers": { |
|
443 | "expires": [ | |
|
444 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
445 | ], | |
|
446 | 441 | "x-xss-protection": [ |
|
447 | 442 | "1; mode=block" |
|
448 | 443 | ], |
|
449 | "transfer-encoding": [ | |
|
450 | "chunked" | |
|
451 | ], | |
|
452 | "date": [ | |
|
453 | "Sun, 03 Mar 2019 00:12:34 GMT" | |
|
454 | ], | |
|
455 | "x-frame-options": [ | |
|
456 | "Deny" | |
|
457 | ], | |
|
458 | 444 | "cache-control": [ |
|
459 | 445 | "no-store" |
|
460 | 446 | ], |
|
461 | 447 | "content-type": [ |
|
462 | 448 | "application/json" |
|
463 | 449 | ], |
|
450 | "date": [ | |
|
451 | "Sun, 05 May 2019 13:31:12 GMT" | |
|
452 | ], | |
|
453 | "connection": [ | |
|
454 | "keep-alive" | |
|
455 | ], | |
|
456 | "strict-transport-security": [ | |
|
457 | "max-age=31536000; includeSubdomains; preload" | |
|
458 | ], | |
|
459 | "vary": [ | |
|
460 | "Accept-Encoding" | |
|
461 | ], | |
|
462 | "x-frame-options": [ | |
|
463 | "Deny" | |
|
464 | ], | |
|
465 | "content-length": [ | |
|
466 | "168" | |
|
467 | ], | |
|
464 | 468 | "x-content-type-options": [ |
|
465 | 469 | "nosniff" |
|
466 | 470 | ], |
|
467 |
" |
|
|
468 | "Apache/2.4.10 (Debian)" | |
|
469 | ], | |
|
470 | "set-cookie": [ | |
|
471 | "phsid=A%2Fhmyuw3lg6h4joaswqnfcmnzdkp6p2qxotsvahb7l; expires=Fri, 01-Mar-2024 00:12:34 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
472 | ], | |
|
473 | "strict-transport-security": [ | |
|
474 | "max-age=0; includeSubdomains; preload" | |
|
471 | "expires": [ | |
|
472 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
475 | 473 | ] |
|
474 | }, | |
|
475 | "body": { | |
|
476 | "string": "{\"result\":{\"object\":{\"id\":1190,\"phid\":\"PHID-DREV-kikesmfxhzpfaxbzgj3l\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-tk6ciodgzlwo2v6\"}]},\"error_code\":null,\"error_info\":null}" | |
|
476 | 477 | } |
|
477 | 478 | } |
|
478 | 479 | }, |
|
479 | 480 | { |
|
480 | 481 | "request": { |
|
481 | "method": "POST", | |
|
482 | "body": "repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3&api.token=cli-hahayouwish&diff=diff+--git+a%2Fbeta+b%2Fbeta%0Anew+file+mode+100644%0A---+%2Fdev%2Fnull%0A%2B%2B%2B+b%2Fbeta%0A%40%40+-0%2C0+%2B1%2C1+%40%40%0A%2Bbeta%0A", | |
|
483 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
484 | 482 | "headers": { |
|
483 | "user-agent": [ | |
|
484 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
485 | ], | |
|
486 | "content-length": [ | |
|
487 | "231" | |
|
488 | ], | |
|
485 | 489 | "content-type": [ |
|
486 | 490 | "application/x-www-form-urlencoded" |
|
487 | 491 | ], |
|
488 | 492 | "accept": [ |
|
489 | 493 | "application/mercurial-0.1" |
|
490 | 494 | ], |
|
491 | "user-agent": [ | |
|
492 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
493 | ], | |
|
494 | 495 | "host": [ |
|
495 | 496 | "phab.mercurial-scm.org" |
|
496 | ], | |
|
497 | "content-length": [ | |
|
498 | "231" | |
|
499 | 497 | ] |
|
500 | } | |
|
498 | }, | |
|
499 | "body": "api.token=cli-hahayouwish&diff=diff+--git+a%2Fbeta+b%2Fbeta%0Anew+file+mode+100644%0A---+%2Fdev%2Fnull%0A%2B%2B%2B+b%2Fbeta%0A%40%40+-0%2C0+%2B1%2C1+%40%40%0A%2Bbeta%0A&repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3", | |
|
500 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
501 | "method": "POST" | |
|
501 | 502 | }, |
|
502 | 503 | "response": { |
|
503 | 504 | "status": { |
|
504 | 505 | "code": 200, |
|
505 | 506 | "message": "OK" |
|
506 | 507 | }, |
|
507 | "body": { | |
|
508 | "string": "{\"result\":{\"id\":14305,\"phid\":\"PHID-DIFF-pofynzhmmqm2czm33teg\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/14305\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
509 | }, | |
|
510 | 508 | "headers": { |
|
511 | "expires": [ | |
|
512 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
513 | ], | |
|
514 | 509 | "x-xss-protection": [ |
|
515 | 510 | "1; mode=block" |
|
516 | 511 | ], |
|
517 | "transfer-encoding": [ | |
|
518 | "chunked" | |
|
519 | ], | |
|
520 | "date": [ | |
|
521 | "Sun, 03 Mar 2019 00:12:35 GMT" | |
|
522 | ], | |
|
523 | "x-frame-options": [ | |
|
524 | "Deny" | |
|
525 | ], | |
|
526 | 512 | "cache-control": [ |
|
527 | 513 | "no-store" |
|
528 | 514 | ], |
|
529 | 515 | "content-type": [ |
|
530 | 516 | "application/json" |
|
531 | 517 | ], |
|
518 | "date": [ | |
|
519 | "Sun, 05 May 2019 13:31:13 GMT" | |
|
520 | ], | |
|
521 | "connection": [ | |
|
522 | "keep-alive" | |
|
523 | ], | |
|
524 | "strict-transport-security": [ | |
|
525 | "max-age=31536000; includeSubdomains; preload" | |
|
526 | ], | |
|
527 | "vary": [ | |
|
528 | "Accept-Encoding" | |
|
529 | ], | |
|
530 | "x-frame-options": [ | |
|
531 | "Deny" | |
|
532 | ], | |
|
533 | "content-length": [ | |
|
534 | "172" | |
|
535 | ], | |
|
532 | 536 | "x-content-type-options": [ |
|
533 | 537 | "nosniff" |
|
534 | 538 | ], |
|
535 |
" |
|
|
536 | "Apache/2.4.10 (Debian)" | |
|
537 | ], | |
|
538 | "set-cookie": [ | |
|
539 | "phsid=A%2F2xpzt6bryn7n3gug3ll7iu2gfqyy4zss5d7nolew; expires=Fri, 01-Mar-2024 00:12:35 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
540 | ], | |
|
541 | "strict-transport-security": [ | |
|
542 | "max-age=0; includeSubdomains; preload" | |
|
539 | "expires": [ | |
|
540 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
543 | 541 | ] |
|
542 | }, | |
|
543 | "body": { | |
|
544 | "string": "{\"result\":{\"id\":1901,\"phid\":\"PHID-DIFF-uhbyhoejzbniwwzj2q5c\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1901\\/\"},\"error_code\":null,\"error_info\":null}" | |
|
544 | 545 | } |
|
545 | 546 | } |
|
546 | 547 | }, |
|
547 | 548 | { |
|
548 | 549 | "request": { |
|
549 | "method": "POST", | |
|
550 | "body": "diff_id=14305&data=%7B%22user%22%3A+%22test%22%2C+%22parent%22%3A+%22939d862f03181a366fea64a540baf0bb33f85d92%22%2C+%22node%22%3A+%22f55f947ed0f8ad80a04b7e87a0bf9febda2070b1%22%2C+%22date%22%3A+%220+0%22%7D&api.token=cli-hahayouwish&name=hg%3Ameta", | |
|
551 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
552 | 550 | "headers": { |
|
551 | "user-agent": [ | |
|
552 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
553 | ], | |
|
554 | "content-length": [ | |
|
555 | "296" | |
|
556 | ], | |
|
553 | 557 | "content-type": [ |
|
554 | 558 | "application/x-www-form-urlencoded" |
|
555 | 559 | ], |
|
556 | 560 | "accept": [ |
|
557 | 561 | "application/mercurial-0.1" |
|
558 | 562 | ], |
|
559 | "user-agent": [ | |
|
560 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
561 | ], | |
|
562 | 563 | "host": [ |
|
563 | 564 | "phab.mercurial-scm.org" |
|
564 | ], | |
|
565 | "content-length": [ | |
|
566 | "264" | |
|
567 | 565 | ] |
|
568 | } | |
|
566 | }, | |
|
567 | "body": "diff_id=1901&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%224b2486dfc8c7b238e70f8b022f9e09a0ea220415%22%2C+%22parent%22%3A+%22d940d39fb603f29ea5df4b7c15f315fe6ff4e346%22%2C+%22user%22%3A+%22test%22%7D&name=hg%3Ameta&api.token=cli-hahayouwish", | |
|
568 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
569 | "method": "POST" | |
|
569 | 570 | }, |
|
570 | 571 | "response": { |
|
571 | 572 | "status": { |
|
572 | 573 | "code": 200, |
|
573 | 574 | "message": "OK" |
|
574 | 575 | }, |
|
575 | "body": { | |
|
576 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
577 | }, | |
|
578 | 576 | "headers": { |
|
579 | "expires": [ | |
|
580 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
581 | ], | |
|
582 | 577 | "x-xss-protection": [ |
|
583 | 578 | "1; mode=block" |
|
584 | 579 | ], |
|
585 | "transfer-encoding": [ | |
|
586 | "chunked" | |
|
587 | ], | |
|
588 | "date": [ | |
|
589 | "Sun, 03 Mar 2019 00:12:36 GMT" | |
|
590 | ], | |
|
591 | "x-frame-options": [ | |
|
592 | "Deny" | |
|
593 | ], | |
|
594 | 580 | "cache-control": [ |
|
595 | 581 | "no-store" |
|
596 | 582 | ], |
|
597 | 583 | "content-type": [ |
|
598 | 584 | "application/json" |
|
599 | 585 | ], |
|
586 | "date": [ | |
|
587 | "Sun, 05 May 2019 13:31:14 GMT" | |
|
588 | ], | |
|
589 | "connection": [ | |
|
590 | "keep-alive" | |
|
591 | ], | |
|
592 | "strict-transport-security": [ | |
|
593 | "max-age=31536000; includeSubdomains; preload" | |
|
594 | ], | |
|
595 | "vary": [ | |
|
596 | "Accept-Encoding" | |
|
597 | ], | |
|
598 | "x-frame-options": [ | |
|
599 | "Deny" | |
|
600 | ], | |
|
601 | "content-length": [ | |
|
602 | "51" | |
|
603 | ], | |
|
600 | 604 | "x-content-type-options": [ |
|
601 | 605 | "nosniff" |
|
602 | 606 | ], |
|
603 |
" |
|
|
604 | "Apache/2.4.10 (Debian)" | |
|
605 | ], | |
|
606 | "set-cookie": [ | |
|
607 | "phsid=A%2Fygzbpe74xh6shrejkd3tj32t4gaqnvumy63iudrd; expires=Fri, 01-Mar-2024 00:12:36 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
608 | ], | |
|
609 | "strict-transport-security": [ | |
|
610 | "max-age=0; includeSubdomains; preload" | |
|
607 | "expires": [ | |
|
608 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
611 | 609 | ] |
|
610 | }, | |
|
611 | "body": { | |
|
612 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
612 | 613 | } |
|
613 | 614 | } |
|
614 | 615 | }, |
|
615 | 616 | { |
|
616 | 617 | "request": { |
|
617 | "method": "POST", | |
|
618 | "body": "diff_id=14305&data=%7B%22f55f947ed0f8ad80a04b7e87a0bf9febda2070b1%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22time%22%3A+0.0%7D%7D&api.token=cli-hahayouwish&name=local%3Acommits", | |
|
619 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
620 | 618 | "headers": { |
|
619 | "user-agent": [ | |
|
620 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
621 | ], | |
|
622 | "content-length": [ | |
|
623 | "257" | |
|
624 | ], | |
|
621 | 625 | "content-type": [ |
|
622 | 626 | "application/x-www-form-urlencoded" |
|
623 | 627 | ], |
|
624 | 628 | "accept": [ |
|
625 | 629 | "application/mercurial-0.1" |
|
626 | 630 | ], |
|
627 | "user-agent": [ | |
|
628 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
629 | ], | |
|
630 | 631 | "host": [ |
|
631 | 632 | "phab.mercurial-scm.org" |
|
632 | ], | |
|
633 | "content-length": [ | |
|
634 | "227" | |
|
635 | 633 | ] |
|
636 | } | |
|
634 | }, | |
|
635 | "body": "diff_id=1901&data=%7B%224b2486dfc8c7b238e70f8b022f9e09a0ea220415%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%224b2486dfc8c7b238e70f8b022f9e09a0ea220415%22%2C+%22parents%22%3A+%5B%22d940d39fb603f29ea5df4b7c15f315fe6ff4e346%22%5D%2C+%22time%22%3A+0%7D%7D&name=local%3Acommits&api.token=cli-hahayouwish", | |
|
636 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
637 | "method": "POST" | |
|
637 | 638 | }, |
|
638 | 639 | "response": { |
|
639 | 640 | "status": { |
|
640 | 641 | "code": 200, |
|
641 | 642 | "message": "OK" |
|
642 | 643 | }, |
|
643 | "body": { | |
|
644 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
645 | }, | |
|
646 | 644 | "headers": { |
|
647 | "expires": [ | |
|
648 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
649 | ], | |
|
650 | 645 | "x-xss-protection": [ |
|
651 | 646 | "1; mode=block" |
|
652 | 647 | ], |
|
653 | "transfer-encoding": [ | |
|
654 | "chunked" | |
|
655 | ], | |
|
656 | "date": [ | |
|
657 | "Sun, 03 Mar 2019 00:12:37 GMT" | |
|
658 | ], | |
|
659 | "x-frame-options": [ | |
|
660 | "Deny" | |
|
661 | ], | |
|
662 | 648 | "cache-control": [ |
|
663 | 649 | "no-store" |
|
664 | 650 | ], |
|
665 | 651 | "content-type": [ |
|
666 | 652 | "application/json" |
|
667 | 653 | ], |
|
654 | "date": [ | |
|
655 | "Sun, 05 May 2019 13:31:15 GMT" | |
|
656 | ], | |
|
657 | "connection": [ | |
|
658 | "keep-alive" | |
|
659 | ], | |
|
660 | "strict-transport-security": [ | |
|
661 | "max-age=31536000; includeSubdomains; preload" | |
|
662 | ], | |
|
663 | "vary": [ | |
|
664 | "Accept-Encoding" | |
|
665 | ], | |
|
666 | "x-frame-options": [ | |
|
667 | "Deny" | |
|
668 | ], | |
|
669 | "content-length": [ | |
|
670 | "51" | |
|
671 | ], | |
|
668 | 672 | "x-content-type-options": [ |
|
669 | 673 | "nosniff" |
|
670 | 674 | ], |
|
671 |
" |
|
|
672 | "Apache/2.4.10 (Debian)" | |
|
673 | ], | |
|
674 | "set-cookie": [ | |
|
675 | "phsid=A%2Fgw67yfcsx7vvxkymeac52ca5is4jkxjwqqkhayco; expires=Fri, 01-Mar-2024 00:12:37 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
676 | ], | |
|
677 | "strict-transport-security": [ | |
|
678 | "max-age=0; includeSubdomains; preload" | |
|
675 | "expires": [ | |
|
676 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
679 | 677 | ] |
|
678 | }, | |
|
679 | "body": { | |
|
680 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
680 | 681 | } |
|
681 | 682 | } |
|
682 | 683 | }, |
|
683 | 684 | { |
|
684 | 685 | "request": { |
|
685 | "method": "POST", | |
|
686 | "body": "api.token=cli-hahayouwish&corpus=create+beta+for+phabricator+test", | |
|
687 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
688 | 686 | "headers": { |
|
687 | "user-agent": [ | |
|
688 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
689 | ], | |
|
690 | "content-length": [ | |
|
691 | "82" | |
|
692 | ], | |
|
689 | 693 | "content-type": [ |
|
690 | 694 | "application/x-www-form-urlencoded" |
|
691 | 695 | ], |
|
692 | 696 | "accept": [ |
|
693 | 697 | "application/mercurial-0.1" |
|
694 | 698 | ], |
|
695 | "user-agent": [ | |
|
696 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
697 | ], | |
|
698 | 699 | "host": [ |
|
699 | 700 | "phab.mercurial-scm.org" |
|
700 | ], | |
|
701 | "content-length": [ | |
|
702 | "82" | |
|
703 | 701 | ] |
|
704 | } | |
|
702 | }, | |
|
703 | "body": "api.token=cli-hahayouwish&corpus=create+beta+for+phabricator+test", | |
|
704 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
705 | "method": "POST" | |
|
705 | 706 | }, |
|
706 | 707 | "response": { |
|
707 | 708 | "status": { |
|
708 | 709 | "code": 200, |
|
709 | 710 | "message": "OK" |
|
710 | 711 | }, |
|
711 | "body": { | |
|
712 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create beta for phabricator test\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"}},\"error_code\":null,\"error_info\":null}" | |
|
713 | }, | |
|
714 | 712 | "headers": { |
|
715 | "expires": [ | |
|
716 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
717 | ], | |
|
718 | 713 | "x-xss-protection": [ |
|
719 | 714 | "1; mode=block" |
|
720 | 715 | ], |
|
721 | "transfer-encoding": [ | |
|
722 | "chunked" | |
|
723 | ], | |
|
724 | "date": [ | |
|
725 | "Sun, 03 Mar 2019 00:12:37 GMT" | |
|
726 | ], | |
|
727 | "x-frame-options": [ | |
|
728 | "Deny" | |
|
729 | ], | |
|
730 | 716 | "cache-control": [ |
|
731 | 717 | "no-store" |
|
732 | 718 | ], |
|
733 | 719 | "content-type": [ |
|
734 | 720 | "application/json" |
|
735 | 721 | ], |
|
722 | "date": [ | |
|
723 | "Sun, 05 May 2019 13:31:15 GMT" | |
|
724 | ], | |
|
725 | "connection": [ | |
|
726 | "keep-alive" | |
|
727 | ], | |
|
728 | "strict-transport-security": [ | |
|
729 | "max-age=31536000; includeSubdomains; preload" | |
|
730 | ], | |
|
731 | "vary": [ | |
|
732 | "Accept-Encoding" | |
|
733 | ], | |
|
734 | "x-frame-options": [ | |
|
735 | "Deny" | |
|
736 | ], | |
|
737 | "content-length": [ | |
|
738 | "282" | |
|
739 | ], | |
|
736 | 740 | "x-content-type-options": [ |
|
737 | 741 | "nosniff" |
|
738 | 742 | ], |
|
739 |
" |
|
|
740 | "Apache/2.4.10 (Debian)" | |
|
741 | ], | |
|
742 | "set-cookie": [ | |
|
743 | "phsid=A%2Fyt5ejs6pgvjdxzms7geaxup63jpqkisngu3cprk6; expires=Fri, 01-Mar-2024 00:12:37 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
744 | ], | |
|
745 | "strict-transport-security": [ | |
|
746 | "max-age=0; includeSubdomains; preload" | |
|
743 | "expires": [ | |
|
744 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
747 | 745 | ] |
|
746 | }, | |
|
747 | "body": { | |
|
748 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create beta for phabricator test\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"create beta for phabricator test\"}]},\"error_code\":null,\"error_info\":null}" | |
|
748 | 749 | } |
|
749 | 750 | } |
|
750 | 751 | }, |
|
751 | 752 | { |
|
752 | 753 | "request": { |
|
753 | "method": "POST", | |
|
754 | "body": "transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-pofynzhmmqm2czm33teg&transactions%5B1%5D%5Btype%5D=summary&transactions%5B1%5D%5Bvalue%5D=Depends+on+D6054&transactions%5B2%5D%5Btype%5D=summary&transactions%5B2%5D%5Bvalue%5D=+&transactions%5B3%5D%5Btype%5D=title&transactions%5B3%5D%5Bvalue%5D=create+beta+for+phabricator+test&api.token=cli-hahayouwish", | |
|
755 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
756 | 754 | "headers": { |
|
755 | "user-agent": [ | |
|
756 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
757 | ], | |
|
758 | "content-length": [ | |
|
759 | "398" | |
|
760 | ], | |
|
757 | 761 | "content-type": [ |
|
758 | 762 | "application/x-www-form-urlencoded" |
|
759 | 763 | ], |
|
760 | 764 | "accept": [ |
|
761 | 765 | "application/mercurial-0.1" |
|
762 | 766 | ], |
|
763 | "user-agent": [ | |
|
764 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
765 | ], | |
|
766 | 767 | "host": [ |
|
767 | 768 | "phab.mercurial-scm.org" |
|
768 | ], | |
|
769 | "content-length": [ | |
|
770 | "398" | |
|
771 | 769 | ] |
|
772 | } | |
|
770 | }, | |
|
771 | "body": "api.token=cli-hahayouwish&transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-uhbyhoejzbniwwzj2q5c&transactions%5B1%5D%5Btype%5D=summary&transactions%5B1%5D%5Bvalue%5D=Depends+on+D1190&transactions%5B2%5D%5Btype%5D=summary&transactions%5B2%5D%5Bvalue%5D=+&transactions%5B3%5D%5Btype%5D=title&transactions%5B3%5D%5Bvalue%5D=create+beta+for+phabricator+test", | |
|
772 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
773 | "method": "POST" | |
|
773 | 774 | }, |
|
774 | 775 | "response": { |
|
775 | 776 | "status": { |
|
776 | 777 | "code": 200, |
|
777 | 778 | "message": "OK" |
|
778 | 779 | }, |
|
779 | "body": { | |
|
780 | "string": "{\"result\":{\"object\":{\"id\":6055,\"phid\":\"PHID-DREV-k2hin2iytzuvu3j5icm3\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-3xjvwemev7dqsj3\"},{\"phid\":\"PHID-XACT-DREV-giypqlavgemr56i\"},{\"phid\":\"PHID-XACT-DREV-tcfqd4aj6rxtxzz\"},{\"phid\":\"PHID-XACT-DREV-2timgnudaxeln7a\"},{\"phid\":\"PHID-XACT-DREV-vb6564lrsxpsw4l\"},{\"phid\":\"PHID-XACT-DREV-maym4xi2tdhysvo\"},{\"phid\":\"PHID-XACT-DREV-bna5heyckxkk5ke\"},{\"phid\":\"PHID-XACT-DREV-b2eig3stbdic7k7\"}]},\"error_code\":null,\"error_info\":null}" | |
|
781 | }, | |
|
782 | 780 | "headers": { |
|
783 | "expires": [ | |
|
784 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
785 | ], | |
|
786 | 781 | "x-xss-protection": [ |
|
787 | 782 | "1; mode=block" |
|
788 | 783 | ], |
|
789 | "transfer-encoding": [ | |
|
790 | "chunked" | |
|
791 | ], | |
|
792 | "date": [ | |
|
793 | "Sun, 03 Mar 2019 00:12:38 GMT" | |
|
794 | ], | |
|
795 | "x-frame-options": [ | |
|
796 | "Deny" | |
|
797 | ], | |
|
798 | 784 | "cache-control": [ |
|
799 | 785 | "no-store" |
|
800 | 786 | ], |
|
801 | 787 | "content-type": [ |
|
802 | 788 | "application/json" |
|
803 | 789 | ], |
|
790 | "date": [ | |
|
791 | "Sun, 05 May 2019 13:31:17 GMT" | |
|
792 | ], | |
|
793 | "connection": [ | |
|
794 | "keep-alive" | |
|
795 | ], | |
|
796 | "strict-transport-security": [ | |
|
797 | "max-age=31536000; includeSubdomains; preload" | |
|
798 | ], | |
|
799 | "vary": [ | |
|
800 | "Accept-Encoding" | |
|
801 | ], | |
|
802 | "x-frame-options": [ | |
|
803 | "Deny" | |
|
804 | ], | |
|
805 | "content-length": [ | |
|
806 | "420" | |
|
807 | ], | |
|
804 | 808 | "x-content-type-options": [ |
|
805 | 809 | "nosniff" |
|
806 | 810 | ], |
|
807 |
" |
|
|
808 | "Apache/2.4.10 (Debian)" | |
|
809 | ], | |
|
810 | "set-cookie": [ | |
|
811 | "phsid=A%2Fgqyrj3op7rar26t6crqlt6rpdsxcefnrofqkw5rt; expires=Fri, 01-Mar-2024 00:12:38 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
812 | ], | |
|
813 | "strict-transport-security": [ | |
|
814 | "max-age=0; includeSubdomains; preload" | |
|
811 | "expires": [ | |
|
812 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
815 | 813 | ] |
|
814 | }, | |
|
815 | "body": { | |
|
816 | "string": "{\"result\":{\"object\":{\"id\":1191,\"phid\":\"PHID-DREV-uuyrww2k3weorn2jwcaz\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-erc62kc5d5t53dw\"},{\"phid\":\"PHID-XACT-DREV-56jxoj2nev5we3e\"},{\"phid\":\"PHID-XACT-DREV-cajnfsuigdcmfpn\"},{\"phid\":\"PHID-XACT-DREV-expntfzlv44va6h\"},{\"phid\":\"PHID-XACT-DREV-hzrgd55fpfjcan7\"},{\"phid\":\"PHID-XACT-DREV-v4baqr7c5ydtltr\"},{\"phid\":\"PHID-XACT-DREV-ge6dwwrvrkluq2q\"}]},\"error_code\":null,\"error_info\":null}" | |
|
816 | 817 | } |
|
817 | 818 | } |
|
818 | 819 | }, |
|
819 | 820 | { |
|
820 | 821 | "request": { |
|
821 | "method": "POST", | |
|
822 | "body": "api.token=cli-hahayouwish&ids%5B0%5D=6054&ids%5B1%5D=6055", | |
|
823 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
|
824 | 822 | "headers": { |
|
823 | "user-agent": [ | |
|
824 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
825 | ], | |
|
826 | "content-length": [ | |
|
827 | "74" | |
|
828 | ], | |
|
825 | 829 | "content-type": [ |
|
826 | 830 | "application/x-www-form-urlencoded" |
|
827 | 831 | ], |
|
828 | 832 | "accept": [ |
|
829 | 833 | "application/mercurial-0.1" |
|
830 | 834 | ], |
|
831 | "user-agent": [ | |
|
832 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
833 | ], | |
|
834 | 835 | "host": [ |
|
835 | 836 | "phab.mercurial-scm.org" |
|
836 | ], | |
|
837 | "content-length": [ | |
|
838 | "74" | |
|
839 | 837 | ] |
|
840 | } | |
|
838 | }, | |
|
839 | "body": "ids%5B0%5D=1190&ids%5B1%5D=1191&api.token=cli-hahayouwish", | |
|
840 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
|
841 | "method": "POST" | |
|
841 | 842 | }, |
|
842 | 843 | "response": { |
|
843 | 844 | "status": { |
|
844 | 845 | "code": 200, |
|
845 | 846 | "message": "OK" |
|
846 | 847 | }, |
|
847 | "body": { | |
|
848 | "string": "{\"result\":[{\"id\":\"6055\",\"phid\":\"PHID-DREV-k2hin2iytzuvu3j5icm3\",\"title\":\"create beta for phabricator test\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D6055\",\"dateCreated\":\"1551571958\",\"dateModified\":\"1551571958\",\"authorPHID\":\"PHID-USER-5iy6mkoveguhm2zthvww\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":[],\"branch\":null,\"summary\":\" \",\"testPlan\":\"\",\"lineCount\":\"1\",\"activeDiffPHID\":\"PHID-DIFF-pofynzhmmqm2czm33teg\",\"diffs\":[\"14305\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-q42dn7cc3donqriafhjx\"],\"hashes\":[],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[\"PHID-DREV-6pczsbtdpqjc2nskmxwy\"]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null},{\"id\":\"6054\",\"phid\":\"PHID-DREV-6pczsbtdpqjc2nskmxwy\",\"title\":\"create alpha for phabricator test \\u20ac\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D6054\",\"dateCreated\":\"1551571947\",\"dateModified\":\"1551571958\",\"authorPHID\":\"PHID-USER-5iy6mkoveguhm2zthvww\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":[],\"branch\":null,\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-3wv2fwmzp27uamb66xxg\",\"diffs\":[\"14304\",\"14303\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-q42dn7cc3donqriafhjx\"],\"hashes\":[],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null}],\"error_code\":null,\"error_info\":null}" | |
|
849 | }, | |
|
850 | 848 | "headers": { |
|
851 | "expires": [ | |
|
852 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
853 | ], | |
|
854 | 849 | "x-xss-protection": [ |
|
855 | 850 | "1; mode=block" |
|
856 | 851 | ], |
|
857 | "transfer-encoding": [ | |
|
858 | "chunked" | |
|
859 | ], | |
|
860 | "date": [ | |
|
861 | "Sun, 03 Mar 2019 00:12:39 GMT" | |
|
862 | ], | |
|
863 | "x-frame-options": [ | |
|
864 | "Deny" | |
|
865 | ], | |
|
866 | 852 | "cache-control": [ |
|
867 | 853 | "no-store" |
|
868 | 854 | ], |
|
869 | 855 | "content-type": [ |
|
870 | 856 | "application/json" |
|
871 | 857 | ], |
|
858 | "date": [ | |
|
859 | "Sun, 05 May 2019 13:31:17 GMT" | |
|
860 | ], | |
|
861 | "connection": [ | |
|
862 | "keep-alive" | |
|
863 | ], | |
|
864 | "strict-transport-security": [ | |
|
865 | "max-age=31536000; includeSubdomains; preload" | |
|
866 | ], | |
|
867 | "vary": [ | |
|
868 | "Accept-Encoding" | |
|
869 | ], | |
|
870 | "x-frame-options": [ | |
|
871 | "Deny" | |
|
872 | ], | |
|
873 | "content-length": [ | |
|
874 | "1514" | |
|
875 | ], | |
|
872 | 876 | "x-content-type-options": [ |
|
873 | 877 | "nosniff" |
|
874 | 878 | ], |
|
875 |
" |
|
|
876 | "Apache/2.4.10 (Debian)" | |
|
877 | ], | |
|
878 | "set-cookie": [ | |
|
879 | "phsid=A%2F5wxg6sdf2mby5iljd5e5qpgoex6uefo5pgltav7k; expires=Fri, 01-Mar-2024 00:12:39 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
880 | ], | |
|
881 | "strict-transport-security": [ | |
|
882 | "max-age=0; includeSubdomains; preload" | |
|
879 | "expires": [ | |
|
880 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
883 | 881 | ] |
|
882 | }, | |
|
883 | "body": { | |
|
884 | "string": "{\"result\":[{\"id\":\"1191\",\"phid\":\"PHID-DREV-uuyrww2k3weorn2jwcaz\",\"title\":\"create beta for phabricator test\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D1191\",\"dateCreated\":\"1557063076\",\"dateModified\":\"1557063077\",\"authorPHID\":\"PHID-USER-qmzis76vb2yh3ogldu6r\",\"status\":\"0\",\"statusName\":\"Draft\",\"properties\":{\"draft.broadcast\":false,\"lines.added\":1,\"lines.removed\":0},\"branch\":null,\"summary\":\" \",\"testPlan\":\"\",\"lineCount\":\"1\",\"activeDiffPHID\":\"PHID-DIFF-uhbyhoejzbniwwzj2q5c\",\"diffs\":[\"1901\"],\"commits\":[],\"reviewers\":[],\"ccs\":[],\"hashes\":[],\"auxiliary\":{\"bugzilla.bug-id\":null,\"phabricator:projects\":[\"PHID-PROJ-f2a3wl5wxtqdtfgdjqzk\"],\"phabricator:depends-on\":[\"PHID-DREV-kikesmfxhzpfaxbzgj3l\"]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null},{\"id\":\"1190\",\"phid\":\"PHID-DREV-kikesmfxhzpfaxbzgj3l\",\"title\":\"create alpha for phabricator test \\u20ac\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D1190\",\"dateCreated\":\"1557063064\",\"dateModified\":\"1557063076\",\"authorPHID\":\"PHID-USER-qmzis76vb2yh3ogldu6r\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":2,\"lines.removed\":0},\"branch\":null,\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-gra4b3ivsgebktbeoxxx\",\"diffs\":[\"1900\",\"1899\"],\"commits\":[],\"reviewers\":[],\"ccs\":[],\"hashes\":[],\"auxiliary\":{\"bugzilla.bug-id\":null,\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null}],\"error_code\":null,\"error_info\":null}" | |
|
884 | 885 | } |
|
885 | 886 | } |
|
886 | 887 | }, |
|
887 | 888 | { |
|
888 | 889 | "request": { |
|
889 | "method": "POST", | |
|
890 | "body": "diff_id=14305&data=%7B%22user%22%3A+%22test%22%2C+%22parent%22%3A+%22939d862f03181a366fea64a540baf0bb33f85d92%22%2C+%22node%22%3A+%229c64e1fc33e1b9a70eb60643fe96a4d5badad9dc%22%2C+%22date%22%3A+%220+0%22%7D&api.token=cli-hahayouwish&name=hg%3Ameta", | |
|
891 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
892 | 890 | "headers": { |
|
891 | "user-agent": [ | |
|
892 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
893 | ], | |
|
894 | "content-length": [ | |
|
895 | "296" | |
|
896 | ], | |
|
893 | 897 | "content-type": [ |
|
894 | 898 | "application/x-www-form-urlencoded" |
|
895 | 899 | ], |
|
896 | 900 | "accept": [ |
|
897 | 901 | "application/mercurial-0.1" |
|
898 | 902 | ], |
|
899 | "user-agent": [ | |
|
900 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
901 | ], | |
|
902 | 903 | "host": [ |
|
903 | 904 | "phab.mercurial-scm.org" |
|
904 | ], | |
|
905 | "content-length": [ | |
|
906 | "264" | |
|
907 | 905 | ] |
|
908 | } | |
|
906 | }, | |
|
907 | "body": "diff_id=1901&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%222837deb84f4ab1315c1197b8aef10c620465e352%22%2C+%22parent%22%3A+%22d940d39fb603f29ea5df4b7c15f315fe6ff4e346%22%2C+%22user%22%3A+%22test%22%7D&name=hg%3Ameta&api.token=cli-hahayouwish", | |
|
908 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
909 | "method": "POST" | |
|
909 | 910 | }, |
|
910 | 911 | "response": { |
|
911 | 912 | "status": { |
|
912 | 913 | "code": 200, |
|
913 | 914 | "message": "OK" |
|
914 | 915 | }, |
|
915 | "body": { | |
|
916 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
917 | }, | |
|
918 | 916 | "headers": { |
|
919 | "expires": [ | |
|
920 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
921 | ], | |
|
922 | 917 | "x-xss-protection": [ |
|
923 | 918 | "1; mode=block" |
|
924 | 919 | ], |
|
925 | "transfer-encoding": [ | |
|
926 | "chunked" | |
|
927 | ], | |
|
928 | "date": [ | |
|
929 | "Sun, 03 Mar 2019 00:12:40 GMT" | |
|
930 | ], | |
|
931 | "x-frame-options": [ | |
|
932 | "Deny" | |
|
933 | ], | |
|
934 | 920 | "cache-control": [ |
|
935 | 921 | "no-store" |
|
936 | 922 | ], |
|
937 | 923 | "content-type": [ |
|
938 | 924 | "application/json" |
|
939 | 925 | ], |
|
926 | "date": [ | |
|
927 | "Sun, 05 May 2019 13:31:18 GMT" | |
|
928 | ], | |
|
929 | "connection": [ | |
|
930 | "keep-alive" | |
|
931 | ], | |
|
932 | "strict-transport-security": [ | |
|
933 | "max-age=31536000; includeSubdomains; preload" | |
|
934 | ], | |
|
935 | "vary": [ | |
|
936 | "Accept-Encoding" | |
|
937 | ], | |
|
938 | "x-frame-options": [ | |
|
939 | "Deny" | |
|
940 | ], | |
|
941 | "content-length": [ | |
|
942 | "51" | |
|
943 | ], | |
|
940 | 944 | "x-content-type-options": [ |
|
941 | 945 | "nosniff" |
|
942 | 946 | ], |
|
943 |
" |
|
|
944 | "Apache/2.4.10 (Debian)" | |
|
945 | ], | |
|
946 | "set-cookie": [ | |
|
947 | "phsid=A%2F4c7iamnsn57y6qpccmbesf4ooflmkqvt4m6udawl; expires=Fri, 01-Mar-2024 00:12:40 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
948 | ], | |
|
949 | "strict-transport-security": [ | |
|
950 | "max-age=0; includeSubdomains; preload" | |
|
947 | "expires": [ | |
|
948 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
951 | 949 | ] |
|
950 | }, | |
|
951 | "body": { | |
|
952 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
952 | 953 | } |
|
953 | 954 | } |
|
954 | 955 | }, |
|
955 | 956 | { |
|
956 | 957 | "request": { |
|
957 | "method": "POST", | |
|
958 | "body": "diff_id=14305&data=%7B%229c64e1fc33e1b9a70eb60643fe96a4d5badad9dc%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22time%22%3A+0.0%7D%7D&api.token=cli-hahayouwish&name=local%3Acommits", | |
|
959 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
960 | 958 | "headers": { |
|
959 | "user-agent": [ | |
|
960 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |
|
961 | ], | |
|
962 | "content-length": [ | |
|
963 | "257" | |
|
964 | ], | |
|
961 | 965 | "content-type": [ |
|
962 | 966 | "application/x-www-form-urlencoded" |
|
963 | 967 | ], |
|
964 | 968 | "accept": [ |
|
965 | 969 | "application/mercurial-0.1" |
|
966 | 970 | ], |
|
967 | "user-agent": [ | |
|
968 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" | |
|
969 | ], | |
|
970 | 971 | "host": [ |
|
971 | 972 | "phab.mercurial-scm.org" |
|
972 | ], | |
|
973 | "content-length": [ | |
|
974 | "227" | |
|
975 | 973 | ] |
|
976 | } | |
|
974 | }, | |
|
975 | "body": "diff_id=1901&data=%7B%222837deb84f4ab1315c1197b8aef10c620465e352%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%222837deb84f4ab1315c1197b8aef10c620465e352%22%2C+%22parents%22%3A+%5B%22d940d39fb603f29ea5df4b7c15f315fe6ff4e346%22%5D%2C+%22time%22%3A+0%7D%7D&name=local%3Acommits&api.token=cli-hahayouwish", | |
|
976 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
977 | "method": "POST" | |
|
977 | 978 | }, |
|
978 | 979 | "response": { |
|
979 | 980 | "status": { |
|
980 | 981 | "code": 200, |
|
981 | 982 | "message": "OK" |
|
982 | 983 | }, |
|
983 | "body": { | |
|
984 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
985 | }, | |
|
986 | 984 | "headers": { |
|
987 | "expires": [ | |
|
988 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
989 | ], | |
|
990 | 985 | "x-xss-protection": [ |
|
991 | 986 | "1; mode=block" |
|
992 | 987 | ], |
|
993 | "transfer-encoding": [ | |
|
994 | "chunked" | |
|
995 | ], | |
|
996 | "date": [ | |
|
997 | "Sun, 03 Mar 2019 00:12:40 GMT" | |
|
998 | ], | |
|
999 | "x-frame-options": [ | |
|
1000 | "Deny" | |
|
1001 | ], | |
|
1002 | 988 | "cache-control": [ |
|
1003 | 989 | "no-store" |
|
1004 | 990 | ], |
|
1005 | 991 | "content-type": [ |
|
1006 | 992 | "application/json" |
|
1007 | 993 | ], |
|
994 | "date": [ | |
|
995 | "Sun, 05 May 2019 13:31:19 GMT" | |
|
996 | ], | |
|
997 | "connection": [ | |
|
998 | "keep-alive" | |
|
999 | ], | |
|
1000 | "strict-transport-security": [ | |
|
1001 | "max-age=31536000; includeSubdomains; preload" | |
|
1002 | ], | |
|
1003 | "vary": [ | |
|
1004 | "Accept-Encoding" | |
|
1005 | ], | |
|
1006 | "x-frame-options": [ | |
|
1007 | "Deny" | |
|
1008 | ], | |
|
1009 | "content-length": [ | |
|
1010 | "51" | |
|
1011 | ], | |
|
1008 | 1012 | "x-content-type-options": [ |
|
1009 | 1013 | "nosniff" |
|
1010 | 1014 | ], |
|
1011 |
" |
|
|
1012 | "Apache/2.4.10 (Debian)" | |
|
1013 | ], | |
|
1014 | "set-cookie": [ | |
|
1015 | "phsid=A%2Ftdudqohojcq4hyc7gl4kthzkhuq3nmcxgnunpbjm; expires=Fri, 01-Mar-2024 00:12:40 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly" | |
|
1016 | ], | |
|
1017 | "strict-transport-security": [ | |
|
1018 | "max-age=0; includeSubdomains; preload" | |
|
1015 | "expires": [ | |
|
1016 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
|
1019 | 1017 | ] |
|
1018 | }, | |
|
1019 | "body": { | |
|
1020 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
1020 | 1021 | } |
|
1021 | 1022 | } |
|
1022 | 1023 | } |
|
1023 |
] |
|
|
1024 | "version": 1 | |
|
1024 | ] | |
|
1025 | 1025 | } |
@@ -53,18 +53,18 Create a differential diff: | |||
|
53 | 53 | $ hg ci --addremove -m 'create alpha for phabricator test €' |
|
54 | 54 | adding alpha |
|
55 | 55 | $ hg phabsend -r . --test-vcr "$VCR/phabsend-create-alpha.json" |
|
56 |
D |
|
|
56 | D1190 - created - d386117f30e6: create alpha for phabricator test \xe2\x82\xac (esc) | |
|
57 | 57 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d386117f30e6-24ffe649-phabsend.hg |
|
58 | 58 | $ echo more >> alpha |
|
59 | 59 | $ HGEDITOR=true hg ci --amend |
|
60 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ |
|
|
60 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/a86ed7d85e86-b7a54f3b-amend.hg | |
|
61 | 61 | $ echo beta > beta |
|
62 | 62 | $ hg ci --addremove -m 'create beta for phabricator test' |
|
63 | 63 | adding beta |
|
64 | 64 | $ hg phabsend -r ".^::" --test-vcr "$VCR/phabsend-update-alpha-create-beta.json" |
|
65 |
D |
|
|
66 |
D |
|
|
67 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ |
|
|
65 | D1190 - updated - d940d39fb603: create alpha for phabricator test \xe2\x82\xac (esc) | |
|
66 | D1191 - created - 4b2486dfc8c7: create beta for phabricator test | |
|
67 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/4b2486dfc8c7-d90584fa-phabsend.hg | |
|
68 | 68 | $ unset HGENCODING |
|
69 | 69 | |
|
70 | 70 | The amend won't explode after posting a public commit. The local tag is left |
@@ -76,13 +76,13 behind to identify it. | |||
|
76 | 76 | $ echo 'draft change' > alpha |
|
77 | 77 | $ hg ci -m 'create draft change for phabricator testing' |
|
78 | 78 | $ hg phabsend --amend -r '.^::' --test-vcr "$VCR/phabsend-create-public.json" |
|
79 |
D |
|
|
80 |
D |
|
|
81 |
warning: not updating public commit 2: |
|
|
82 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ |
|
|
79 | D1192 - created - 24ffd6bca53a: create public change for phabricator testing | |
|
80 | D1193 - created - ac331633be79: create draft change for phabricator testing | |
|
81 | warning: not updating public commit 2:24ffd6bca53a | |
|
82 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ac331633be79-719b961c-phabsend.hg | |
|
83 | 83 | $ hg tags -v |
|
84 |
tip 3: |
|
|
85 |
D |
|
|
84 | tip 3:a19f1434f9a5 | |
|
85 | D1192 2:24ffd6bca53a local | |
|
86 | 86 | |
|
87 | 87 | $ hg debugcallconduit user.search --test-vcr "$VCR/phab-conduit.json" <<EOF |
|
88 | 88 | > { |
@@ -107,15 +107,15 behind to identify it. | |||
|
107 | 107 | |
|
108 | 108 | Template keywords |
|
109 | 109 | $ hg log -T'{rev} {phabreview|json}\n' |
|
110 |
3 {"id": "D |
|
|
111 |
2 {"id": "D |
|
|
112 |
1 {"id": "D |
|
|
113 |
0 {"id": "D |
|
|
110 | 3 {"id": "D1193", "url": "https://phab.mercurial-scm.org/D1193"} | |
|
111 | 2 {"id": "D1192", "url": "https://phab.mercurial-scm.org/D1192"} | |
|
112 | 1 {"id": "D1191", "url": "https://phab.mercurial-scm.org/D1191"} | |
|
113 | 0 {"id": "D1190", "url": "https://phab.mercurial-scm.org/D1190"} | |
|
114 | 114 | |
|
115 | 115 | $ hg log -T'{rev} {if(phabreview, "{phabreview.url} {phabreview.id}")}\n' |
|
116 |
3 https://phab.mercurial-scm.org/D |
|
|
117 |
2 https://phab.mercurial-scm.org/D |
|
|
118 |
1 https://phab.mercurial-scm.org/D |
|
|
119 |
0 https://phab.mercurial-scm.org/D |
|
|
116 | 3 https://phab.mercurial-scm.org/D1193 D1193 | |
|
117 | 2 https://phab.mercurial-scm.org/D1192 D1192 | |
|
118 | 1 https://phab.mercurial-scm.org/D1191 D1191 | |
|
119 | 0 https://phab.mercurial-scm.org/D1190 D1190 | |
|
120 | 120 | |
|
121 | 121 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now