Show More
This diff has been collapsed as it changes many lines, (957 lines changed) Show them Hide them | |||
@@ -0,0 +1,957 b'' | |||
|
1 | { | |
|
2 | "interactions": [ | |
|
3 | { | |
|
4 | "response": { | |
|
5 | "headers": { | |
|
6 | "content-type": [ | |
|
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" | |
|
29 | ], | |
|
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 | "content-length": [ | |
|
53 | "79" | |
|
54 | ], | |
|
55 | "accept": [ | |
|
56 | "application/mercurial-0.1" | |
|
57 | ], | |
|
58 | "content-type": [ | |
|
59 | "application/x-www-form-urlencoded" | |
|
60 | ], | |
|
61 | "user-agent": [ | |
|
62 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
63 | ], | |
|
64 | "host": [ | |
|
65 | "phab.mercurial-scm.org" | |
|
66 | ] | |
|
67 | }, | |
|
68 | "body": "constraints%5Bcallsigns%5D%5B0%5D=HG&api.token=cli-hahayouwish" | |
|
69 | } | |
|
70 | }, | |
|
71 | { | |
|
72 | "response": { | |
|
73 | "headers": { | |
|
74 | "content-type": [ | |
|
75 | "application/json" | |
|
76 | ], | |
|
77 | "date": [ | |
|
78 | "Thu, 10 Jan 2019 04:08:25 GMT" | |
|
79 | ], | |
|
80 | "x-content-type-options": [ | |
|
81 | "nosniff" | |
|
82 | ], | |
|
83 | "cache-control": [ | |
|
84 | "no-store" | |
|
85 | ], | |
|
86 | "server": [ | |
|
87 | "Apache/2.4.10 (Debian)" | |
|
88 | ], | |
|
89 | "x-xss-protection": [ | |
|
90 | "1; mode=block" | |
|
91 | ], | |
|
92 | "x-frame-options": [ | |
|
93 | "Deny" | |
|
94 | ], | |
|
95 | "expires": [ | |
|
96 | "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 | ] | |
|
107 | }, | |
|
108 | "status": { | |
|
109 | "message": "OK", | |
|
110 | "code": 200 | |
|
111 | }, | |
|
112 | "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}" | |
|
114 | } | |
|
115 | }, | |
|
116 | "request": { | |
|
117 | "method": "POST", | |
|
118 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
119 | "headers": { | |
|
120 | "content-length": [ | |
|
121 | "220" | |
|
122 | ], | |
|
123 | "accept": [ | |
|
124 | "application/mercurial-0.1" | |
|
125 | ], | |
|
126 | "content-type": [ | |
|
127 | "application/x-www-form-urlencoded" | |
|
128 | ], | |
|
129 | "user-agent": [ | |
|
130 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
131 | ], | |
|
132 | "host": [ | |
|
133 | "phab.mercurial-scm.org" | |
|
134 | ] | |
|
135 | }, | |
|
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 | } | |
|
138 | }, | |
|
139 | { | |
|
140 | "response": { | |
|
141 | "headers": { | |
|
142 | "content-type": [ | |
|
143 | "application/json" | |
|
144 | ], | |
|
145 | "date": [ | |
|
146 | "Thu, 10 Jan 2019 04:08:25 GMT" | |
|
147 | ], | |
|
148 | "x-content-type-options": [ | |
|
149 | "nosniff" | |
|
150 | ], | |
|
151 | "cache-control": [ | |
|
152 | "no-store" | |
|
153 | ], | |
|
154 | "server": [ | |
|
155 | "Apache/2.4.10 (Debian)" | |
|
156 | ], | |
|
157 | "x-xss-protection": [ | |
|
158 | "1; mode=block" | |
|
159 | ], | |
|
160 | "x-frame-options": [ | |
|
161 | "Deny" | |
|
162 | ], | |
|
163 | "expires": [ | |
|
164 | "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 | ] | |
|
175 | }, | |
|
176 | "status": { | |
|
177 | "message": "OK", | |
|
178 | "code": 200 | |
|
179 | }, | |
|
180 | "body": { | |
|
181 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
182 | } | |
|
183 | }, | |
|
184 | "request": { | |
|
185 | "method": "POST", | |
|
186 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
187 | "headers": { | |
|
188 | "content-length": [ | |
|
189 | "264" | |
|
190 | ], | |
|
191 | "accept": [ | |
|
192 | "application/mercurial-0.1" | |
|
193 | ], | |
|
194 | "content-type": [ | |
|
195 | "application/x-www-form-urlencoded" | |
|
196 | ], | |
|
197 | "user-agent": [ | |
|
198 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
199 | ], | |
|
200 | "host": [ | |
|
201 | "phab.mercurial-scm.org" | |
|
202 | ] | |
|
203 | }, | |
|
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 | } | |
|
206 | }, | |
|
207 | { | |
|
208 | "response": { | |
|
209 | "headers": { | |
|
210 | "content-type": [ | |
|
211 | "application/json" | |
|
212 | ], | |
|
213 | "date": [ | |
|
214 | "Thu, 10 Jan 2019 04:08:26 GMT" | |
|
215 | ], | |
|
216 | "x-content-type-options": [ | |
|
217 | "nosniff" | |
|
218 | ], | |
|
219 | "cache-control": [ | |
|
220 | "no-store" | |
|
221 | ], | |
|
222 | "server": [ | |
|
223 | "Apache/2.4.10 (Debian)" | |
|
224 | ], | |
|
225 | "x-xss-protection": [ | |
|
226 | "1; mode=block" | |
|
227 | ], | |
|
228 | "x-frame-options": [ | |
|
229 | "Deny" | |
|
230 | ], | |
|
231 | "expires": [ | |
|
232 | "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 | ] | |
|
243 | }, | |
|
244 | "status": { | |
|
245 | "message": "OK", | |
|
246 | "code": 200 | |
|
247 | }, | |
|
248 | "body": { | |
|
249 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
250 | } | |
|
251 | }, | |
|
252 | "request": { | |
|
253 | "method": "POST", | |
|
254 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
255 | "headers": { | |
|
256 | "content-length": [ | |
|
257 | "227" | |
|
258 | ], | |
|
259 | "accept": [ | |
|
260 | "application/mercurial-0.1" | |
|
261 | ], | |
|
262 | "content-type": [ | |
|
263 | "application/x-www-form-urlencoded" | |
|
264 | ], | |
|
265 | "user-agent": [ | |
|
266 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
267 | ], | |
|
268 | "host": [ | |
|
269 | "phab.mercurial-scm.org" | |
|
270 | ] | |
|
271 | }, | |
|
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 | } | |
|
274 | }, | |
|
275 | { | |
|
276 | "response": { | |
|
277 | "headers": { | |
|
278 | "content-type": [ | |
|
279 | "application/json" | |
|
280 | ], | |
|
281 | "date": [ | |
|
282 | "Thu, 10 Jan 2019 04:08:26 GMT" | |
|
283 | ], | |
|
284 | "x-content-type-options": [ | |
|
285 | "nosniff" | |
|
286 | ], | |
|
287 | "cache-control": [ | |
|
288 | "no-store" | |
|
289 | ], | |
|
290 | "server": [ | |
|
291 | "Apache/2.4.10 (Debian)" | |
|
292 | ], | |
|
293 | "x-xss-protection": [ | |
|
294 | "1; mode=block" | |
|
295 | ], | |
|
296 | "x-frame-options": [ | |
|
297 | "Deny" | |
|
298 | ], | |
|
299 | "expires": [ | |
|
300 | "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 | ] | |
|
311 | }, | |
|
312 | "status": { | |
|
313 | "message": "OK", | |
|
314 | "code": 200 | |
|
315 | }, | |
|
316 | "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}" | |
|
318 | } | |
|
319 | }, | |
|
320 | "request": { | |
|
321 | "method": "POST", | |
|
322 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
323 | "headers": { | |
|
324 | "content-length": [ | |
|
325 | "94" | |
|
326 | ], | |
|
327 | "accept": [ | |
|
328 | "application/mercurial-0.1" | |
|
329 | ], | |
|
330 | "content-type": [ | |
|
331 | "application/x-www-form-urlencoded" | |
|
332 | ], | |
|
333 | "user-agent": [ | |
|
334 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
335 | ], | |
|
336 | "host": [ | |
|
337 | "phab.mercurial-scm.org" | |
|
338 | ] | |
|
339 | }, | |
|
340 | "body": "corpus=create+public+change+for+phabricator+testing&api.token=cli-hahayouwish" | |
|
341 | } | |
|
342 | }, | |
|
343 | { | |
|
344 | "response": { | |
|
345 | "headers": { | |
|
346 | "content-type": [ | |
|
347 | "application/json" | |
|
348 | ], | |
|
349 | "date": [ | |
|
350 | "Thu, 10 Jan 2019 04:08:27 GMT" | |
|
351 | ], | |
|
352 | "x-content-type-options": [ | |
|
353 | "nosniff" | |
|
354 | ], | |
|
355 | "cache-control": [ | |
|
356 | "no-store" | |
|
357 | ], | |
|
358 | "server": [ | |
|
359 | "Apache/2.4.10 (Debian)" | |
|
360 | ], | |
|
361 | "x-xss-protection": [ | |
|
362 | "1; mode=block" | |
|
363 | ], | |
|
364 | "x-frame-options": [ | |
|
365 | "Deny" | |
|
366 | ], | |
|
367 | "expires": [ | |
|
368 | "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 | ] | |
|
379 | }, | |
|
380 | "status": { | |
|
381 | "message": "OK", | |
|
382 | "code": 200 | |
|
383 | }, | |
|
384 | "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}" | |
|
386 | } | |
|
387 | }, | |
|
388 | "request": { | |
|
389 | "method": "POST", | |
|
390 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
391 | "headers": { | |
|
392 | "content-length": [ | |
|
393 | "253" | |
|
394 | ], | |
|
395 | "accept": [ | |
|
396 | "application/mercurial-0.1" | |
|
397 | ], | |
|
398 | "content-type": [ | |
|
399 | "application/x-www-form-urlencoded" | |
|
400 | ], | |
|
401 | "user-agent": [ | |
|
402 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
403 | ], | |
|
404 | "host": [ | |
|
405 | "phab.mercurial-scm.org" | |
|
406 | ] | |
|
407 | }, | |
|
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 | } | |
|
410 | }, | |
|
411 | { | |
|
412 | "response": { | |
|
413 | "headers": { | |
|
414 | "content-type": [ | |
|
415 | "application/json" | |
|
416 | ], | |
|
417 | "date": [ | |
|
418 | "Thu, 10 Jan 2019 04:08:28 GMT" | |
|
419 | ], | |
|
420 | "x-content-type-options": [ | |
|
421 | "nosniff" | |
|
422 | ], | |
|
423 | "cache-control": [ | |
|
424 | "no-store" | |
|
425 | ], | |
|
426 | "server": [ | |
|
427 | "Apache/2.4.10 (Debian)" | |
|
428 | ], | |
|
429 | "x-xss-protection": [ | |
|
430 | "1; mode=block" | |
|
431 | ], | |
|
432 | "x-frame-options": [ | |
|
433 | "Deny" | |
|
434 | ], | |
|
435 | "expires": [ | |
|
436 | "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 | ] | |
|
447 | }, | |
|
448 | "status": { | |
|
449 | "message": "OK", | |
|
450 | "code": 200 | |
|
451 | }, | |
|
452 | "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}" | |
|
454 | } | |
|
455 | }, | |
|
456 | "request": { | |
|
457 | "method": "POST", | |
|
458 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
|
459 | "headers": { | |
|
460 | "content-length": [ | |
|
461 | "232" | |
|
462 | ], | |
|
463 | "accept": [ | |
|
464 | "application/mercurial-0.1" | |
|
465 | ], | |
|
466 | "content-type": [ | |
|
467 | "application/x-www-form-urlencoded" | |
|
468 | ], | |
|
469 | "user-agent": [ | |
|
470 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
471 | ], | |
|
472 | "host": [ | |
|
473 | "phab.mercurial-scm.org" | |
|
474 | ] | |
|
475 | }, | |
|
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 | } | |
|
478 | }, | |
|
479 | { | |
|
480 | "response": { | |
|
481 | "headers": { | |
|
482 | "content-type": [ | |
|
483 | "application/json" | |
|
484 | ], | |
|
485 | "date": [ | |
|
486 | "Thu, 10 Jan 2019 04:08:29 GMT" | |
|
487 | ], | |
|
488 | "x-content-type-options": [ | |
|
489 | "nosniff" | |
|
490 | ], | |
|
491 | "cache-control": [ | |
|
492 | "no-store" | |
|
493 | ], | |
|
494 | "server": [ | |
|
495 | "Apache/2.4.10 (Debian)" | |
|
496 | ], | |
|
497 | "x-xss-protection": [ | |
|
498 | "1; mode=block" | |
|
499 | ], | |
|
500 | "x-frame-options": [ | |
|
501 | "Deny" | |
|
502 | ], | |
|
503 | "expires": [ | |
|
504 | "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 | ] | |
|
515 | }, | |
|
516 | "status": { | |
|
517 | "message": "OK", | |
|
518 | "code": 200 | |
|
519 | }, | |
|
520 | "body": { | |
|
521 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
522 | } | |
|
523 | }, | |
|
524 | "request": { | |
|
525 | "method": "POST", | |
|
526 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
527 | "headers": { | |
|
528 | "content-length": [ | |
|
529 | "264" | |
|
530 | ], | |
|
531 | "accept": [ | |
|
532 | "application/mercurial-0.1" | |
|
533 | ], | |
|
534 | "content-type": [ | |
|
535 | "application/x-www-form-urlencoded" | |
|
536 | ], | |
|
537 | "user-agent": [ | |
|
538 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
539 | ], | |
|
540 | "host": [ | |
|
541 | "phab.mercurial-scm.org" | |
|
542 | ] | |
|
543 | }, | |
|
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 | } | |
|
546 | }, | |
|
547 | { | |
|
548 | "response": { | |
|
549 | "headers": { | |
|
550 | "content-type": [ | |
|
551 | "application/json" | |
|
552 | ], | |
|
553 | "date": [ | |
|
554 | "Thu, 10 Jan 2019 04:08:29 GMT" | |
|
555 | ], | |
|
556 | "x-content-type-options": [ | |
|
557 | "nosniff" | |
|
558 | ], | |
|
559 | "cache-control": [ | |
|
560 | "no-store" | |
|
561 | ], | |
|
562 | "server": [ | |
|
563 | "Apache/2.4.10 (Debian)" | |
|
564 | ], | |
|
565 | "x-xss-protection": [ | |
|
566 | "1; mode=block" | |
|
567 | ], | |
|
568 | "x-frame-options": [ | |
|
569 | "Deny" | |
|
570 | ], | |
|
571 | "expires": [ | |
|
572 | "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 | ] | |
|
583 | }, | |
|
584 | "status": { | |
|
585 | "message": "OK", | |
|
586 | "code": 200 | |
|
587 | }, | |
|
588 | "body": { | |
|
589 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
590 | } | |
|
591 | }, | |
|
592 | "request": { | |
|
593 | "method": "POST", | |
|
594 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
595 | "headers": { | |
|
596 | "content-length": [ | |
|
597 | "227" | |
|
598 | ], | |
|
599 | "accept": [ | |
|
600 | "application/mercurial-0.1" | |
|
601 | ], | |
|
602 | "content-type": [ | |
|
603 | "application/x-www-form-urlencoded" | |
|
604 | ], | |
|
605 | "user-agent": [ | |
|
606 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
607 | ], | |
|
608 | "host": [ | |
|
609 | "phab.mercurial-scm.org" | |
|
610 | ] | |
|
611 | }, | |
|
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 | } | |
|
614 | }, | |
|
615 | { | |
|
616 | "response": { | |
|
617 | "headers": { | |
|
618 | "content-type": [ | |
|
619 | "application/json" | |
|
620 | ], | |
|
621 | "date": [ | |
|
622 | "Thu, 10 Jan 2019 04:08:30 GMT" | |
|
623 | ], | |
|
624 | "x-content-type-options": [ | |
|
625 | "nosniff" | |
|
626 | ], | |
|
627 | "cache-control": [ | |
|
628 | "no-store" | |
|
629 | ], | |
|
630 | "server": [ | |
|
631 | "Apache/2.4.10 (Debian)" | |
|
632 | ], | |
|
633 | "x-xss-protection": [ | |
|
634 | "1; mode=block" | |
|
635 | ], | |
|
636 | "x-frame-options": [ | |
|
637 | "Deny" | |
|
638 | ], | |
|
639 | "expires": [ | |
|
640 | "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 | ] | |
|
651 | }, | |
|
652 | "status": { | |
|
653 | "message": "OK", | |
|
654 | "code": 200 | |
|
655 | }, | |
|
656 | "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}" | |
|
658 | } | |
|
659 | }, | |
|
660 | "request": { | |
|
661 | "method": "POST", | |
|
662 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
|
663 | "headers": { | |
|
664 | "content-length": [ | |
|
665 | "93" | |
|
666 | ], | |
|
667 | "accept": [ | |
|
668 | "application/mercurial-0.1" | |
|
669 | ], | |
|
670 | "content-type": [ | |
|
671 | "application/x-www-form-urlencoded" | |
|
672 | ], | |
|
673 | "user-agent": [ | |
|
674 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
675 | ], | |
|
676 | "host": [ | |
|
677 | "phab.mercurial-scm.org" | |
|
678 | ] | |
|
679 | }, | |
|
680 | "body": "corpus=create+draft+change+for+phabricator+testing&api.token=cli-hahayouwish" | |
|
681 | } | |
|
682 | }, | |
|
683 | { | |
|
684 | "response": { | |
|
685 | "headers": { | |
|
686 | "content-type": [ | |
|
687 | "application/json" | |
|
688 | ], | |
|
689 | "date": [ | |
|
690 | "Thu, 10 Jan 2019 04:08:31 GMT" | |
|
691 | ], | |
|
692 | "x-content-type-options": [ | |
|
693 | "nosniff" | |
|
694 | ], | |
|
695 | "cache-control": [ | |
|
696 | "no-store" | |
|
697 | ], | |
|
698 | "server": [ | |
|
699 | "Apache/2.4.10 (Debian)" | |
|
700 | ], | |
|
701 | "x-xss-protection": [ | |
|
702 | "1; mode=block" | |
|
703 | ], | |
|
704 | "x-frame-options": [ | |
|
705 | "Deny" | |
|
706 | ], | |
|
707 | "expires": [ | |
|
708 | "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 | ] | |
|
719 | }, | |
|
720 | "status": { | |
|
721 | "message": "OK", | |
|
722 | "code": 200 | |
|
723 | }, | |
|
724 | "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}" | |
|
726 | } | |
|
727 | }, | |
|
728 | "request": { | |
|
729 | "method": "POST", | |
|
730 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
|
731 | "headers": { | |
|
732 | "content-length": [ | |
|
733 | "409" | |
|
734 | ], | |
|
735 | "accept": [ | |
|
736 | "application/mercurial-0.1" | |
|
737 | ], | |
|
738 | "content-type": [ | |
|
739 | "application/x-www-form-urlencoded" | |
|
740 | ], | |
|
741 | "user-agent": [ | |
|
742 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
743 | ], | |
|
744 | "host": [ | |
|
745 | "phab.mercurial-scm.org" | |
|
746 | ] | |
|
747 | }, | |
|
748 | "body": "transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-iksauhhfhmxfjijyqxji&transactions%5B1%5D%5Btype%5D=summary&transactions%5B1%5D%5Bvalue%5D=Depends+on+D5544&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&api.token=cli-hahayouwish" | |
|
749 | } | |
|
750 | }, | |
|
751 | { | |
|
752 | "response": { | |
|
753 | "headers": { | |
|
754 | "content-type": [ | |
|
755 | "application/json" | |
|
756 | ], | |
|
757 | "date": [ | |
|
758 | "Thu, 10 Jan 2019 04:08:32 GMT" | |
|
759 | ], | |
|
760 | "x-content-type-options": [ | |
|
761 | "nosniff" | |
|
762 | ], | |
|
763 | "cache-control": [ | |
|
764 | "no-store" | |
|
765 | ], | |
|
766 | "server": [ | |
|
767 | "Apache/2.4.10 (Debian)" | |
|
768 | ], | |
|
769 | "x-xss-protection": [ | |
|
770 | "1; mode=block" | |
|
771 | ], | |
|
772 | "x-frame-options": [ | |
|
773 | "Deny" | |
|
774 | ], | |
|
775 | "expires": [ | |
|
776 | "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 | ] | |
|
787 | }, | |
|
788 | "status": { | |
|
789 | "message": "OK", | |
|
790 | "code": 200 | |
|
791 | }, | |
|
792 | "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}" | |
|
794 | } | |
|
795 | }, | |
|
796 | "request": { | |
|
797 | "method": "POST", | |
|
798 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
|
799 | "headers": { | |
|
800 | "content-length": [ | |
|
801 | "74" | |
|
802 | ], | |
|
803 | "accept": [ | |
|
804 | "application/mercurial-0.1" | |
|
805 | ], | |
|
806 | "content-type": [ | |
|
807 | "application/x-www-form-urlencoded" | |
|
808 | ], | |
|
809 | "user-agent": [ | |
|
810 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
811 | ], | |
|
812 | "host": [ | |
|
813 | "phab.mercurial-scm.org" | |
|
814 | ] | |
|
815 | }, | |
|
816 | "body": "ids%5B0%5D=5544&ids%5B1%5D=5545&api.token=cli-hahayouwish" | |
|
817 | } | |
|
818 | }, | |
|
819 | { | |
|
820 | "response": { | |
|
821 | "headers": { | |
|
822 | "content-type": [ | |
|
823 | "application/json" | |
|
824 | ], | |
|
825 | "date": [ | |
|
826 | "Thu, 10 Jan 2019 04:08:32 GMT" | |
|
827 | ], | |
|
828 | "x-content-type-options": [ | |
|
829 | "nosniff" | |
|
830 | ], | |
|
831 | "cache-control": [ | |
|
832 | "no-store" | |
|
833 | ], | |
|
834 | "server": [ | |
|
835 | "Apache/2.4.10 (Debian)" | |
|
836 | ], | |
|
837 | "x-xss-protection": [ | |
|
838 | "1; mode=block" | |
|
839 | ], | |
|
840 | "x-frame-options": [ | |
|
841 | "Deny" | |
|
842 | ], | |
|
843 | "expires": [ | |
|
844 | "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 | ] | |
|
855 | }, | |
|
856 | "status": { | |
|
857 | "message": "OK", | |
|
858 | "code": 200 | |
|
859 | }, | |
|
860 | "body": { | |
|
861 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
862 | } | |
|
863 | }, | |
|
864 | "request": { | |
|
865 | "method": "POST", | |
|
866 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
867 | "headers": { | |
|
868 | "content-length": [ | |
|
869 | "264" | |
|
870 | ], | |
|
871 | "accept": [ | |
|
872 | "application/mercurial-0.1" | |
|
873 | ], | |
|
874 | "content-type": [ | |
|
875 | "application/x-www-form-urlencoded" | |
|
876 | ], | |
|
877 | "user-agent": [ | |
|
878 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
879 | ], | |
|
880 | "host": [ | |
|
881 | "phab.mercurial-scm.org" | |
|
882 | ] | |
|
883 | }, | |
|
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 | } | |
|
886 | }, | |
|
887 | { | |
|
888 | "response": { | |
|
889 | "headers": { | |
|
890 | "content-type": [ | |
|
891 | "application/json" | |
|
892 | ], | |
|
893 | "date": [ | |
|
894 | "Thu, 10 Jan 2019 04:08:33 GMT" | |
|
895 | ], | |
|
896 | "x-content-type-options": [ | |
|
897 | "nosniff" | |
|
898 | ], | |
|
899 | "cache-control": [ | |
|
900 | "no-store" | |
|
901 | ], | |
|
902 | "server": [ | |
|
903 | "Apache/2.4.10 (Debian)" | |
|
904 | ], | |
|
905 | "x-xss-protection": [ | |
|
906 | "1; mode=block" | |
|
907 | ], | |
|
908 | "x-frame-options": [ | |
|
909 | "Deny" | |
|
910 | ], | |
|
911 | "expires": [ | |
|
912 | "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 | ] | |
|
923 | }, | |
|
924 | "status": { | |
|
925 | "message": "OK", | |
|
926 | "code": 200 | |
|
927 | }, | |
|
928 | "body": { | |
|
929 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
|
930 | } | |
|
931 | }, | |
|
932 | "request": { | |
|
933 | "method": "POST", | |
|
934 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
|
935 | "headers": { | |
|
936 | "content-length": [ | |
|
937 | "227" | |
|
938 | ], | |
|
939 | "accept": [ | |
|
940 | "application/mercurial-0.1" | |
|
941 | ], | |
|
942 | "content-type": [ | |
|
943 | "application/x-www-form-urlencoded" | |
|
944 | ], | |
|
945 | "user-agent": [ | |
|
946 | "mercurial/proto-1.0 (Mercurial 4.8.2+682-e2cf04a597cc+20190109)" | |
|
947 | ], | |
|
948 | "host": [ | |
|
949 | "phab.mercurial-scm.org" | |
|
950 | ] | |
|
951 | }, | |
|
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" | |
|
953 | } | |
|
954 | } | |
|
955 | ], | |
|
956 | "version": 1 | |
|
957 | } No newline at end of file |
@@ -59,6 +59,7 b' from mercurial import (' | |||
|
59 | 59 | obsutil, |
|
60 | 60 | parser, |
|
61 | 61 | patch, |
|
62 | phases, | |
|
62 | 63 | registrar, |
|
63 | 64 | scmutil, |
|
64 | 65 | smartset, |
@@ -584,6 +585,10 b' def phabsend(ui, repo, *revs, **opts):' | |||
|
584 | 585 | newdesc = encoding.unitolocal(newdesc) |
|
585 | 586 | # Make sure commit message contain "Differential Revision" |
|
586 | 587 | if old.description() != newdesc: |
|
588 | if old.phase() == phases.public: | |
|
589 | ui.warn(_("warning: not updating public commit %s\n") | |
|
590 | % scmutil.formatchangeid(old)) | |
|
591 | continue | |
|
587 | 592 | parents = [ |
|
588 | 593 | mapping.get(old.p1().node(), (old.p1(),))[0], |
|
589 | 594 | mapping.get(old.p2().node(), (old.p2(),))[0], |
@@ -65,6 +65,23 b' Create a differential diff:' | |||
|
65 | 65 | D4597 - created - 1a5640df7bbf: create beta for phabricator test |
|
66 | 66 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/1a5640df7bbf-6daf3e6e-phabsend.hg |
|
67 | 67 | |
|
68 | The amend won't explode after posting a public commit. The local tag is left | |
|
69 | behind to identify it. | |
|
70 | ||
|
71 | $ echo 'public change' > beta | |
|
72 | $ hg ci -m 'create public change for phabricator testing' | |
|
73 | $ hg phase --public . | |
|
74 | $ echo 'draft change' > alpha | |
|
75 | $ hg ci -m 'create draft change for phabricator testing' | |
|
76 | $ hg phabsend --amend -r '.^::' --test-vcr "$VCR/phabsend-create-public.json" | |
|
77 | D5544 - created - 540a21d3fbeb: create public change for phabricator testing | |
|
78 | D5545 - created - 6bca752686cd: create draft change for phabricator testing | |
|
79 | warning: not updating public commit 2:540a21d3fbeb | |
|
80 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/6bca752686cd-41faefb4-phabsend.hg | |
|
81 | $ hg tags -v | |
|
82 | tip 3:620a50fd6ed9 | |
|
83 | D5544 2:540a21d3fbeb local | |
|
84 | ||
|
68 | 85 | $ hg debugcallconduit user.search --test-vcr "$VCR/phab-conduit.json" <<EOF |
|
69 | 86 | > { |
|
70 | 87 | > "constraints": { |
@@ -88,10 +105,14 b' Create a differential diff:' | |||
|
88 | 105 | |
|
89 | 106 |
|
|
90 | 107 |
$ |
|
108 | 3 {"id": "D5545", "url": "https://phab.mercurial-scm.org/D5545"} | |
|
109 | 2 null | |
|
91 | 110 |
|
|
92 | 111 |
0 { |
|
93 | 112 | |
|
94 |
|
|
|
113 | $ hg log -T'{rev} {if(phabreview, "{phabreview.url} {phabreview.id}")}\n' | |
|
114 | 3 https://phab.mercurial-scm.org/D5545 D5545 | |
|
115 | 2 | |
|
95 | 116 |
|
|
96 | 117 |
|
|
97 | 118 |
General Comments 0
You need to be logged in to leave comments.
Login now