Show More
This diff has been collapsed as it changes many lines, (1096 lines changed) Show them Hide them | |||||
@@ -0,0 +1,1096 b'' | |||||
|
1 | { | |||
|
2 | "version": 1, | |||
|
3 | "interactions": [ | |||
|
4 | { | |||
|
5 | "response": { | |||
|
6 | "body": { | |||
|
7 | "string": "{\"result\":{\"data\":[{\"id\":2,\"type\":\"REPO\",\"phid\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"fields\":{\"name\":\"Mercurial\",\"vcs\":\"hg\",\"callsign\":\"HG\",\"shortName\":null,\"status\":\"active\",\"isImporting\":false,\"almanacServicePHID\":null,\"refRules\":{\"fetchRules\":[],\"trackRules\":[],\"permanentRefRules\":[]},\"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}" | |||
|
8 | }, | |||
|
9 | "headers": { | |||
|
10 | "referrer-policy": [ | |||
|
11 | "no-referrer" | |||
|
12 | ], | |||
|
13 | "x-xss-protection": [ | |||
|
14 | "1; mode=block" | |||
|
15 | ], | |||
|
16 | "server": [ | |||
|
17 | "Apache/2.4.10 (Debian)" | |||
|
18 | ], | |||
|
19 | "cache-control": [ | |||
|
20 | "no-store" | |||
|
21 | ], | |||
|
22 | "date": [ | |||
|
23 | "Mon, 24 Aug 2020 22:18:15 GMT" | |||
|
24 | ], | |||
|
25 | "transfer-encoding": [ | |||
|
26 | "chunked" | |||
|
27 | ], | |||
|
28 | "expires": [ | |||
|
29 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
30 | ], | |||
|
31 | "x-frame-options": [ | |||
|
32 | "Deny" | |||
|
33 | ], | |||
|
34 | "content-type": [ | |||
|
35 | "application/json" | |||
|
36 | ], | |||
|
37 | "x-content-type-options": [ | |||
|
38 | "nosniff" | |||
|
39 | ], | |||
|
40 | "strict-transport-security": [ | |||
|
41 | "max-age=0; includeSubdomains; preload" | |||
|
42 | ] | |||
|
43 | }, | |||
|
44 | "status": { | |||
|
45 | "message": "OK", | |||
|
46 | "code": 200 | |||
|
47 | } | |||
|
48 | }, | |||
|
49 | "request": { | |||
|
50 | "headers": { | |||
|
51 | "content-length": [ | |||
|
52 | "183" | |||
|
53 | ], | |||
|
54 | "accept": [ | |||
|
55 | "application/mercurial-0.1" | |||
|
56 | ], | |||
|
57 | "host": [ | |||
|
58 | "phab.mercurial-scm.org" | |||
|
59 | ], | |||
|
60 | "user-agent": [ | |||
|
61 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
62 | ], | |||
|
63 | "content-type": [ | |||
|
64 | "application/x-www-form-urlencoded" | |||
|
65 | ] | |||
|
66 | }, | |||
|
67 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22constraints%22%3A+%7B%22callsigns%22%3A+%5B%22HG%22%5D%7D%7D&output=json&__conduit__=1", | |||
|
68 | "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |||
|
69 | "method": "POST" | |||
|
70 | } | |||
|
71 | }, | |||
|
72 | { | |||
|
73 | "response": { | |||
|
74 | "body": { | |||
|
75 | "string": "{\"result\":{\"diffid\":22437,\"phid\":\"PHID-DIFF-q7y7rru5hbxnq2mtosrf\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/22437\\/\"},\"error_code\":null,\"error_info\":null}" | |||
|
76 | }, | |||
|
77 | "headers": { | |||
|
78 | "referrer-policy": [ | |||
|
79 | "no-referrer" | |||
|
80 | ], | |||
|
81 | "x-xss-protection": [ | |||
|
82 | "1; mode=block" | |||
|
83 | ], | |||
|
84 | "server": [ | |||
|
85 | "Apache/2.4.10 (Debian)" | |||
|
86 | ], | |||
|
87 | "cache-control": [ | |||
|
88 | "no-store" | |||
|
89 | ], | |||
|
90 | "date": [ | |||
|
91 | "Mon, 24 Aug 2020 22:18:15 GMT" | |||
|
92 | ], | |||
|
93 | "transfer-encoding": [ | |||
|
94 | "chunked" | |||
|
95 | ], | |||
|
96 | "expires": [ | |||
|
97 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
98 | ], | |||
|
99 | "x-frame-options": [ | |||
|
100 | "Deny" | |||
|
101 | ], | |||
|
102 | "content-type": [ | |||
|
103 | "application/json" | |||
|
104 | ], | |||
|
105 | "x-content-type-options": [ | |||
|
106 | "nosniff" | |||
|
107 | ], | |||
|
108 | "strict-transport-security": [ | |||
|
109 | "max-age=0; includeSubdomains; preload" | |||
|
110 | ] | |||
|
111 | }, | |||
|
112 | "status": { | |||
|
113 | "message": "OK", | |||
|
114 | "code": 200 | |||
|
115 | } | |||
|
116 | }, | |||
|
117 | "request": { | |||
|
118 | "headers": { | |||
|
119 | "content-length": [ | |||
|
120 | "1162" | |||
|
121 | ], | |||
|
122 | "accept": [ | |||
|
123 | "application/mercurial-0.1" | |||
|
124 | ], | |||
|
125 | "host": [ | |||
|
126 | "phab.mercurial-scm.org" | |||
|
127 | ], | |||
|
128 | "user-agent": [ | |||
|
129 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
130 | ], | |||
|
131 | "content-type": [ | |||
|
132 | "application/x-www-form-urlencoded" | |||
|
133 | ] | |||
|
134 | }, | |||
|
135 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22bookmark%22%3A+null%2C+%22branch%22%3A+%22default%22%2C+%22changes%22%3A+%7B%22file.txt%22%3A+%7B%22addLines%22%3A+1%2C+%22awayPaths%22%3A+%5B%5D%2C+%22commitHash%22%3A+null%2C+%22currentPath%22%3A+%22file.txt%22%2C+%22delLines%22%3A+1%2C+%22fileType%22%3A+1%2C+%22hunks%22%3A+%5B%7B%22addLines%22%3A+1%2C+%22corpus%22%3A+%22-mod3%5Cn%2Bcontent%5Cn%22%2C+%22delLines%22%3A+1%2C+%22newLength%22%3A+1%2C+%22newOffset%22%3A+1%2C+%22oldLength%22%3A+1%2C+%22oldOffset%22%3A+1%7D%5D%2C+%22metadata%22%3A+%7B%7D%2C+%22newProperties%22%3A+%7B%7D%2C+%22oldPath%22%3A+%22file.txt%22%2C+%22oldProperties%22%3A+%7B%7D%2C+%22type%22%3A+2%7D%7D%2C+%22creationMethod%22%3A+%22phabsend%22%2C+%22lintStatus%22%3A+%22none%22%2C+%22repositoryPHID%22%3A+%22PHID-REPO-bvunnehri4u2isyr7bc3%22%2C+%22sourceControlBaseRevision%22%3A+%22e919cdf3d4fe9a926427b1961601eeaf4b4e2caf%22%2C+%22sourceControlPath%22%3A+%22%2F%22%2C+%22sourceControlSystem%22%3A+%22hg%22%2C+%22sourceMachine%22%3A+%22%22%2C+%22sourcePath%22%3A+%22%2F%22%2C+%22unitStatus%22%3A+%22none%22%7D&output=json&__conduit__=1", | |||
|
136 | "uri": "https://phab.mercurial-scm.org//api/differential.creatediff", | |||
|
137 | "method": "POST" | |||
|
138 | } | |||
|
139 | }, | |||
|
140 | { | |||
|
141 | "response": { | |||
|
142 | "body": { | |||
|
143 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
|
144 | }, | |||
|
145 | "headers": { | |||
|
146 | "referrer-policy": [ | |||
|
147 | "no-referrer" | |||
|
148 | ], | |||
|
149 | "x-xss-protection": [ | |||
|
150 | "1; mode=block" | |||
|
151 | ], | |||
|
152 | "server": [ | |||
|
153 | "Apache/2.4.10 (Debian)" | |||
|
154 | ], | |||
|
155 | "cache-control": [ | |||
|
156 | "no-store" | |||
|
157 | ], | |||
|
158 | "date": [ | |||
|
159 | "Mon, 24 Aug 2020 22:18:16 GMT" | |||
|
160 | ], | |||
|
161 | "transfer-encoding": [ | |||
|
162 | "chunked" | |||
|
163 | ], | |||
|
164 | "expires": [ | |||
|
165 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
166 | ], | |||
|
167 | "connection": [ | |||
|
168 | "close" | |||
|
169 | ], | |||
|
170 | "content-type": [ | |||
|
171 | "application/json" | |||
|
172 | ], | |||
|
173 | "x-content-type-options": [ | |||
|
174 | "nosniff" | |||
|
175 | ], | |||
|
176 | "x-frame-options": [ | |||
|
177 | "Deny" | |||
|
178 | ], | |||
|
179 | "strict-transport-security": [ | |||
|
180 | "max-age=0; includeSubdomains; preload" | |||
|
181 | ] | |||
|
182 | }, | |||
|
183 | "status": { | |||
|
184 | "message": "OK", | |||
|
185 | "code": 200 | |||
|
186 | } | |||
|
187 | }, | |||
|
188 | "request": { | |||
|
189 | "headers": { | |||
|
190 | "content-length": [ | |||
|
191 | "482" | |||
|
192 | ], | |||
|
193 | "accept": [ | |||
|
194 | "application/mercurial-0.1" | |||
|
195 | ], | |||
|
196 | "host": [ | |||
|
197 | "phab.mercurial-scm.org" | |||
|
198 | ], | |||
|
199 | "user-agent": [ | |||
|
200 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
201 | ], | |||
|
202 | "content-type": [ | |||
|
203 | "application/x-www-form-urlencoded" | |||
|
204 | ] | |||
|
205 | }, | |||
|
206 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22date%5C%22%3A+%5C%220+0%5C%22%2C+%5C%22node%5C%22%3A+%5C%22133c1c6c64494d545ad3c8bc4c2e42af215760c1%5C%22%2C+%5C%22parent%5C%22%3A+%5C%22e919cdf3d4fe9a926427b1961601eeaf4b4e2caf%5C%22%2C+%5C%22user%5C%22%3A+%5C%22test%5C%22%7D%22%2C+%22diff_id%22%3A+22437%2C+%22name%22%3A+%22hg%3Ameta%22%7D&output=json&__conduit__=1", | |||
|
207 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |||
|
208 | "method": "POST" | |||
|
209 | } | |||
|
210 | }, | |||
|
211 | { | |||
|
212 | "response": { | |||
|
213 | "body": { | |||
|
214 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
|
215 | }, | |||
|
216 | "headers": { | |||
|
217 | "referrer-policy": [ | |||
|
218 | "no-referrer" | |||
|
219 | ], | |||
|
220 | "x-xss-protection": [ | |||
|
221 | "1; mode=block" | |||
|
222 | ], | |||
|
223 | "server": [ | |||
|
224 | "Apache/2.4.10 (Debian)" | |||
|
225 | ], | |||
|
226 | "cache-control": [ | |||
|
227 | "no-store" | |||
|
228 | ], | |||
|
229 | "date": [ | |||
|
230 | "Mon, 24 Aug 2020 22:18:17 GMT" | |||
|
231 | ], | |||
|
232 | "transfer-encoding": [ | |||
|
233 | "chunked" | |||
|
234 | ], | |||
|
235 | "expires": [ | |||
|
236 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
237 | ], | |||
|
238 | "x-frame-options": [ | |||
|
239 | "Deny" | |||
|
240 | ], | |||
|
241 | "content-type": [ | |||
|
242 | "application/json" | |||
|
243 | ], | |||
|
244 | "x-content-type-options": [ | |||
|
245 | "nosniff" | |||
|
246 | ], | |||
|
247 | "strict-transport-security": [ | |||
|
248 | "max-age=0; includeSubdomains; preload" | |||
|
249 | ] | |||
|
250 | }, | |||
|
251 | "status": { | |||
|
252 | "message": "OK", | |||
|
253 | "code": 200 | |||
|
254 | } | |||
|
255 | }, | |||
|
256 | "request": { | |||
|
257 | "headers": { | |||
|
258 | "content-length": [ | |||
|
259 | "594" | |||
|
260 | ], | |||
|
261 | "accept": [ | |||
|
262 | "application/mercurial-0.1" | |||
|
263 | ], | |||
|
264 | "host": [ | |||
|
265 | "phab.mercurial-scm.org" | |||
|
266 | ], | |||
|
267 | "user-agent": [ | |||
|
268 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
269 | ], | |||
|
270 | "content-type": [ | |||
|
271 | "application/x-www-form-urlencoded" | |||
|
272 | ] | |||
|
273 | }, | |||
|
274 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22133c1c6c64494d545ad3c8bc4c2e42af215760c1%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%22133c1c6c64494d545ad3c8bc4c2e42af215760c1%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%22e919cdf3d4fe9a926427b1961601eeaf4b4e2caf%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%7D%22%2C+%22diff_id%22%3A+22437%2C+%22name%22%3A+%22local%3Acommits%22%7D&output=json&__conduit__=1", | |||
|
275 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |||
|
276 | "method": "POST" | |||
|
277 | } | |||
|
278 | }, | |||
|
279 | { | |||
|
280 | "response": { | |||
|
281 | "body": { | |||
|
282 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"base review (generate test for phabsend)\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"base review (generate test for phabsend)\"}]},\"error_code\":null,\"error_info\":null}" | |||
|
283 | }, | |||
|
284 | "headers": { | |||
|
285 | "referrer-policy": [ | |||
|
286 | "no-referrer" | |||
|
287 | ], | |||
|
288 | "x-xss-protection": [ | |||
|
289 | "1; mode=block" | |||
|
290 | ], | |||
|
291 | "server": [ | |||
|
292 | "Apache/2.4.10 (Debian)" | |||
|
293 | ], | |||
|
294 | "cache-control": [ | |||
|
295 | "no-store" | |||
|
296 | ], | |||
|
297 | "date": [ | |||
|
298 | "Mon, 24 Aug 2020 22:18:17 GMT" | |||
|
299 | ], | |||
|
300 | "transfer-encoding": [ | |||
|
301 | "chunked" | |||
|
302 | ], | |||
|
303 | "expires": [ | |||
|
304 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
305 | ], | |||
|
306 | "x-frame-options": [ | |||
|
307 | "Deny" | |||
|
308 | ], | |||
|
309 | "content-type": [ | |||
|
310 | "application/json" | |||
|
311 | ], | |||
|
312 | "x-content-type-options": [ | |||
|
313 | "nosniff" | |||
|
314 | ], | |||
|
315 | "strict-transport-security": [ | |||
|
316 | "max-age=0; includeSubdomains; preload" | |||
|
317 | ] | |||
|
318 | }, | |||
|
319 | "status": { | |||
|
320 | "message": "OK", | |||
|
321 | "code": 200 | |||
|
322 | } | |||
|
323 | }, | |||
|
324 | "request": { | |||
|
325 | "headers": { | |||
|
326 | "content-length": [ | |||
|
327 | "189" | |||
|
328 | ], | |||
|
329 | "accept": [ | |||
|
330 | "application/mercurial-0.1" | |||
|
331 | ], | |||
|
332 | "host": [ | |||
|
333 | "phab.mercurial-scm.org" | |||
|
334 | ], | |||
|
335 | "user-agent": [ | |||
|
336 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
337 | ], | |||
|
338 | "content-type": [ | |||
|
339 | "application/x-www-form-urlencoded" | |||
|
340 | ] | |||
|
341 | }, | |||
|
342 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22corpus%22%3A+%22base+review+%28generate+test+for+phabsend%29%22%7D&output=json&__conduit__=1", | |||
|
343 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |||
|
344 | "method": "POST" | |||
|
345 | } | |||
|
346 | }, | |||
|
347 | { | |||
|
348 | "response": { | |||
|
349 | "body": { | |||
|
350 | "string": "{\"result\":{\"object\":{\"id\":8945,\"phid\":\"PHID-DREV-suqt5s55kjw235uv2vcf\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-76klselssdel6vp\"},{\"phid\":\"PHID-XACT-DREV-atejrjnkqevgpnv\"},{\"phid\":\"PHID-XACT-DREV-wqkucxolugjm4yr\"},{\"phid\":\"PHID-XACT-DREV-pziu2ibzwaljzto\"},{\"phid\":\"PHID-XACT-DREV-k4o6ptid6jztdrx\"}]},\"error_code\":null,\"error_info\":null}" | |||
|
351 | }, | |||
|
352 | "headers": { | |||
|
353 | "referrer-policy": [ | |||
|
354 | "no-referrer" | |||
|
355 | ], | |||
|
356 | "x-xss-protection": [ | |||
|
357 | "1; mode=block" | |||
|
358 | ], | |||
|
359 | "server": [ | |||
|
360 | "Apache/2.4.10 (Debian)" | |||
|
361 | ], | |||
|
362 | "cache-control": [ | |||
|
363 | "no-store" | |||
|
364 | ], | |||
|
365 | "date": [ | |||
|
366 | "Mon, 24 Aug 2020 22:18:18 GMT" | |||
|
367 | ], | |||
|
368 | "transfer-encoding": [ | |||
|
369 | "chunked" | |||
|
370 | ], | |||
|
371 | "expires": [ | |||
|
372 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
373 | ], | |||
|
374 | "x-frame-options": [ | |||
|
375 | "Deny" | |||
|
376 | ], | |||
|
377 | "content-type": [ | |||
|
378 | "application/json" | |||
|
379 | ], | |||
|
380 | "x-content-type-options": [ | |||
|
381 | "nosniff" | |||
|
382 | ], | |||
|
383 | "strict-transport-security": [ | |||
|
384 | "max-age=0; includeSubdomains; preload" | |||
|
385 | ] | |||
|
386 | }, | |||
|
387 | "status": { | |||
|
388 | "message": "OK", | |||
|
389 | "code": 200 | |||
|
390 | } | |||
|
391 | }, | |||
|
392 | "request": { | |||
|
393 | "headers": { | |||
|
394 | "content-length": [ | |||
|
395 | "342" | |||
|
396 | ], | |||
|
397 | "accept": [ | |||
|
398 | "application/mercurial-0.1" | |||
|
399 | ], | |||
|
400 | "host": [ | |||
|
401 | "phab.mercurial-scm.org" | |||
|
402 | ], | |||
|
403 | "user-agent": [ | |||
|
404 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
405 | ], | |||
|
406 | "content-type": [ | |||
|
407 | "application/x-www-form-urlencoded" | |||
|
408 | ] | |||
|
409 | }, | |||
|
410 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22transactions%22%3A+%5B%7B%22type%22%3A+%22update%22%2C+%22value%22%3A+%22PHID-DIFF-q7y7rru5hbxnq2mtosrf%22%7D%2C+%7B%22type%22%3A+%22title%22%2C+%22value%22%3A+%22base+review+%28generate+test+for+phabsend%29%22%7D%5D%7D&output=json&__conduit__=1", | |||
|
411 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |||
|
412 | "method": "POST" | |||
|
413 | } | |||
|
414 | }, | |||
|
415 | { | |||
|
416 | "response": { | |||
|
417 | "body": { | |||
|
418 | "string": "{\"result\":{\"diffid\":22438,\"phid\":\"PHID-DIFF-6lntv23mzadpzyeaizej\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/22438\\/\"},\"error_code\":null,\"error_info\":null}" | |||
|
419 | }, | |||
|
420 | "headers": { | |||
|
421 | "referrer-policy": [ | |||
|
422 | "no-referrer" | |||
|
423 | ], | |||
|
424 | "x-xss-protection": [ | |||
|
425 | "1; mode=block" | |||
|
426 | ], | |||
|
427 | "server": [ | |||
|
428 | "Apache/2.4.10 (Debian)" | |||
|
429 | ], | |||
|
430 | "cache-control": [ | |||
|
431 | "no-store" | |||
|
432 | ], | |||
|
433 | "date": [ | |||
|
434 | "Mon, 24 Aug 2020 22:18:19 GMT" | |||
|
435 | ], | |||
|
436 | "transfer-encoding": [ | |||
|
437 | "chunked" | |||
|
438 | ], | |||
|
439 | "expires": [ | |||
|
440 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
441 | ], | |||
|
442 | "x-frame-options": [ | |||
|
443 | "Deny" | |||
|
444 | ], | |||
|
445 | "content-type": [ | |||
|
446 | "application/json" | |||
|
447 | ], | |||
|
448 | "x-content-type-options": [ | |||
|
449 | "nosniff" | |||
|
450 | ], | |||
|
451 | "strict-transport-security": [ | |||
|
452 | "max-age=0; includeSubdomains; preload" | |||
|
453 | ] | |||
|
454 | }, | |||
|
455 | "status": { | |||
|
456 | "message": "OK", | |||
|
457 | "code": 200 | |||
|
458 | } | |||
|
459 | }, | |||
|
460 | "request": { | |||
|
461 | "headers": { | |||
|
462 | "content-length": [ | |||
|
463 | "1170" | |||
|
464 | ], | |||
|
465 | "accept": [ | |||
|
466 | "application/mercurial-0.1" | |||
|
467 | ], | |||
|
468 | "host": [ | |||
|
469 | "phab.mercurial-scm.org" | |||
|
470 | ], | |||
|
471 | "user-agent": [ | |||
|
472 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
473 | ], | |||
|
474 | "content-type": [ | |||
|
475 | "application/x-www-form-urlencoded" | |||
|
476 | ] | |||
|
477 | }, | |||
|
478 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22bookmark%22%3A+null%2C+%22branch%22%3A+%22default%22%2C+%22changes%22%3A+%7B%22file.txt%22%3A+%7B%22addLines%22%3A+1%2C+%22awayPaths%22%3A+%5B%5D%2C+%22commitHash%22%3A+null%2C+%22currentPath%22%3A+%22file.txt%22%2C+%22delLines%22%3A+1%2C+%22fileType%22%3A+1%2C+%22hunks%22%3A+%5B%7B%22addLines%22%3A+1%2C+%22corpus%22%3A+%22-content%5Cn%2Bmore+content%5Cn%22%2C+%22delLines%22%3A+1%2C+%22newLength%22%3A+1%2C+%22newOffset%22%3A+1%2C+%22oldLength%22%3A+1%2C+%22oldOffset%22%3A+1%7D%5D%2C+%22metadata%22%3A+%7B%7D%2C+%22newProperties%22%3A+%7B%7D%2C+%22oldPath%22%3A+%22file.txt%22%2C+%22oldProperties%22%3A+%7B%7D%2C+%22type%22%3A+2%7D%7D%2C+%22creationMethod%22%3A+%22phabsend%22%2C+%22lintStatus%22%3A+%22none%22%2C+%22repositoryPHID%22%3A+%22PHID-REPO-bvunnehri4u2isyr7bc3%22%2C+%22sourceControlBaseRevision%22%3A+%22133c1c6c64494d545ad3c8bc4c2e42af215760c1%22%2C+%22sourceControlPath%22%3A+%22%2F%22%2C+%22sourceControlSystem%22%3A+%22hg%22%2C+%22sourceMachine%22%3A+%22%22%2C+%22sourcePath%22%3A+%22%2F%22%2C+%22unitStatus%22%3A+%22none%22%7D&output=json&__conduit__=1", | |||
|
479 | "uri": "https://phab.mercurial-scm.org//api/differential.creatediff", | |||
|
480 | "method": "POST" | |||
|
481 | } | |||
|
482 | }, | |||
|
483 | { | |||
|
484 | "response": { | |||
|
485 | "body": { | |||
|
486 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
|
487 | }, | |||
|
488 | "headers": { | |||
|
489 | "referrer-policy": [ | |||
|
490 | "no-referrer" | |||
|
491 | ], | |||
|
492 | "x-xss-protection": [ | |||
|
493 | "1; mode=block" | |||
|
494 | ], | |||
|
495 | "server": [ | |||
|
496 | "Apache/2.4.10 (Debian)" | |||
|
497 | ], | |||
|
498 | "cache-control": [ | |||
|
499 | "no-store" | |||
|
500 | ], | |||
|
501 | "date": [ | |||
|
502 | "Mon, 24 Aug 2020 22:18:20 GMT" | |||
|
503 | ], | |||
|
504 | "transfer-encoding": [ | |||
|
505 | "chunked" | |||
|
506 | ], | |||
|
507 | "expires": [ | |||
|
508 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
509 | ], | |||
|
510 | "x-frame-options": [ | |||
|
511 | "Deny" | |||
|
512 | ], | |||
|
513 | "content-type": [ | |||
|
514 | "application/json" | |||
|
515 | ], | |||
|
516 | "x-content-type-options": [ | |||
|
517 | "nosniff" | |||
|
518 | ], | |||
|
519 | "strict-transport-security": [ | |||
|
520 | "max-age=0; includeSubdomains; preload" | |||
|
521 | ] | |||
|
522 | }, | |||
|
523 | "status": { | |||
|
524 | "message": "OK", | |||
|
525 | "code": 200 | |||
|
526 | } | |||
|
527 | }, | |||
|
528 | "request": { | |||
|
529 | "headers": { | |||
|
530 | "content-length": [ | |||
|
531 | "482" | |||
|
532 | ], | |||
|
533 | "accept": [ | |||
|
534 | "application/mercurial-0.1" | |||
|
535 | ], | |||
|
536 | "host": [ | |||
|
537 | "phab.mercurial-scm.org" | |||
|
538 | ], | |||
|
539 | "user-agent": [ | |||
|
540 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
541 | ], | |||
|
542 | "content-type": [ | |||
|
543 | "application/x-www-form-urlencoded" | |||
|
544 | ] | |||
|
545 | }, | |||
|
546 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22date%5C%22%3A+%5C%220+0%5C%22%2C+%5C%22node%5C%22%3A+%5C%22c2874a398f7e0a139283fad3df053430dac536ff%5C%22%2C+%5C%22parent%5C%22%3A+%5C%22133c1c6c64494d545ad3c8bc4c2e42af215760c1%5C%22%2C+%5C%22user%5C%22%3A+%5C%22test%5C%22%7D%22%2C+%22diff_id%22%3A+22438%2C+%22name%22%3A+%22hg%3Ameta%22%7D&output=json&__conduit__=1", | |||
|
547 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |||
|
548 | "method": "POST" | |||
|
549 | } | |||
|
550 | }, | |||
|
551 | { | |||
|
552 | "response": { | |||
|
553 | "body": { | |||
|
554 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
|
555 | }, | |||
|
556 | "headers": { | |||
|
557 | "referrer-policy": [ | |||
|
558 | "no-referrer" | |||
|
559 | ], | |||
|
560 | "x-xss-protection": [ | |||
|
561 | "1; mode=block" | |||
|
562 | ], | |||
|
563 | "server": [ | |||
|
564 | "Apache/2.4.10 (Debian)" | |||
|
565 | ], | |||
|
566 | "cache-control": [ | |||
|
567 | "no-store" | |||
|
568 | ], | |||
|
569 | "date": [ | |||
|
570 | "Mon, 24 Aug 2020 22:18:20 GMT" | |||
|
571 | ], | |||
|
572 | "transfer-encoding": [ | |||
|
573 | "chunked" | |||
|
574 | ], | |||
|
575 | "expires": [ | |||
|
576 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
577 | ], | |||
|
578 | "x-frame-options": [ | |||
|
579 | "Deny" | |||
|
580 | ], | |||
|
581 | "content-type": [ | |||
|
582 | "application/json" | |||
|
583 | ], | |||
|
584 | "x-content-type-options": [ | |||
|
585 | "nosniff" | |||
|
586 | ], | |||
|
587 | "strict-transport-security": [ | |||
|
588 | "max-age=0; includeSubdomains; preload" | |||
|
589 | ] | |||
|
590 | }, | |||
|
591 | "status": { | |||
|
592 | "message": "OK", | |||
|
593 | "code": 200 | |||
|
594 | } | |||
|
595 | }, | |||
|
596 | "request": { | |||
|
597 | "headers": { | |||
|
598 | "content-length": [ | |||
|
599 | "594" | |||
|
600 | ], | |||
|
601 | "accept": [ | |||
|
602 | "application/mercurial-0.1" | |||
|
603 | ], | |||
|
604 | "host": [ | |||
|
605 | "phab.mercurial-scm.org" | |||
|
606 | ], | |||
|
607 | "user-agent": [ | |||
|
608 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
609 | ], | |||
|
610 | "content-type": [ | |||
|
611 | "application/x-www-form-urlencoded" | |||
|
612 | ] | |||
|
613 | }, | |||
|
614 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22c2874a398f7e0a139283fad3df053430dac536ff%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%22c2874a398f7e0a139283fad3df053430dac536ff%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%22133c1c6c64494d545ad3c8bc4c2e42af215760c1%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%7D%22%2C+%22diff_id%22%3A+22438%2C+%22name%22%3A+%22local%3Acommits%22%7D&output=json&__conduit__=1", | |||
|
615 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |||
|
616 | "method": "POST" | |||
|
617 | } | |||
|
618 | }, | |||
|
619 | { | |||
|
620 | "response": { | |||
|
621 | "body": { | |||
|
622 | "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"133c1c6c6449 is my parent (generate test for phabsend)\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"133c1c6c6449 is my parent (generate test for phabsend)\"}]},\"error_code\":null,\"error_info\":null}" | |||
|
623 | }, | |||
|
624 | "headers": { | |||
|
625 | "referrer-policy": [ | |||
|
626 | "no-referrer" | |||
|
627 | ], | |||
|
628 | "x-xss-protection": [ | |||
|
629 | "1; mode=block" | |||
|
630 | ], | |||
|
631 | "server": [ | |||
|
632 | "Apache/2.4.10 (Debian)" | |||
|
633 | ], | |||
|
634 | "cache-control": [ | |||
|
635 | "no-store" | |||
|
636 | ], | |||
|
637 | "date": [ | |||
|
638 | "Mon, 24 Aug 2020 22:18:21 GMT" | |||
|
639 | ], | |||
|
640 | "transfer-encoding": [ | |||
|
641 | "chunked" | |||
|
642 | ], | |||
|
643 | "expires": [ | |||
|
644 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
645 | ], | |||
|
646 | "x-frame-options": [ | |||
|
647 | "Deny" | |||
|
648 | ], | |||
|
649 | "content-type": [ | |||
|
650 | "application/json" | |||
|
651 | ], | |||
|
652 | "x-content-type-options": [ | |||
|
653 | "nosniff" | |||
|
654 | ], | |||
|
655 | "strict-transport-security": [ | |||
|
656 | "max-age=0; includeSubdomains; preload" | |||
|
657 | ] | |||
|
658 | }, | |||
|
659 | "status": { | |||
|
660 | "message": "OK", | |||
|
661 | "code": 200 | |||
|
662 | } | |||
|
663 | }, | |||
|
664 | "request": { | |||
|
665 | "headers": { | |||
|
666 | "content-length": [ | |||
|
667 | "203" | |||
|
668 | ], | |||
|
669 | "accept": [ | |||
|
670 | "application/mercurial-0.1" | |||
|
671 | ], | |||
|
672 | "host": [ | |||
|
673 | "phab.mercurial-scm.org" | |||
|
674 | ], | |||
|
675 | "user-agent": [ | |||
|
676 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
677 | ], | |||
|
678 | "content-type": [ | |||
|
679 | "application/x-www-form-urlencoded" | |||
|
680 | ] | |||
|
681 | }, | |||
|
682 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22corpus%22%3A+%22133c1c6c6449+is+my+parent+%28generate+test+for+phabsend%29%22%7D&output=json&__conduit__=1", | |||
|
683 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |||
|
684 | "method": "POST" | |||
|
685 | } | |||
|
686 | }, | |||
|
687 | { | |||
|
688 | "response": { | |||
|
689 | "body": { | |||
|
690 | "string": "{\"result\":{\"object\":{\"id\":8946,\"phid\":\"PHID-DREV-ja6bdevg5fbykjrpghj4\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-pupj6v3uzdeb6iu\"},{\"phid\":\"PHID-XACT-DREV-czsnsiuaxsecqf4\"},{\"phid\":\"PHID-XACT-DREV-qs6vcl5qj4cqyu2\"},{\"phid\":\"PHID-XACT-DREV-qig4ohigvfnr4h2\"},{\"phid\":\"PHID-XACT-DREV-iv6asp4osxnslvs\"},{\"phid\":\"PHID-XACT-DREV-jn3ojiw6yt3mzuz\"}]},\"error_code\":null,\"error_info\":null}" | |||
|
691 | }, | |||
|
692 | "headers": { | |||
|
693 | "referrer-policy": [ | |||
|
694 | "no-referrer" | |||
|
695 | ], | |||
|
696 | "x-xss-protection": [ | |||
|
697 | "1; mode=block" | |||
|
698 | ], | |||
|
699 | "server": [ | |||
|
700 | "Apache/2.4.10 (Debian)" | |||
|
701 | ], | |||
|
702 | "cache-control": [ | |||
|
703 | "no-store" | |||
|
704 | ], | |||
|
705 | "date": [ | |||
|
706 | "Mon, 24 Aug 2020 22:18:22 GMT" | |||
|
707 | ], | |||
|
708 | "transfer-encoding": [ | |||
|
709 | "chunked" | |||
|
710 | ], | |||
|
711 | "expires": [ | |||
|
712 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
713 | ], | |||
|
714 | "x-frame-options": [ | |||
|
715 | "Deny" | |||
|
716 | ], | |||
|
717 | "content-type": [ | |||
|
718 | "application/json" | |||
|
719 | ], | |||
|
720 | "x-content-type-options": [ | |||
|
721 | "nosniff" | |||
|
722 | ], | |||
|
723 | "strict-transport-security": [ | |||
|
724 | "max-age=0; includeSubdomains; preload" | |||
|
725 | ] | |||
|
726 | }, | |||
|
727 | "status": { | |||
|
728 | "message": "OK", | |||
|
729 | "code": 200 | |||
|
730 | } | |||
|
731 | }, | |||
|
732 | "request": { | |||
|
733 | "headers": { | |||
|
734 | "content-length": [ | |||
|
735 | "458" | |||
|
736 | ], | |||
|
737 | "accept": [ | |||
|
738 | "application/mercurial-0.1" | |||
|
739 | ], | |||
|
740 | "host": [ | |||
|
741 | "phab.mercurial-scm.org" | |||
|
742 | ], | |||
|
743 | "user-agent": [ | |||
|
744 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
745 | ], | |||
|
746 | "content-type": [ | |||
|
747 | "application/x-www-form-urlencoded" | |||
|
748 | ] | |||
|
749 | }, | |||
|
750 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22transactions%22%3A+%5B%7B%22type%22%3A+%22update%22%2C+%22value%22%3A+%22PHID-DIFF-6lntv23mzadpzyeaizej%22%7D%2C+%7B%22type%22%3A+%22parents.set%22%2C+%22value%22%3A+%5B%22PHID-DREV-suqt5s55kjw235uv2vcf%22%5D%7D%2C+%7B%22type%22%3A+%22title%22%2C+%22value%22%3A+%22133c1c6c6449+is+my+parent+%28generate+test+for+phabsend%29%22%7D%5D%7D&output=json&__conduit__=1", | |||
|
751 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |||
|
752 | "method": "POST" | |||
|
753 | } | |||
|
754 | }, | |||
|
755 | { | |||
|
756 | "response": { | |||
|
757 | "body": { | |||
|
758 | "string": "{\"result\":[{\"id\":\"8946\",\"phid\":\"PHID-DREV-ja6bdevg5fbykjrpghj4\",\"title\":\"133c1c6c6449 is my parent (generate test for phabsend)\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D8946\",\"dateCreated\":\"1598307502\",\"dateModified\":\"1598307502\",\"authorPHID\":\"PHID-USER-tzhaient733lwrlbcag5\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":1,\"lines.removed\":1},\"branch\":\"default\",\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-6lntv23mzadpzyeaizej\",\"diffs\":[\"22438\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-nf7kno6lkl3fjsmo5pyp\"],\"hashes\":[[\"hgcm\",\"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\"]],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[\"PHID-DREV-suqt5s55kjw235uv2vcf\"]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":\"\\/\"},{\"id\":\"8945\",\"phid\":\"PHID-DREV-suqt5s55kjw235uv2vcf\",\"title\":\"base review (generate test for phabsend)\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D8945\",\"dateCreated\":\"1598307498\",\"dateModified\":\"1598307502\",\"authorPHID\":\"PHID-USER-tzhaient733lwrlbcag5\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":1,\"lines.removed\":1},\"branch\":\"default\",\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-q7y7rru5hbxnq2mtosrf\",\"diffs\":[\"22437\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-nf7kno6lkl3fjsmo5pyp\"],\"hashes\":[[\"hgcm\",\"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\"]],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":\"\\/\"}],\"error_code\":null,\"error_info\":null}" | |||
|
759 | }, | |||
|
760 | "headers": { | |||
|
761 | "referrer-policy": [ | |||
|
762 | "no-referrer" | |||
|
763 | ], | |||
|
764 | "x-xss-protection": [ | |||
|
765 | "1; mode=block" | |||
|
766 | ], | |||
|
767 | "server": [ | |||
|
768 | "Apache/2.4.10 (Debian)" | |||
|
769 | ], | |||
|
770 | "cache-control": [ | |||
|
771 | "no-store" | |||
|
772 | ], | |||
|
773 | "date": [ | |||
|
774 | "Mon, 24 Aug 2020 22:18:23 GMT" | |||
|
775 | ], | |||
|
776 | "transfer-encoding": [ | |||
|
777 | "chunked" | |||
|
778 | ], | |||
|
779 | "expires": [ | |||
|
780 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
781 | ], | |||
|
782 | "x-frame-options": [ | |||
|
783 | "Deny" | |||
|
784 | ], | |||
|
785 | "content-type": [ | |||
|
786 | "application/json" | |||
|
787 | ], | |||
|
788 | "x-content-type-options": [ | |||
|
789 | "nosniff" | |||
|
790 | ], | |||
|
791 | "strict-transport-security": [ | |||
|
792 | "max-age=0; includeSubdomains; preload" | |||
|
793 | ] | |||
|
794 | }, | |||
|
795 | "status": { | |||
|
796 | "message": "OK", | |||
|
797 | "code": 200 | |||
|
798 | } | |||
|
799 | }, | |||
|
800 | "request": { | |||
|
801 | "headers": { | |||
|
802 | "content-length": [ | |||
|
803 | "154" | |||
|
804 | ], | |||
|
805 | "accept": [ | |||
|
806 | "application/mercurial-0.1" | |||
|
807 | ], | |||
|
808 | "host": [ | |||
|
809 | "phab.mercurial-scm.org" | |||
|
810 | ], | |||
|
811 | "user-agent": [ | |||
|
812 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
813 | ], | |||
|
814 | "content-type": [ | |||
|
815 | "application/x-www-form-urlencoded" | |||
|
816 | ] | |||
|
817 | }, | |||
|
818 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22ids%22%3A+%5B8945%2C+8946%5D%7D&output=json&__conduit__=1", | |||
|
819 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |||
|
820 | "method": "POST" | |||
|
821 | } | |||
|
822 | }, | |||
|
823 | { | |||
|
824 | "response": { | |||
|
825 | "body": { | |||
|
826 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
|
827 | }, | |||
|
828 | "headers": { | |||
|
829 | "referrer-policy": [ | |||
|
830 | "no-referrer" | |||
|
831 | ], | |||
|
832 | "x-xss-protection": [ | |||
|
833 | "1; mode=block" | |||
|
834 | ], | |||
|
835 | "server": [ | |||
|
836 | "Apache/2.4.10 (Debian)" | |||
|
837 | ], | |||
|
838 | "cache-control": [ | |||
|
839 | "no-store" | |||
|
840 | ], | |||
|
841 | "date": [ | |||
|
842 | "Mon, 24 Aug 2020 22:18:23 GMT" | |||
|
843 | ], | |||
|
844 | "transfer-encoding": [ | |||
|
845 | "chunked" | |||
|
846 | ], | |||
|
847 | "expires": [ | |||
|
848 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
849 | ], | |||
|
850 | "x-frame-options": [ | |||
|
851 | "Deny" | |||
|
852 | ], | |||
|
853 | "content-type": [ | |||
|
854 | "application/json" | |||
|
855 | ], | |||
|
856 | "x-content-type-options": [ | |||
|
857 | "nosniff" | |||
|
858 | ], | |||
|
859 | "strict-transport-security": [ | |||
|
860 | "max-age=0; includeSubdomains; preload" | |||
|
861 | ] | |||
|
862 | }, | |||
|
863 | "status": { | |||
|
864 | "message": "OK", | |||
|
865 | "code": 200 | |||
|
866 | } | |||
|
867 | }, | |||
|
868 | "request": { | |||
|
869 | "headers": { | |||
|
870 | "content-length": [ | |||
|
871 | "482" | |||
|
872 | ], | |||
|
873 | "accept": [ | |||
|
874 | "application/mercurial-0.1" | |||
|
875 | ], | |||
|
876 | "host": [ | |||
|
877 | "phab.mercurial-scm.org" | |||
|
878 | ], | |||
|
879 | "user-agent": [ | |||
|
880 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
881 | ], | |||
|
882 | "content-type": [ | |||
|
883 | "application/x-www-form-urlencoded" | |||
|
884 | ] | |||
|
885 | }, | |||
|
886 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22date%5C%22%3A+%5C%220+0%5C%22%2C+%5C%22node%5C%22%3A+%5C%22f444f060f4d648731890a4aee1ec5ce372170265%5C%22%2C+%5C%22parent%5C%22%3A+%5C%22e919cdf3d4fe9a926427b1961601eeaf4b4e2caf%5C%22%2C+%5C%22user%5C%22%3A+%5C%22test%5C%22%7D%22%2C+%22diff_id%22%3A+22437%2C+%22name%22%3A+%22hg%3Ameta%22%7D&output=json&__conduit__=1", | |||
|
887 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |||
|
888 | "method": "POST" | |||
|
889 | } | |||
|
890 | }, | |||
|
891 | { | |||
|
892 | "response": { | |||
|
893 | "body": { | |||
|
894 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
|
895 | }, | |||
|
896 | "headers": { | |||
|
897 | "referrer-policy": [ | |||
|
898 | "no-referrer" | |||
|
899 | ], | |||
|
900 | "x-xss-protection": [ | |||
|
901 | "1; mode=block" | |||
|
902 | ], | |||
|
903 | "server": [ | |||
|
904 | "Apache/2.4.10 (Debian)" | |||
|
905 | ], | |||
|
906 | "cache-control": [ | |||
|
907 | "no-store" | |||
|
908 | ], | |||
|
909 | "date": [ | |||
|
910 | "Mon, 24 Aug 2020 22:18:24 GMT" | |||
|
911 | ], | |||
|
912 | "transfer-encoding": [ | |||
|
913 | "chunked" | |||
|
914 | ], | |||
|
915 | "expires": [ | |||
|
916 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
917 | ], | |||
|
918 | "x-frame-options": [ | |||
|
919 | "Deny" | |||
|
920 | ], | |||
|
921 | "content-type": [ | |||
|
922 | "application/json" | |||
|
923 | ], | |||
|
924 | "x-content-type-options": [ | |||
|
925 | "nosniff" | |||
|
926 | ], | |||
|
927 | "strict-transport-security": [ | |||
|
928 | "max-age=0; includeSubdomains; preload" | |||
|
929 | ] | |||
|
930 | }, | |||
|
931 | "status": { | |||
|
932 | "message": "OK", | |||
|
933 | "code": 200 | |||
|
934 | } | |||
|
935 | }, | |||
|
936 | "request": { | |||
|
937 | "headers": { | |||
|
938 | "content-length": [ | |||
|
939 | "594" | |||
|
940 | ], | |||
|
941 | "accept": [ | |||
|
942 | "application/mercurial-0.1" | |||
|
943 | ], | |||
|
944 | "host": [ | |||
|
945 | "phab.mercurial-scm.org" | |||
|
946 | ], | |||
|
947 | "user-agent": [ | |||
|
948 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
949 | ], | |||
|
950 | "content-type": [ | |||
|
951 | "application/x-www-form-urlencoded" | |||
|
952 | ] | |||
|
953 | }, | |||
|
954 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22f444f060f4d648731890a4aee1ec5ce372170265%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%22f444f060f4d648731890a4aee1ec5ce372170265%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%22e919cdf3d4fe9a926427b1961601eeaf4b4e2caf%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%7D%22%2C+%22diff_id%22%3A+22437%2C+%22name%22%3A+%22local%3Acommits%22%7D&output=json&__conduit__=1", | |||
|
955 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |||
|
956 | "method": "POST" | |||
|
957 | } | |||
|
958 | }, | |||
|
959 | { | |||
|
960 | "response": { | |||
|
961 | "body": { | |||
|
962 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
|
963 | }, | |||
|
964 | "headers": { | |||
|
965 | "referrer-policy": [ | |||
|
966 | "no-referrer" | |||
|
967 | ], | |||
|
968 | "x-xss-protection": [ | |||
|
969 | "1; mode=block" | |||
|
970 | ], | |||
|
971 | "server": [ | |||
|
972 | "Apache/2.4.10 (Debian)" | |||
|
973 | ], | |||
|
974 | "cache-control": [ | |||
|
975 | "no-store" | |||
|
976 | ], | |||
|
977 | "date": [ | |||
|
978 | "Mon, 24 Aug 2020 22:18:24 GMT" | |||
|
979 | ], | |||
|
980 | "transfer-encoding": [ | |||
|
981 | "chunked" | |||
|
982 | ], | |||
|
983 | "expires": [ | |||
|
984 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
985 | ], | |||
|
986 | "x-frame-options": [ | |||
|
987 | "Deny" | |||
|
988 | ], | |||
|
989 | "content-type": [ | |||
|
990 | "application/json" | |||
|
991 | ], | |||
|
992 | "x-content-type-options": [ | |||
|
993 | "nosniff" | |||
|
994 | ], | |||
|
995 | "strict-transport-security": [ | |||
|
996 | "max-age=0; includeSubdomains; preload" | |||
|
997 | ] | |||
|
998 | }, | |||
|
999 | "status": { | |||
|
1000 | "message": "OK", | |||
|
1001 | "code": 200 | |||
|
1002 | } | |||
|
1003 | }, | |||
|
1004 | "request": { | |||
|
1005 | "headers": { | |||
|
1006 | "content-length": [ | |||
|
1007 | "482" | |||
|
1008 | ], | |||
|
1009 | "accept": [ | |||
|
1010 | "application/mercurial-0.1" | |||
|
1011 | ], | |||
|
1012 | "host": [ | |||
|
1013 | "phab.mercurial-scm.org" | |||
|
1014 | ], | |||
|
1015 | "user-agent": [ | |||
|
1016 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
1017 | ], | |||
|
1018 | "content-type": [ | |||
|
1019 | "application/x-www-form-urlencoded" | |||
|
1020 | ] | |||
|
1021 | }, | |||
|
1022 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22date%5C%22%3A+%5C%220+0%5C%22%2C+%5C%22node%5C%22%3A+%5C%229c9290f945b15b9420fffd5f5fc59260c1cbbcf4%5C%22%2C+%5C%22parent%5C%22%3A+%5C%22f444f060f4d648731890a4aee1ec5ce372170265%5C%22%2C+%5C%22user%5C%22%3A+%5C%22test%5C%22%7D%22%2C+%22diff_id%22%3A+22438%2C+%22name%22%3A+%22hg%3Ameta%22%7D&output=json&__conduit__=1", | |||
|
1023 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |||
|
1024 | "method": "POST" | |||
|
1025 | } | |||
|
1026 | }, | |||
|
1027 | { | |||
|
1028 | "response": { | |||
|
1029 | "body": { | |||
|
1030 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
|
1031 | }, | |||
|
1032 | "headers": { | |||
|
1033 | "referrer-policy": [ | |||
|
1034 | "no-referrer" | |||
|
1035 | ], | |||
|
1036 | "x-xss-protection": [ | |||
|
1037 | "1; mode=block" | |||
|
1038 | ], | |||
|
1039 | "server": [ | |||
|
1040 | "Apache/2.4.10 (Debian)" | |||
|
1041 | ], | |||
|
1042 | "cache-control": [ | |||
|
1043 | "no-store" | |||
|
1044 | ], | |||
|
1045 | "date": [ | |||
|
1046 | "Mon, 24 Aug 2020 22:18:25 GMT" | |||
|
1047 | ], | |||
|
1048 | "transfer-encoding": [ | |||
|
1049 | "chunked" | |||
|
1050 | ], | |||
|
1051 | "expires": [ | |||
|
1052 | "Sat, 01 Jan 2000 00:00:00 GMT" | |||
|
1053 | ], | |||
|
1054 | "x-frame-options": [ | |||
|
1055 | "Deny" | |||
|
1056 | ], | |||
|
1057 | "content-type": [ | |||
|
1058 | "application/json" | |||
|
1059 | ], | |||
|
1060 | "x-content-type-options": [ | |||
|
1061 | "nosniff" | |||
|
1062 | ], | |||
|
1063 | "strict-transport-security": [ | |||
|
1064 | "max-age=0; includeSubdomains; preload" | |||
|
1065 | ] | |||
|
1066 | }, | |||
|
1067 | "status": { | |||
|
1068 | "message": "OK", | |||
|
1069 | "code": 200 | |||
|
1070 | } | |||
|
1071 | }, | |||
|
1072 | "request": { | |||
|
1073 | "headers": { | |||
|
1074 | "content-length": [ | |||
|
1075 | "594" | |||
|
1076 | ], | |||
|
1077 | "accept": [ | |||
|
1078 | "application/mercurial-0.1" | |||
|
1079 | ], | |||
|
1080 | "host": [ | |||
|
1081 | "phab.mercurial-scm.org" | |||
|
1082 | ], | |||
|
1083 | "user-agent": [ | |||
|
1084 | "mercurial/proto-1.0 (Mercurial 5.5+173-3de55438d570+20200824)" | |||
|
1085 | ], | |||
|
1086 | "content-type": [ | |||
|
1087 | "application/x-www-form-urlencoded" | |||
|
1088 | ] | |||
|
1089 | }, | |||
|
1090 | "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%229c9290f945b15b9420fffd5f5fc59260c1cbbcf4%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%229c9290f945b15b9420fffd5f5fc59260c1cbbcf4%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%22f444f060f4d648731890a4aee1ec5ce372170265%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%7D%22%2C+%22diff_id%22%3A+22438%2C+%22name%22%3A+%22local%3Acommits%22%7D&output=json&__conduit__=1", | |||
|
1091 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |||
|
1092 | "method": "POST" | |||
|
1093 | } | |||
|
1094 | } | |||
|
1095 | ] | |||
|
1096 | } No newline at end of file |
@@ -76,6 +76,7 b' from mercurial import (' | |||||
76 | patch, |
|
76 | patch, | |
77 | phases, |
|
77 | phases, | |
78 | pycompat, |
|
78 | pycompat, | |
|
79 | rewriteutil, | |||
79 | scmutil, |
|
80 | scmutil, | |
80 | smartset, |
|
81 | smartset, | |
81 | tags, |
|
82 | tags, | |
@@ -1511,6 +1512,9 b' def phabsend(ui, repo, *revs, **opts):' | |||||
1511 | mapping.get(old.p1().node(), (old.p1(),))[0], |
|
1512 | mapping.get(old.p1().node(), (old.p1(),))[0], | |
1512 | mapping.get(old.p2().node(), (old.p2(),))[0], |
|
1513 | mapping.get(old.p2().node(), (old.p2(),))[0], | |
1513 | ] |
|
1514 | ] | |
|
1515 | newdesc = rewriteutil.update_hash_refs( | |||
|
1516 | repo, newdesc, mapping, | |||
|
1517 | ) | |||
1514 | new = context.metadataonlyctx( |
|
1518 | new = context.metadataonlyctx( | |
1515 | repo, |
|
1519 | repo, | |
1516 | old, |
|
1520 | old, | |
@@ -1588,7 +1592,9 b' def phabsend(ui, repo, *revs, **opts):' | |||||
1588 | repo, |
|
1592 | repo, | |
1589 | old, |
|
1593 | old, | |
1590 | parents=parents, |
|
1594 | parents=parents, | |
1591 |
text= |
|
1595 | text=rewriteutil.update_hash_refs( | |
|
1596 | repo, old.description(), mapping | |||
|
1597 | ), | |||
1592 | user=old.user(), |
|
1598 | user=old.user(), | |
1593 | date=old.date(), |
|
1599 | date=old.date(), | |
1594 | extra=old.extra(), |
|
1600 | extra=old.extra(), |
@@ -970,5 +970,37 b' Test phabsend --fold with an `hg fold` a' | |||||
970 | Differential Revision: https://phab.mercurial-scm.org/D8388 |
|
970 | Differential Revision: https://phab.mercurial-scm.org/D8388 | |
971 |
|
971 | |||
972 |
|
972 | |||
|
973 | Hashes in the messages are updated automatically as phabsend amends and restacks | |||
|
974 | them. This covers both commits that are posted and descendants that are | |||
|
975 | restacked. | |||
973 |
|
976 | |||
|
977 | $ cat >> .hg/hgrc << EOF | |||
|
978 | > [experimental] | |||
|
979 | > evolution = all | |||
|
980 | > EOF | |||
|
981 | ||||
|
982 | $ echo content > file.txt | |||
|
983 | $ hg ci -m 'base review (generate test for phabsend)' | |||
|
984 | $ echo 'more content' > file.txt | |||
|
985 | $ hg ci -m '133c1c6c6449 is my parent (generate test for phabsend)' | |||
|
986 | $ echo 'even more content' > file.txt | |||
|
987 | $ hg ci -m 'c2874a398f7e is my parent (generate test for phabsend)' | |||
|
988 | ||||
|
989 | $ hg phabsend -r 17::18 --test-vcr "$VCR/phabsend-hash-fixes.json" | |||
|
990 | D8945 - created - 133c1c6c6449: base review (generate test for phabsend) | |||
|
991 | D8946 - created - c2874a398f7e: 133c1c6c6449 is my parent (generate test for phabsend) | |||
|
992 | new commits: ['f444f060f4d6'] | |||
|
993 | new commits: ['9c9290f945b1'] | |||
|
994 | restabilizing 1528c12fa2e4 as b28b20212bd4 | |||
|
995 | ||||
|
996 | $ hg log -l 3 -Tcompact | |||
|
997 | 22[tip] b28b20212bd4 1970-01-01 00:00 +0000 test | |||
|
998 | 9c9290f945b1 is my parent (generate test for phabsend) | |||
|
999 | ||||
|
1000 | 21 9c9290f945b1 1970-01-01 00:00 +0000 test | |||
|
1001 | f444f060f4d6 is my parent (generate test for phabsend) | |||
|
1002 | ||||
|
1003 | 20:16 f444f060f4d6 1970-01-01 00:00 +0000 test | |||
|
1004 | base review (generate test for phabsend) | |||
|
1005 | ||||
974 |
|
|
1006 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now