Show More
@@ -127,6 +127,13 b' colortable = {' | |||||
127 |
|
127 | |||
128 | def vcrcommand(name, flags, spec, helpcategory=None): |
|
128 | def vcrcommand(name, flags, spec, helpcategory=None): | |
129 | fullflags = flags + _VCR_FLAGS |
|
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 | def decorate(fn): |
|
137 | def decorate(fn): | |
131 | def inner(*args, **kwargs): |
|
138 | def inner(*args, **kwargs): | |
132 | cassette = pycompat.fsdecode(kwargs.pop(r'test_vcr', None)) |
|
139 | cassette = pycompat.fsdecode(kwargs.pop(r'test_vcr', None)) | |
@@ -143,7 +150,8 b' def vcrcommand(name, flags, spec, helpca' | |||||
143 | (urlmod, r'httpsconnection', |
|
150 | (urlmod, r'httpsconnection', | |
144 | stubs.VCRHTTPSConnection), |
|
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 | return fn(*args, **kwargs) |
|
155 | return fn(*args, **kwargs) | |
148 | return fn(*args, **kwargs) |
|
156 | return fn(*args, **kwargs) | |
149 | inner.__name__ = fn.__name__ |
|
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 b'' | |||||
1 | { |
|
1 | { | |
|
2 | "version": 1, | |||
2 | "interactions": [ |
|
3 | "interactions": [ | |
3 | { |
|
4 | { | |
4 | "request": { |
|
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 | "headers": { |
|
6 | "headers": { | |
|
7 | "user-agent": [ | |||
|
8 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
9 | ], | |||
|
10 | "content-length": [ | |||
|
11 | "93" | |||
|
12 | ], | |||
9 | "content-type": [ |
|
13 | "content-type": [ | |
10 | "application/x-www-form-urlencoded" |
|
14 | "application/x-www-form-urlencoded" | |
11 | ], |
|
15 | ], | |
12 | "accept": [ |
|
16 | "accept": [ | |
13 | "application/mercurial-0.1" |
|
17 | "application/mercurial-0.1" | |
14 | ], |
|
18 | ], | |
15 | "user-agent": [ |
|
|||
16 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
17 | ], |
|
|||
18 | "host": [ |
|
19 | "host": [ | |
19 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
27 | "response": { | |
27 | "status": { |
|
28 | "status": { | |
28 | "code": 200, |
|
29 | "code": 200, | |
29 | "message": "OK" |
|
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 | "headers": { |
|
32 | "headers": { | |
35 | "expires": [ |
|
|||
36 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
37 | ], |
|
|||
38 | "x-xss-protection": [ |
|
33 | "x-xss-protection": [ | |
39 | "1; mode=block" |
|
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 | "cache-control": [ |
|
36 | "cache-control": [ | |
51 | "no-store" |
|
37 | "no-store" | |
52 | ], |
|
38 | ], | |
53 | "content-type": [ |
|
39 | "content-type": [ | |
54 | "application/json" |
|
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 | "x-content-type-options": [ |
|
60 | "x-content-type-options": [ | |
57 | "nosniff" |
|
61 | "nosniff" | |
58 | ], |
|
62 | ], | |
59 |
" |
|
63 | "expires": [ | |
60 | "Apache/2.4.10 (Debian)" |
|
64 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
74 | "headers": { | |
|
75 | "user-agent": [ | |||
|
76 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
77 | ], | |||
|
78 | "content-length": [ | |||
|
79 | "235" | |||
|
80 | ], | |||
77 | "content-type": [ |
|
81 | "content-type": [ | |
78 | "application/x-www-form-urlencoded" |
|
82 | "application/x-www-form-urlencoded" | |
79 | ], |
|
83 | ], | |
80 | "accept": [ |
|
84 | "accept": [ | |
81 | "application/mercurial-0.1" |
|
85 | "application/mercurial-0.1" | |
82 | ], |
|
86 | ], | |
83 | "user-agent": [ |
|
|||
84 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
85 | ], |
|
|||
86 | "host": [ |
|
87 | "host": [ | |
87 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
95 | "response": { | |
95 | "status": { |
|
96 | "status": { | |
96 | "code": 200, |
|
97 | "code": 200, | |
97 | "message": "OK" |
|
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 | "headers": { |
|
100 | "headers": { | |
103 | "expires": [ |
|
|||
104 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
105 | ], |
|
|||
106 | "x-xss-protection": [ |
|
101 | "x-xss-protection": [ | |
107 | "1; mode=block" |
|
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 | "cache-control": [ |
|
104 | "cache-control": [ | |
119 | "no-store" |
|
105 | "no-store" | |
120 | ], |
|
106 | ], | |
121 | "content-type": [ |
|
107 | "content-type": [ | |
122 | "application/json" |
|
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 | "x-content-type-options": [ |
|
128 | "x-content-type-options": [ | |
125 | "nosniff" |
|
129 | "nosniff" | |
126 | ], |
|
130 | ], | |
127 |
" |
|
131 | "expires": [ | |
128 | "Apache/2.4.10 (Debian)" |
|
132 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
142 | "headers": { | |
|
143 | "user-agent": [ | |||
|
144 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
145 | ], | |||
|
146 | "content-length": [ | |||
|
147 | "296" | |||
|
148 | ], | |||
145 | "content-type": [ |
|
149 | "content-type": [ | |
146 | "application/x-www-form-urlencoded" |
|
150 | "application/x-www-form-urlencoded" | |
147 | ], |
|
151 | ], | |
148 | "accept": [ |
|
152 | "accept": [ | |
149 | "application/mercurial-0.1" |
|
153 | "application/mercurial-0.1" | |
150 | ], |
|
154 | ], | |
151 | "user-agent": [ |
|
|||
152 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
153 | ], |
|
|||
154 | "host": [ |
|
155 | "host": [ | |
155 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
163 | "response": { | |
163 | "status": { |
|
164 | "status": { | |
164 | "code": 200, |
|
165 | "code": 200, | |
165 | "message": "OK" |
|
166 | "message": "OK" | |
166 | }, |
|
167 | }, | |
167 | "body": { |
|
|||
168 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
169 | }, |
|
|||
170 | "headers": { |
|
168 | "headers": { | |
171 | "expires": [ |
|
|||
172 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
173 | ], |
|
|||
174 | "x-xss-protection": [ |
|
169 | "x-xss-protection": [ | |
175 | "1; mode=block" |
|
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 | "cache-control": [ |
|
172 | "cache-control": [ | |
187 | "no-store" |
|
173 | "no-store" | |
188 | ], |
|
174 | ], | |
189 | "content-type": [ |
|
175 | "content-type": [ | |
190 | "application/json" |
|
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 | "x-content-type-options": [ |
|
196 | "x-content-type-options": [ | |
193 | "nosniff" |
|
197 | "nosniff" | |
194 | ], |
|
198 | ], | |
195 |
" |
|
199 | "expires": [ | |
196 | "Apache/2.4.10 (Debian)" |
|
200 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
203 | ] |
|
201 | ] | |
|
202 | }, | |||
|
203 | "body": { | |||
|
204 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
204 | } |
|
205 | } | |
205 | } |
|
206 | } | |
206 | }, |
|
207 | }, | |
207 | { |
|
208 | { | |
208 | "request": { |
|
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 | "headers": { |
|
210 | "headers": { | |
|
211 | "user-agent": [ | |||
|
212 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
213 | ], | |||
|
214 | "content-length": [ | |||
|
215 | "257" | |||
|
216 | ], | |||
213 | "content-type": [ |
|
217 | "content-type": [ | |
214 | "application/x-www-form-urlencoded" |
|
218 | "application/x-www-form-urlencoded" | |
215 | ], |
|
219 | ], | |
216 | "accept": [ |
|
220 | "accept": [ | |
217 | "application/mercurial-0.1" |
|
221 | "application/mercurial-0.1" | |
218 | ], |
|
222 | ], | |
219 | "user-agent": [ |
|
|||
220 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
221 | ], |
|
|||
222 | "host": [ |
|
223 | "host": [ | |
223 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
231 | "response": { | |
231 | "status": { |
|
232 | "status": { | |
232 | "code": 200, |
|
233 | "code": 200, | |
233 | "message": "OK" |
|
234 | "message": "OK" | |
234 | }, |
|
235 | }, | |
235 | "body": { |
|
|||
236 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
237 | }, |
|
|||
238 | "headers": { |
|
236 | "headers": { | |
239 | "expires": [ |
|
|||
240 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
241 | ], |
|
|||
242 | "x-xss-protection": [ |
|
237 | "x-xss-protection": [ | |
243 | "1; mode=block" |
|
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 | "cache-control": [ |
|
240 | "cache-control": [ | |
255 | "no-store" |
|
241 | "no-store" | |
256 | ], |
|
242 | ], | |
257 | "content-type": [ |
|
243 | "content-type": [ | |
258 | "application/json" |
|
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 | "x-content-type-options": [ |
|
264 | "x-content-type-options": [ | |
261 | "nosniff" |
|
265 | "nosniff" | |
262 | ], |
|
266 | ], | |
263 |
" |
|
267 | "expires": [ | |
264 | "Apache/2.4.10 (Debian)" |
|
268 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
271 | ] |
|
269 | ] | |
|
270 | }, | |||
|
271 | "body": { | |||
|
272 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
272 | } |
|
273 | } | |
273 | } |
|
274 | } | |
274 | }, |
|
275 | }, | |
275 | { |
|
276 | { | |
276 | "request": { |
|
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 | "headers": { |
|
278 | "headers": { | |
|
279 | "user-agent": [ | |||
|
280 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
281 | ], | |||
|
282 | "content-length": [ | |||
|
283 | "93" | |||
|
284 | ], | |||
281 | "content-type": [ |
|
285 | "content-type": [ | |
282 | "application/x-www-form-urlencoded" |
|
286 | "application/x-www-form-urlencoded" | |
283 | ], |
|
287 | ], | |
284 | "accept": [ |
|
288 | "accept": [ | |
285 | "application/mercurial-0.1" |
|
289 | "application/mercurial-0.1" | |
286 | ], |
|
290 | ], | |
287 | "user-agent": [ |
|
|||
288 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
289 | ], |
|
|||
290 | "host": [ |
|
291 | "host": [ | |
291 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
299 | "response": { | |
299 | "status": { |
|
300 | "status": { | |
300 | "code": 200, |
|
301 | "code": 200, | |
301 | "message": "OK" |
|
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 | "headers": { |
|
304 | "headers": { | |
307 | "expires": [ |
|
|||
308 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
309 | ], |
|
|||
310 | "x-xss-protection": [ |
|
305 | "x-xss-protection": [ | |
311 | "1; mode=block" |
|
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 | "cache-control": [ |
|
308 | "cache-control": [ | |
323 | "no-store" |
|
309 | "no-store" | |
324 | ], |
|
310 | ], | |
325 | "content-type": [ |
|
311 | "content-type": [ | |
326 | "application/json" |
|
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 | "x-content-type-options": [ |
|
332 | "x-content-type-options": [ | |
329 | "nosniff" |
|
333 | "nosniff" | |
330 | ], |
|
334 | ], | |
331 |
" |
|
335 | "expires": [ | |
332 | "Apache/2.4.10 (Debian)" |
|
336 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
346 | "headers": { | |
|
347 | "user-agent": [ | |||
|
348 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
349 | ], | |||
|
350 | "content-length": [ | |||
|
351 | "252" | |||
|
352 | ], | |||
349 | "content-type": [ |
|
353 | "content-type": [ | |
350 | "application/x-www-form-urlencoded" |
|
354 | "application/x-www-form-urlencoded" | |
351 | ], |
|
355 | ], | |
352 | "accept": [ |
|
356 | "accept": [ | |
353 | "application/mercurial-0.1" |
|
357 | "application/mercurial-0.1" | |
354 | ], |
|
358 | ], | |
355 | "user-agent": [ |
|
|||
356 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
357 | ], |
|
|||
358 | "host": [ |
|
359 | "host": [ | |
359 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
367 | "response": { | |
367 | "status": { |
|
368 | "status": { | |
368 | "code": 200, |
|
369 | "code": 200, | |
369 | "message": "OK" |
|
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 | "headers": { |
|
372 | "headers": { | |
375 | "expires": [ |
|
|||
376 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
377 | ], |
|
|||
378 | "x-xss-protection": [ |
|
373 | "x-xss-protection": [ | |
379 | "1; mode=block" |
|
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 | "cache-control": [ |
|
376 | "cache-control": [ | |
391 | "no-store" |
|
377 | "no-store" | |
392 | ], |
|
378 | ], | |
393 | "content-type": [ |
|
379 | "content-type": [ | |
394 | "application/json" |
|
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 | "x-content-type-options": [ |
|
400 | "x-content-type-options": [ | |
397 | "nosniff" |
|
401 | "nosniff" | |
398 | ], |
|
402 | ], | |
399 |
" |
|
403 | "expires": [ | |
400 | "Apache/2.4.10 (Debian)" |
|
404 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
414 | "headers": { | |
|
415 | "user-agent": [ | |||
|
416 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
417 | ], | |||
|
418 | "content-length": [ | |||
|
419 | "58" | |||
|
420 | ], | |||
417 | "content-type": [ |
|
421 | "content-type": [ | |
418 | "application/x-www-form-urlencoded" |
|
422 | "application/x-www-form-urlencoded" | |
419 | ], |
|
423 | ], | |
420 | "accept": [ |
|
424 | "accept": [ | |
421 | "application/mercurial-0.1" |
|
425 | "application/mercurial-0.1" | |
422 | ], |
|
426 | ], | |
423 | "user-agent": [ |
|
|||
424 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
425 | ], |
|
|||
426 | "host": [ |
|
427 | "host": [ | |
427 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
435 | "response": { | |
435 | "status": { |
|
436 | "status": { | |
436 | "code": 200, |
|
437 | "code": 200, | |
437 | "message": "OK" |
|
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 | "headers": { |
|
440 | "headers": { | |
443 | "expires": [ |
|
|||
444 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
445 | ], |
|
|||
446 | "x-xss-protection": [ |
|
441 | "x-xss-protection": [ | |
447 | "1; mode=block" |
|
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 | "cache-control": [ |
|
444 | "cache-control": [ | |
459 | "no-store" |
|
445 | "no-store" | |
460 | ], |
|
446 | ], | |
461 | "content-type": [ |
|
447 | "content-type": [ | |
462 | "application/json" |
|
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 | "x-content-type-options": [ |
|
468 | "x-content-type-options": [ | |
465 | "nosniff" |
|
469 | "nosniff" | |
466 | ], |
|
470 | ], | |
467 |
" |
|
471 | "expires": [ | |
468 | "Apache/2.4.10 (Debian)" |
|
472 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
482 | "headers": { | |
|
483 | "user-agent": [ | |||
|
484 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
485 | ], | |||
|
486 | "content-length": [ | |||
|
487 | "296" | |||
|
488 | ], | |||
485 | "content-type": [ |
|
489 | "content-type": [ | |
486 | "application/x-www-form-urlencoded" |
|
490 | "application/x-www-form-urlencoded" | |
487 | ], |
|
491 | ], | |
488 | "accept": [ |
|
492 | "accept": [ | |
489 | "application/mercurial-0.1" |
|
493 | "application/mercurial-0.1" | |
490 | ], |
|
494 | ], | |
491 | "user-agent": [ |
|
|||
492 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
493 | ], |
|
|||
494 | "host": [ |
|
495 | "host": [ | |
495 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
503 | "response": { | |
503 | "status": { |
|
504 | "status": { | |
504 | "code": 200, |
|
505 | "code": 200, | |
505 | "message": "OK" |
|
506 | "message": "OK" | |
506 | }, |
|
507 | }, | |
507 | "body": { |
|
|||
508 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
509 | }, |
|
|||
510 | "headers": { |
|
508 | "headers": { | |
511 | "expires": [ |
|
|||
512 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
513 | ], |
|
|||
514 | "x-xss-protection": [ |
|
509 | "x-xss-protection": [ | |
515 | "1; mode=block" |
|
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 | "cache-control": [ |
|
512 | "cache-control": [ | |
527 | "no-store" |
|
513 | "no-store" | |
528 | ], |
|
514 | ], | |
529 | "content-type": [ |
|
515 | "content-type": [ | |
530 | "application/json" |
|
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 | "x-content-type-options": [ |
|
536 | "x-content-type-options": [ | |
533 | "nosniff" |
|
537 | "nosniff" | |
534 | ], |
|
538 | ], | |
535 |
" |
|
539 | "expires": [ | |
536 | "Apache/2.4.10 (Debian)" |
|
540 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
543 | ] |
|
541 | ] | |
|
542 | }, | |||
|
543 | "body": { | |||
|
544 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
544 | } |
|
545 | } | |
545 | } |
|
546 | } | |
546 | }, |
|
547 | }, | |
547 | { |
|
548 | { | |
548 | "request": { |
|
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 | "headers": { |
|
550 | "headers": { | |
|
551 | "user-agent": [ | |||
|
552 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
553 | ], | |||
|
554 | "content-length": [ | |||
|
555 | "257" | |||
|
556 | ], | |||
553 | "content-type": [ |
|
557 | "content-type": [ | |
554 | "application/x-www-form-urlencoded" |
|
558 | "application/x-www-form-urlencoded" | |
555 | ], |
|
559 | ], | |
556 | "accept": [ |
|
560 | "accept": [ | |
557 | "application/mercurial-0.1" |
|
561 | "application/mercurial-0.1" | |
558 | ], |
|
562 | ], | |
559 | "user-agent": [ |
|
|||
560 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
561 | ], |
|
|||
562 | "host": [ |
|
563 | "host": [ | |
563 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
571 | "response": { | |
571 | "status": { |
|
572 | "status": { | |
572 | "code": 200, |
|
573 | "code": 200, | |
573 | "message": "OK" |
|
574 | "message": "OK" | |
574 | }, |
|
575 | }, | |
575 | "body": { |
|
|||
576 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
577 | }, |
|
|||
578 | "headers": { |
|
576 | "headers": { | |
579 | "expires": [ |
|
|||
580 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
581 | ], |
|
|||
582 | "x-xss-protection": [ |
|
577 | "x-xss-protection": [ | |
583 | "1; mode=block" |
|
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 | "cache-control": [ |
|
580 | "cache-control": [ | |
595 | "no-store" |
|
581 | "no-store" | |
596 | ], |
|
582 | ], | |
597 | "content-type": [ |
|
583 | "content-type": [ | |
598 | "application/json" |
|
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 | "x-content-type-options": [ |
|
604 | "x-content-type-options": [ | |
601 | "nosniff" |
|
605 | "nosniff" | |
602 | ], |
|
606 | ], | |
603 |
" |
|
607 | "expires": [ | |
604 | "Apache/2.4.10 (Debian)" |
|
608 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
611 | ] |
|
609 | ] | |
|
610 | }, | |||
|
611 | "body": { | |||
|
612 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
612 | } |
|
613 | } | |
613 | } |
|
614 | } | |
614 | } |
|
615 | } | |
615 |
] |
|
616 | ] | |
616 | "version": 1 |
|
|||
617 | } |
|
617 | } |
This diff has been collapsed as it changes many lines, (1356 lines changed) Show them Hide them | |||||
@@ -1,957 +1,957 b'' | |||||
1 | { |
|
1 | { | |
|
2 | "version": 1, | |||
2 | "interactions": [ |
|
3 | "interactions": [ | |
3 | { |
|
4 | { | |
4 |
"re |
|
5 | "request": { | |
5 | "headers": { |
|
6 | "headers": { | |
|
7 | "user-agent": [ | |||
|
8 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
9 | ], | |||
|
10 | "content-length": [ | |||
|
11 | "93" | |||
|
12 | ], | |||
6 | "content-type": [ |
|
13 | "content-type": [ | |
7 |
"application/ |
|
14 | "application/x-www-form-urlencoded" | |
8 |
], |
|
15 | ], | |
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": [ |
|
16 | "accept": [ | |
56 | "application/mercurial-0.1" |
|
17 | "application/mercurial-0.1" | |
57 |
], |
|
18 | ], | |
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": [ |
|
19 | "host": [ | |
65 | "phab.mercurial-scm.org" |
|
20 | "phab.mercurial-scm.org" | |
66 | ] |
|
21 | ] | |
67 |
}, |
|
22 | }, | |
68 |
"body": "constraints%5Bcallsigns%5D%5B0%5D=HG |
|
23 | "body": "api.token=cli-hahayouwish&constraints%5Bcallsigns%5D%5B0%5D=HG", | |
69 | } |
|
24 | "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |
70 | }, |
|
25 | "method": "POST" | |
71 |
|
|
26 | }, | |
72 | "response": { |
|
27 | "response": { | |
|
28 | "status": { | |||
|
29 | "code": 200, | |||
|
30 | "message": "OK" | |||
|
31 | }, | |||
73 | "headers": { |
|
32 | "headers": { | |
|
33 | "x-xss-protection": [ | |||
|
34 | "1; mode=block" | |||
|
35 | ], | |||
|
36 | "cache-control": [ | |||
|
37 | "no-store" | |||
|
38 | ], | |||
74 | "content-type": [ |
|
39 | "content-type": [ | |
75 | "application/json" |
|
40 | "application/json" | |
76 |
], |
|
41 | ], | |
77 | "date": [ |
|
42 | "date": [ | |
78 |
" |
|
43 | "Sun, 05 May 2019 13:31:20 GMT" | |
79 |
], |
|
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 | ], | |||
80 | "x-content-type-options": [ |
|
60 | "x-content-type-options": [ | |
81 | "nosniff" |
|
61 | "nosniff" | |
82 |
], |
|
62 | ], | |
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": [ |
|
63 | "expires": [ | |
96 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
114 | } |
|
69 | } | |
115 |
} |
|
70 | } | |
|
71 | }, | |||
|
72 | { | |||
116 | "request": { |
|
73 | "request": { | |
117 | "method": "POST", |
|
|||
118 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", |
|
|||
119 | "headers": { |
|
74 | "headers": { | |
|
75 | "user-agent": [ | |||
|
76 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
77 | ], | |||
120 | "content-length": [ |
|
78 | "content-length": [ | |
121 | "220" |
|
79 | "220" | |
122 |
], |
|
80 | ], | |
|
81 | "content-type": [ | |||
|
82 | "application/x-www-form-urlencoded" | |||
|
83 | ], | |||
123 | "accept": [ |
|
84 | "accept": [ | |
124 | "application/mercurial-0.1" |
|
85 | "application/mercurial-0.1" | |
125 |
], |
|
86 | ], | |
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": [ |
|
87 | "host": [ | |
133 | "phab.mercurial-scm.org" |
|
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" |
|
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", | |
137 | } |
|
92 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
138 | }, |
|
93 | "method": "POST" | |
139 |
|
|
94 | }, | |
140 | "response": { |
|
95 | "response": { | |
|
96 | "status": { | |||
|
97 | "code": 200, | |||
|
98 | "message": "OK" | |||
|
99 | }, | |||
141 | "headers": { |
|
100 | "headers": { | |
|
101 | "x-xss-protection": [ | |||
|
102 | "1; mode=block" | |||
|
103 | ], | |||
|
104 | "cache-control": [ | |||
|
105 | "no-store" | |||
|
106 | ], | |||
142 | "content-type": [ |
|
107 | "content-type": [ | |
143 | "application/json" |
|
108 | "application/json" | |
144 |
], |
|
109 | ], | |
145 | "date": [ |
|
110 | "date": [ | |
146 |
" |
|
111 | "Sun, 05 May 2019 13:31:21 GMT" | |
147 |
], |
|
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 | ], | |||
148 | "x-content-type-options": [ |
|
128 | "x-content-type-options": [ | |
149 | "nosniff" |
|
129 | "nosniff" | |
150 |
], |
|
130 | ], | |
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": [ |
|
131 | "expires": [ | |
164 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
182 | } |
|
137 | } | |
183 |
} |
|
138 | } | |
|
139 | }, | |||
|
140 | { | |||
184 | "request": { |
|
141 | "request": { | |
185 | "method": "POST", |
|
|||
186 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", |
|
|||
187 | "headers": { |
|
142 | "headers": { | |
|
143 | "user-agent": [ | |||
|
144 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
145 | ], | |||
188 | "content-length": [ |
|
146 | "content-length": [ | |
189 |
"26 |
|
147 | "296" | |
190 |
], |
|
148 | ], | |
|
149 | "content-type": [ | |||
|
150 | "application/x-www-form-urlencoded" | |||
|
151 | ], | |||
191 | "accept": [ |
|
152 | "accept": [ | |
192 | "application/mercurial-0.1" |
|
153 | "application/mercurial-0.1" | |
193 |
], |
|
154 | ], | |
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": [ |
|
155 | "host": [ | |
201 | "phab.mercurial-scm.org" |
|
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" |
|
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", | |
205 | } |
|
160 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
206 | }, |
|
161 | "method": "POST" | |
207 |
|
|
162 | }, | |
208 | "response": { |
|
163 | "response": { | |
|
164 | "status": { | |||
|
165 | "code": 200, | |||
|
166 | "message": "OK" | |||
|
167 | }, | |||
209 | "headers": { |
|
168 | "headers": { | |
210 |
" |
|
169 | "x-xss-protection": [ | |
211 |
" |
|
170 | "1; mode=block" | |
212 |
], |
|
171 | ], | |
213 | "date": [ |
|
|||
214 | "Thu, 10 Jan 2019 04:08:26 GMT" |
|
|||
215 | ], |
|
|||
216 | "x-content-type-options": [ |
|
|||
217 | "nosniff" |
|
|||
218 | ], |
|
|||
219 | "cache-control": [ |
|
172 | "cache-control": [ | |
220 | "no-store" |
|
173 | "no-store" | |
221 |
], |
|
174 | ], | |
222 |
" |
|
175 | "content-type": [ | |
223 |
" |
|
176 | "application/json" | |
224 |
], |
|
177 | ], | |
225 |
" |
|
178 | "date": [ | |
226 | "1; mode=block" |
|
179 | "Sun, 05 May 2019 13:31:22 GMT" | |
227 |
], |
|
180 | ], | |
|
181 | "connection": [ | |||
|
182 | "keep-alive" | |||
|
183 | ], | |||
|
184 | "strict-transport-security": [ | |||
|
185 | "max-age=31536000; includeSubdomains; preload" | |||
|
186 | ], | |||
|
187 | "vary": [ | |||
|
188 | "Accept-Encoding" | |||
|
189 | ], | |||
228 | "x-frame-options": [ |
|
190 | "x-frame-options": [ | |
229 | "Deny" |
|
191 | "Deny" | |
230 |
], |
|
192 | ], | |
|
193 | "content-length": [ | |||
|
194 | "51" | |||
|
195 | ], | |||
|
196 | "x-content-type-options": [ | |||
|
197 | "nosniff" | |||
|
198 | ], | |||
231 | "expires": [ |
|
199 | "expires": [ | |
232 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
203 | "body": { | |
249 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
204 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
250 | } |
|
205 | } | |
251 |
} |
|
206 | } | |
|
207 | }, | |||
|
208 | { | |||
252 | "request": { |
|
209 | "request": { | |
253 | "method": "POST", |
|
|||
254 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", |
|
|||
255 | "headers": { |
|
210 | "headers": { | |
|
211 | "user-agent": [ | |||
|
212 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
213 | ], | |||
256 | "content-length": [ |
|
214 | "content-length": [ | |
257 |
"2 |
|
215 | "257" | |
258 |
], |
|
216 | ], | |
|
217 | "content-type": [ | |||
|
218 | "application/x-www-form-urlencoded" | |||
|
219 | ], | |||
259 | "accept": [ |
|
220 | "accept": [ | |
260 | "application/mercurial-0.1" |
|
221 | "application/mercurial-0.1" | |
261 |
], |
|
222 | ], | |
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": [ |
|
223 | "host": [ | |
269 | "phab.mercurial-scm.org" |
|
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" |
|
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", | |
273 | } |
|
228 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
274 | }, |
|
229 | "method": "POST" | |
275 |
|
|
230 | }, | |
276 | "response": { |
|
231 | "response": { | |
|
232 | "status": { | |||
|
233 | "code": 200, | |||
|
234 | "message": "OK" | |||
|
235 | }, | |||
277 | "headers": { |
|
236 | "headers": { | |
|
237 | "x-xss-protection": [ | |||
|
238 | "1; mode=block" | |||
|
239 | ], | |||
|
240 | "cache-control": [ | |||
|
241 | "no-store" | |||
|
242 | ], | |||
278 | "content-type": [ |
|
243 | "content-type": [ | |
279 | "application/json" |
|
244 | "application/json" | |
280 |
], |
|
245 | ], | |
281 | "date": [ |
|
246 | "date": [ | |
282 |
" |
|
247 | "Sun, 05 May 2019 13:31:23 GMT" | |
283 |
], |
|
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 | ], | |||
284 | "x-content-type-options": [ |
|
264 | "x-content-type-options": [ | |
285 | "nosniff" |
|
265 | "nosniff" | |
286 |
], |
|
266 | ], | |
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": [ |
|
267 | "expires": [ | |
300 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
318 | } |
|
273 | } | |
319 |
} |
|
274 | } | |
|
275 | }, | |||
|
276 | { | |||
320 | "request": { |
|
277 | "request": { | |
321 | "method": "POST", |
|
|||
322 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", |
|
|||
323 | "headers": { |
|
278 | "headers": { | |
|
279 | "user-agent": [ | |||
|
280 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
281 | ], | |||
324 | "content-length": [ |
|
282 | "content-length": [ | |
325 | "94" |
|
283 | "94" | |
326 |
], |
|
284 | ], | |
|
285 | "content-type": [ | |||
|
286 | "application/x-www-form-urlencoded" | |||
|
287 | ], | |||
327 | "accept": [ |
|
288 | "accept": [ | |
328 | "application/mercurial-0.1" |
|
289 | "application/mercurial-0.1" | |
329 |
], |
|
290 | ], | |
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": [ |
|
291 | "host": [ | |
337 | "phab.mercurial-scm.org" |
|
292 | "phab.mercurial-scm.org" | |
338 | ] |
|
293 | ] | |
339 |
}, |
|
294 | }, | |
340 |
"body": "corpus=create+public+change+for+phabricator+testing |
|
295 | "body": "api.token=cli-hahayouwish&corpus=create+public+change+for+phabricator+testing", | |
341 | } |
|
296 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
342 | }, |
|
297 | "method": "POST" | |
343 |
|
|
298 | }, | |
344 | "response": { |
|
299 | "response": { | |
|
300 | "status": { | |||
|
301 | "code": 200, | |||
|
302 | "message": "OK" | |||
|
303 | }, | |||
345 | "headers": { |
|
304 | "headers": { | |
|
305 | "x-xss-protection": [ | |||
|
306 | "1; mode=block" | |||
|
307 | ], | |||
|
308 | "cache-control": [ | |||
|
309 | "no-store" | |||
|
310 | ], | |||
346 | "content-type": [ |
|
311 | "content-type": [ | |
347 | "application/json" |
|
312 | "application/json" | |
348 |
], |
|
313 | ], | |
349 | "date": [ |
|
314 | "date": [ | |
350 |
" |
|
315 | "Sun, 05 May 2019 13:31:23 GMT" | |
351 |
], |
|
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 | "306" | |||
|
331 | ], | |||
352 | "x-content-type-options": [ |
|
332 | "x-content-type-options": [ | |
353 | "nosniff" |
|
333 | "nosniff" | |
354 |
], |
|
334 | ], | |
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": [ |
|
335 | "expires": [ | |
368 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
386 | } |
|
341 | } | |
387 |
} |
|
342 | } | |
|
343 | }, | |||
|
344 | { | |||
388 | "request": { |
|
345 | "request": { | |
389 | "method": "POST", |
|
|||
390 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", |
|
|||
391 | "headers": { |
|
346 | "headers": { | |
|
347 | "user-agent": [ | |||
|
348 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
349 | ], | |||
392 | "content-length": [ |
|
350 | "content-length": [ | |
393 | "253" |
|
351 | "253" | |
394 |
], |
|
352 | ], | |
|
353 | "content-type": [ | |||
|
354 | "application/x-www-form-urlencoded" | |||
|
355 | ], | |||
395 | "accept": [ |
|
356 | "accept": [ | |
396 | "application/mercurial-0.1" |
|
357 | "application/mercurial-0.1" | |
397 |
], |
|
358 | ], | |
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": [ |
|
359 | "host": [ | |
405 | "phab.mercurial-scm.org" |
|
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" |
|
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", | |
409 | } |
|
364 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
410 | }, |
|
365 | "method": "POST" | |
411 |
|
|
366 | }, | |
412 | "response": { |
|
367 | "response": { | |
|
368 | "status": { | |||
|
369 | "code": 200, | |||
|
370 | "message": "OK" | |||
|
371 | }, | |||
413 | "headers": { |
|
372 | "headers": { | |
|
373 | "x-xss-protection": [ | |||
|
374 | "1; mode=block" | |||
|
375 | ], | |||
|
376 | "cache-control": [ | |||
|
377 | "no-store" | |||
|
378 | ], | |||
414 | "content-type": [ |
|
379 | "content-type": [ | |
415 | "application/json" |
|
380 | "application/json" | |
416 |
], |
|
381 | ], | |
417 | "date": [ |
|
382 | "date": [ | |
418 |
" |
|
383 | "Sun, 05 May 2019 13:31:24 GMT" | |
419 |
], |
|
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 | ], | |||
420 | "x-content-type-options": [ |
|
400 | "x-content-type-options": [ | |
421 | "nosniff" |
|
401 | "nosniff" | |
422 |
], |
|
402 | ], | |
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": [ |
|
403 | "expires": [ | |
436 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
454 | } |
|
409 | } | |
455 |
} |
|
410 | } | |
|
411 | }, | |||
|
412 | { | |||
456 | "request": { |
|
413 | "request": { | |
457 | "method": "POST", |
|
|||
458 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", |
|
|||
459 | "headers": { |
|
414 | "headers": { | |
|
415 | "user-agent": [ | |||
|
416 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
417 | ], | |||
460 | "content-length": [ |
|
418 | "content-length": [ | |
461 | "232" |
|
419 | "232" | |
462 |
], |
|
420 | ], | |
|
421 | "content-type": [ | |||
|
422 | "application/x-www-form-urlencoded" | |||
|
423 | ], | |||
463 | "accept": [ |
|
424 | "accept": [ | |
464 | "application/mercurial-0.1" |
|
425 | "application/mercurial-0.1" | |
465 |
], |
|
426 | ], | |
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": [ |
|
427 | "host": [ | |
473 | "phab.mercurial-scm.org" |
|
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" |
|
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", | |
477 | } |
|
432 | "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff", | |
478 | }, |
|
433 | "method": "POST" | |
479 |
|
|
434 | }, | |
480 | "response": { |
|
435 | "response": { | |
|
436 | "status": { | |||
|
437 | "code": 200, | |||
|
438 | "message": "OK" | |||
|
439 | }, | |||
481 | "headers": { |
|
440 | "headers": { | |
|
441 | "x-xss-protection": [ | |||
|
442 | "1; mode=block" | |||
|
443 | ], | |||
|
444 | "cache-control": [ | |||
|
445 | "no-store" | |||
|
446 | ], | |||
482 | "content-type": [ |
|
447 | "content-type": [ | |
483 | "application/json" |
|
448 | "application/json" | |
484 |
], |
|
449 | ], | |
485 | "date": [ |
|
450 | "date": [ | |
486 |
" |
|
451 | "Sun, 05 May 2019 13:31:25 GMT" | |
487 |
], |
|
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 | "172" | |||
|
467 | ], | |||
488 | "x-content-type-options": [ |
|
468 | "x-content-type-options": [ | |
489 | "nosniff" |
|
469 | "nosniff" | |
490 |
], |
|
470 | ], | |
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": [ |
|
471 | "expires": [ | |
504 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
522 | } |
|
477 | } | |
523 |
} |
|
478 | } | |
|
479 | }, | |||
|
480 | { | |||
524 | "request": { |
|
481 | "request": { | |
525 | "method": "POST", |
|
|||
526 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", |
|
|||
527 | "headers": { |
|
482 | "headers": { | |
|
483 | "user-agent": [ | |||
|
484 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
485 | ], | |||
528 | "content-length": [ |
|
486 | "content-length": [ | |
529 |
"26 |
|
487 | "296" | |
530 |
], |
|
488 | ], | |
|
489 | "content-type": [ | |||
|
490 | "application/x-www-form-urlencoded" | |||
|
491 | ], | |||
531 | "accept": [ |
|
492 | "accept": [ | |
532 | "application/mercurial-0.1" |
|
493 | "application/mercurial-0.1" | |
533 |
], |
|
494 | ], | |
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": [ |
|
495 | "host": [ | |
541 | "phab.mercurial-scm.org" |
|
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" |
|
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", | |
545 | } |
|
500 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
546 | }, |
|
501 | "method": "POST" | |
547 |
|
|
502 | }, | |
548 | "response": { |
|
503 | "response": { | |
|
504 | "status": { | |||
|
505 | "code": 200, | |||
|
506 | "message": "OK" | |||
|
507 | }, | |||
549 | "headers": { |
|
508 | "headers": { | |
550 |
" |
|
509 | "x-xss-protection": [ | |
551 |
" |
|
510 | "1; mode=block" | |
552 |
], |
|
511 | ], | |
553 | "date": [ |
|
|||
554 | "Thu, 10 Jan 2019 04:08:29 GMT" |
|
|||
555 | ], |
|
|||
556 | "x-content-type-options": [ |
|
|||
557 | "nosniff" |
|
|||
558 | ], |
|
|||
559 | "cache-control": [ |
|
512 | "cache-control": [ | |
560 | "no-store" |
|
513 | "no-store" | |
561 |
], |
|
514 | ], | |
562 |
" |
|
515 | "content-type": [ | |
563 |
" |
|
516 | "application/json" | |
564 |
], |
|
517 | ], | |
565 |
" |
|
518 | "date": [ | |
566 | "1; mode=block" |
|
519 | "Sun, 05 May 2019 13:31:26 GMT" | |
567 |
], |
|
520 | ], | |
|
521 | "connection": [ | |||
|
522 | "keep-alive" | |||
|
523 | ], | |||
|
524 | "strict-transport-security": [ | |||
|
525 | "max-age=31536000; includeSubdomains; preload" | |||
|
526 | ], | |||
|
527 | "vary": [ | |||
|
528 | "Accept-Encoding" | |||
|
529 | ], | |||
568 | "x-frame-options": [ |
|
530 | "x-frame-options": [ | |
569 | "Deny" |
|
531 | "Deny" | |
570 |
], |
|
532 | ], | |
|
533 | "content-length": [ | |||
|
534 | "51" | |||
|
535 | ], | |||
|
536 | "x-content-type-options": [ | |||
|
537 | "nosniff" | |||
|
538 | ], | |||
571 | "expires": [ |
|
539 | "expires": [ | |
572 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
543 | "body": { | |
589 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
544 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
590 | } |
|
545 | } | |
591 |
} |
|
546 | } | |
|
547 | }, | |||
|
548 | { | |||
592 | "request": { |
|
549 | "request": { | |
593 | "method": "POST", |
|
|||
594 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", |
|
|||
595 | "headers": { |
|
550 | "headers": { | |
|
551 | "user-agent": [ | |||
|
552 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
553 | ], | |||
596 | "content-length": [ |
|
554 | "content-length": [ | |
597 |
"2 |
|
555 | "257" | |
598 |
], |
|
556 | ], | |
|
557 | "content-type": [ | |||
|
558 | "application/x-www-form-urlencoded" | |||
|
559 | ], | |||
599 | "accept": [ |
|
560 | "accept": [ | |
600 | "application/mercurial-0.1" |
|
561 | "application/mercurial-0.1" | |
601 |
], |
|
562 | ], | |
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": [ |
|
563 | "host": [ | |
609 | "phab.mercurial-scm.org" |
|
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" |
|
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", | |
613 | } |
|
568 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
614 | }, |
|
569 | "method": "POST" | |
615 |
|
|
570 | }, | |
616 | "response": { |
|
571 | "response": { | |
|
572 | "status": { | |||
|
573 | "code": 200, | |||
|
574 | "message": "OK" | |||
|
575 | }, | |||
617 | "headers": { |
|
576 | "headers": { | |
|
577 | "x-xss-protection": [ | |||
|
578 | "1; mode=block" | |||
|
579 | ], | |||
|
580 | "cache-control": [ | |||
|
581 | "no-store" | |||
|
582 | ], | |||
618 | "content-type": [ |
|
583 | "content-type": [ | |
619 | "application/json" |
|
584 | "application/json" | |
620 |
], |
|
585 | ], | |
621 | "date": [ |
|
586 | "date": [ | |
622 |
" |
|
587 | "Sun, 05 May 2019 13:31:27 GMT" | |
623 |
], |
|
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 | ], | |||
624 | "x-content-type-options": [ |
|
604 | "x-content-type-options": [ | |
625 | "nosniff" |
|
605 | "nosniff" | |
626 |
], |
|
606 | ], | |
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": [ |
|
607 | "expires": [ | |
640 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
658 | } |
|
613 | } | |
659 |
} |
|
614 | } | |
|
615 | }, | |||
|
616 | { | |||
660 | "request": { |
|
617 | "request": { | |
661 | "method": "POST", |
|
|||
662 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", |
|
|||
663 | "headers": { |
|
618 | "headers": { | |
|
619 | "user-agent": [ | |||
|
620 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
621 | ], | |||
664 | "content-length": [ |
|
622 | "content-length": [ | |
665 | "93" |
|
623 | "93" | |
666 |
], |
|
624 | ], | |
|
625 | "content-type": [ | |||
|
626 | "application/x-www-form-urlencoded" | |||
|
627 | ], | |||
667 | "accept": [ |
|
628 | "accept": [ | |
668 | "application/mercurial-0.1" |
|
629 | "application/mercurial-0.1" | |
669 |
], |
|
630 | ], | |
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": [ |
|
631 | "host": [ | |
677 | "phab.mercurial-scm.org" |
|
632 | "phab.mercurial-scm.org" | |
678 | ] |
|
633 | ] | |
679 |
}, |
|
634 | }, | |
680 |
"body": "corpus=create+draft+change+for+phabricator+testing |
|
635 | "body": "api.token=cli-hahayouwish&corpus=create+draft+change+for+phabricator+testing", | |
681 | } |
|
636 | "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
682 | }, |
|
637 | "method": "POST" | |
683 |
|
|
638 | }, | |
684 | "response": { |
|
639 | "response": { | |
|
640 | "status": { | |||
|
641 | "code": 200, | |||
|
642 | "message": "OK" | |||
|
643 | }, | |||
685 | "headers": { |
|
644 | "headers": { | |
|
645 | "x-xss-protection": [ | |||
|
646 | "1; mode=block" | |||
|
647 | ], | |||
|
648 | "cache-control": [ | |||
|
649 | "no-store" | |||
|
650 | ], | |||
686 | "content-type": [ |
|
651 | "content-type": [ | |
687 | "application/json" |
|
652 | "application/json" | |
688 |
], |
|
653 | ], | |
689 | "date": [ |
|
654 | "date": [ | |
690 |
" |
|
655 | "Sun, 05 May 2019 13:31:27 GMT" | |
691 |
], |
|
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 | "304" | |||
|
671 | ], | |||
692 | "x-content-type-options": [ |
|
672 | "x-content-type-options": [ | |
693 | "nosniff" |
|
673 | "nosniff" | |
694 |
], |
|
674 | ], | |
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": [ |
|
675 | "expires": [ | |
708 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
726 | } |
|
681 | } | |
727 |
} |
|
682 | } | |
|
683 | }, | |||
|
684 | { | |||
728 | "request": { |
|
685 | "request": { | |
729 | "method": "POST", |
|
|||
730 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", |
|
|||
731 | "headers": { |
|
686 | "headers": { | |
|
687 | "user-agent": [ | |||
|
688 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
689 | ], | |||
732 | "content-length": [ |
|
690 | "content-length": [ | |
733 | "409" |
|
691 | "409" | |
734 |
], |
|
692 | ], | |
|
693 | "content-type": [ | |||
|
694 | "application/x-www-form-urlencoded" | |||
|
695 | ], | |||
735 | "accept": [ |
|
696 | "accept": [ | |
736 | "application/mercurial-0.1" |
|
697 | "application/mercurial-0.1" | |
737 |
], |
|
698 | ], | |
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": [ |
|
699 | "host": [ | |
745 | "phab.mercurial-scm.org" |
|
700 | "phab.mercurial-scm.org" | |
746 | ] |
|
701 | ] | |
747 |
}, |
|
702 | }, | |
748 |
"body": "transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF- |
|
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", | |
749 | } |
|
704 | "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
750 | }, |
|
705 | "method": "POST" | |
751 |
|
|
706 | }, | |
752 | "response": { |
|
707 | "response": { | |
|
708 | "status": { | |||
|
709 | "code": 200, | |||
|
710 | "message": "OK" | |||
|
711 | }, | |||
753 | "headers": { |
|
712 | "headers": { | |
|
713 | "x-xss-protection": [ | |||
|
714 | "1; mode=block" | |||
|
715 | ], | |||
|
716 | "cache-control": [ | |||
|
717 | "no-store" | |||
|
718 | ], | |||
754 | "content-type": [ |
|
719 | "content-type": [ | |
755 | "application/json" |
|
720 | "application/json" | |
756 |
], |
|
721 | ], | |
757 | "date": [ |
|
722 | "date": [ | |
758 |
" |
|
723 | "Sun, 05 May 2019 13:31:29 GMT" | |
759 |
], |
|
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 | "420" | |||
|
739 | ], | |||
760 | "x-content-type-options": [ |
|
740 | "x-content-type-options": [ | |
761 | "nosniff" |
|
741 | "nosniff" | |
762 |
], |
|
742 | ], | |
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": [ |
|
743 | "expires": [ | |
776 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
794 | } |
|
749 | } | |
795 |
} |
|
750 | } | |
|
751 | }, | |||
|
752 | { | |||
796 | "request": { |
|
753 | "request": { | |
797 | "method": "POST", |
|
|||
798 | "uri": "https://phab.mercurial-scm.org//api/differential.query", |
|
|||
799 | "headers": { |
|
754 | "headers": { | |
|
755 | "user-agent": [ | |||
|
756 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
757 | ], | |||
800 | "content-length": [ |
|
758 | "content-length": [ | |
801 | "74" |
|
759 | "74" | |
802 |
], |
|
760 | ], | |
|
761 | "content-type": [ | |||
|
762 | "application/x-www-form-urlencoded" | |||
|
763 | ], | |||
803 | "accept": [ |
|
764 | "accept": [ | |
804 | "application/mercurial-0.1" |
|
765 | "application/mercurial-0.1" | |
805 |
], |
|
766 | ], | |
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": [ |
|
767 | "host": [ | |
813 | "phab.mercurial-scm.org" |
|
768 | "phab.mercurial-scm.org" | |
814 | ] |
|
769 | ] | |
815 |
}, |
|
770 | }, | |
816 |
"body": "ids%5B0%5D= |
|
771 | "body": "ids%5B0%5D=1192&ids%5B1%5D=1193&api.token=cli-hahayouwish", | |
817 | } |
|
772 | "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
818 | }, |
|
773 | "method": "POST" | |
819 |
|
|
774 | }, | |
820 | "response": { |
|
775 | "response": { | |
|
776 | "status": { | |||
|
777 | "code": 200, | |||
|
778 | "message": "OK" | |||
|
779 | }, | |||
821 | "headers": { |
|
780 | "headers": { | |
|
781 | "x-xss-protection": [ | |||
|
782 | "1; mode=block" | |||
|
783 | ], | |||
|
784 | "cache-control": [ | |||
|
785 | "no-store" | |||
|
786 | ], | |||
822 | "content-type": [ |
|
787 | "content-type": [ | |
823 | "application/json" |
|
788 | "application/json" | |
824 |
], |
|
789 | ], | |
825 | "date": [ |
|
790 | "date": [ | |
826 |
" |
|
791 | "Sun, 05 May 2019 13:31:29 GMT" | |
827 |
], |
|
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 | "1522" | |||
|
807 | ], | |||
828 | "x-content-type-options": [ |
|
808 | "x-content-type-options": [ | |
829 | "nosniff" |
|
809 | "nosniff" | |
830 |
], |
|
810 | ], | |
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": [ |
|
811 | "expires": [ | |
844 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
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}" | |
862 | } |
|
817 | } | |
863 |
} |
|
818 | } | |
|
819 | }, | |||
|
820 | { | |||
864 | "request": { |
|
821 | "request": { | |
865 | "method": "POST", |
|
|||
866 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", |
|
|||
867 | "headers": { |
|
822 | "headers": { | |
|
823 | "user-agent": [ | |||
|
824 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
825 | ], | |||
868 | "content-length": [ |
|
826 | "content-length": [ | |
869 |
"26 |
|
827 | "296" | |
870 |
], |
|
828 | ], | |
|
829 | "content-type": [ | |||
|
830 | "application/x-www-form-urlencoded" | |||
|
831 | ], | |||
871 | "accept": [ |
|
832 | "accept": [ | |
872 | "application/mercurial-0.1" |
|
833 | "application/mercurial-0.1" | |
873 |
], |
|
834 | ], | |
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": [ |
|
835 | "host": [ | |
881 | "phab.mercurial-scm.org" |
|
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" |
|
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", | |
885 | } |
|
840 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
886 | }, |
|
841 | "method": "POST" | |
887 |
|
|
842 | }, | |
888 | "response": { |
|
843 | "response": { | |
|
844 | "status": { | |||
|
845 | "code": 200, | |||
|
846 | "message": "OK" | |||
|
847 | }, | |||
889 | "headers": { |
|
848 | "headers": { | |
890 |
" |
|
849 | "x-xss-protection": [ | |
891 |
" |
|
850 | "1; mode=block" | |
892 |
], |
|
851 | ], | |
893 | "date": [ |
|
|||
894 | "Thu, 10 Jan 2019 04:08:33 GMT" |
|
|||
895 | ], |
|
|||
896 | "x-content-type-options": [ |
|
|||
897 | "nosniff" |
|
|||
898 | ], |
|
|||
899 | "cache-control": [ |
|
852 | "cache-control": [ | |
900 | "no-store" |
|
853 | "no-store" | |
901 |
], |
|
854 | ], | |
902 |
" |
|
855 | "content-type": [ | |
903 |
" |
|
856 | "application/json" | |
904 |
], |
|
857 | ], | |
905 |
" |
|
858 | "date": [ | |
906 | "1; mode=block" |
|
859 | "Sun, 05 May 2019 13:31:30 GMT" | |
907 |
], |
|
860 | ], | |
|
861 | "connection": [ | |||
|
862 | "keep-alive" | |||
|
863 | ], | |||
|
864 | "strict-transport-security": [ | |||
|
865 | "max-age=31536000; includeSubdomains; preload" | |||
|
866 | ], | |||
|
867 | "vary": [ | |||
|
868 | "Accept-Encoding" | |||
|
869 | ], | |||
908 | "x-frame-options": [ |
|
870 | "x-frame-options": [ | |
909 | "Deny" |
|
871 | "Deny" | |
910 |
], |
|
872 | ], | |
|
873 | "content-length": [ | |||
|
874 | "51" | |||
|
875 | ], | |||
|
876 | "x-content-type-options": [ | |||
|
877 | "nosniff" | |||
|
878 | ], | |||
911 | "expires": [ |
|
879 | "expires": [ | |
912 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
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 | "body": { |
|
883 | "body": { | |
929 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
884 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
930 | } |
|
885 | } | |
931 |
} |
|
886 | } | |
|
887 | }, | |||
|
888 | { | |||
932 | "request": { |
|
889 | "request": { | |
933 | "method": "POST", |
|
|||
934 | "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", |
|
|||
935 | "headers": { |
|
890 | "headers": { | |
|
891 | "user-agent": [ | |||
|
892 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
893 | ], | |||
936 | "content-length": [ |
|
894 | "content-length": [ | |
937 |
"2 |
|
895 | "257" | |
938 |
], |
|
896 | ], | |
|
897 | "content-type": [ | |||
|
898 | "application/x-www-form-urlencoded" | |||
|
899 | ], | |||
939 | "accept": [ |
|
900 | "accept": [ | |
940 | "application/mercurial-0.1" |
|
901 | "application/mercurial-0.1" | |
941 |
], |
|
902 | ], | |
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": [ |
|
903 | "host": [ | |
949 | "phab.mercurial-scm.org" |
|
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 | } | |
955 |
] |
|
956 | ] | |
956 | "version": 1 |
|
957 | } | |
957 | } No newline at end of file |
|
This diff has been collapsed as it changes many lines, (994 lines changed) Show them Hide them | |||||
@@ -1,1025 +1,1025 b'' | |||||
1 | { |
|
1 | { | |
|
2 | "version": 1, | |||
2 | "interactions": [ |
|
3 | "interactions": [ | |
3 | { |
|
4 | { | |
4 | "request": { |
|
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 | "headers": { |
|
6 | "headers": { | |
|
7 | "user-agent": [ | |||
|
8 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
9 | ], | |||
|
10 | "content-length": [ | |||
|
11 | "66" | |||
|
12 | ], | |||
9 | "content-type": [ |
|
13 | "content-type": [ | |
10 | "application/x-www-form-urlencoded" |
|
14 | "application/x-www-form-urlencoded" | |
11 | ], |
|
15 | ], | |
12 | "accept": [ |
|
16 | "accept": [ | |
13 | "application/mercurial-0.1" |
|
17 | "application/mercurial-0.1" | |
14 | ], |
|
18 | ], | |
15 | "user-agent": [ |
|
|||
16 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
17 | ], |
|
|||
18 | "host": [ |
|
19 | "host": [ | |
19 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
27 | "response": { | |
27 | "status": { |
|
28 | "status": { | |
28 | "code": 200, |
|
29 | "code": 200, | |
29 | "message": "OK" |
|
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 | "headers": { |
|
32 | "headers": { | |
35 | "expires": [ |
|
|||
36 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
37 | ], |
|
|||
38 | "x-xss-protection": [ |
|
33 | "x-xss-protection": [ | |
39 | "1; mode=block" |
|
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 | "cache-control": [ |
|
36 | "cache-control": [ | |
51 | "no-store" |
|
37 | "no-store" | |
52 | ], |
|
38 | ], | |
53 | "content-type": [ |
|
39 | "content-type": [ | |
54 | "application/json" |
|
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 | "x-content-type-options": [ |
|
60 | "x-content-type-options": [ | |
57 | "nosniff" |
|
61 | "nosniff" | |
58 | ], |
|
62 | ], | |
59 |
" |
|
63 | "expires": [ | |
60 | "Apache/2.4.10 (Debian)" |
|
64 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
74 | "headers": { | |
|
75 | "user-agent": [ | |||
|
76 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
77 | ], | |||
|
78 | "content-length": [ | |||
|
79 | "93" | |||
|
80 | ], | |||
77 | "content-type": [ |
|
81 | "content-type": [ | |
78 | "application/x-www-form-urlencoded" |
|
82 | "application/x-www-form-urlencoded" | |
79 | ], |
|
83 | ], | |
80 | "accept": [ |
|
84 | "accept": [ | |
81 | "application/mercurial-0.1" |
|
85 | "application/mercurial-0.1" | |
82 | ], |
|
86 | ], | |
83 | "user-agent": [ |
|
|||
84 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
85 | ], |
|
|||
86 | "host": [ |
|
87 | "host": [ | |
87 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
95 | "response": { | |
95 | "status": { |
|
96 | "status": { | |
96 | "code": 200, |
|
97 | "code": 200, | |
97 | "message": "OK" |
|
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 | "headers": { |
|
100 | "headers": { | |
103 | "expires": [ |
|
|||
104 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
105 | ], |
|
|||
106 | "x-xss-protection": [ |
|
101 | "x-xss-protection": [ | |
107 | "1; mode=block" |
|
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 | "cache-control": [ |
|
104 | "cache-control": [ | |
119 | "no-store" |
|
105 | "no-store" | |
120 | ], |
|
106 | ], | |
121 | "content-type": [ |
|
107 | "content-type": [ | |
122 | "application/json" |
|
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 | "x-content-type-options": [ |
|
128 | "x-content-type-options": [ | |
125 | "nosniff" |
|
129 | "nosniff" | |
126 | ], |
|
130 | ], | |
127 |
" |
|
131 | "expires": [ | |
128 | "Apache/2.4.10 (Debian)" |
|
132 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
142 | "headers": { | |
|
143 | "user-agent": [ | |||
|
144 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
145 | ], | |||
|
146 | "content-length": [ | |||
|
147 | "245" | |||
|
148 | ], | |||
145 | "content-type": [ |
|
149 | "content-type": [ | |
146 | "application/x-www-form-urlencoded" |
|
150 | "application/x-www-form-urlencoded" | |
147 | ], |
|
151 | ], | |
148 | "accept": [ |
|
152 | "accept": [ | |
149 | "application/mercurial-0.1" |
|
153 | "application/mercurial-0.1" | |
150 | ], |
|
154 | ], | |
151 | "user-agent": [ |
|
|||
152 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
153 | ], |
|
|||
154 | "host": [ |
|
155 | "host": [ | |
155 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
163 | "response": { | |
163 | "status": { |
|
164 | "status": { | |
164 | "code": 200, |
|
165 | "code": 200, | |
165 | "message": "OK" |
|
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 | "headers": { |
|
168 | "headers": { | |
171 | "expires": [ |
|
|||
172 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
173 | ], |
|
|||
174 | "x-xss-protection": [ |
|
169 | "x-xss-protection": [ | |
175 | "1; mode=block" |
|
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 | "cache-control": [ |
|
172 | "cache-control": [ | |
187 | "no-store" |
|
173 | "no-store" | |
188 | ], |
|
174 | ], | |
189 | "content-type": [ |
|
175 | "content-type": [ | |
190 | "application/json" |
|
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 | "x-content-type-options": [ |
|
196 | "x-content-type-options": [ | |
193 | "nosniff" |
|
197 | "nosniff" | |
194 | ], |
|
198 | ], | |
195 |
" |
|
199 | "expires": [ | |
196 | "Apache/2.4.10 (Debian)" |
|
200 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
210 | "headers": { | |
|
211 | "user-agent": [ | |||
|
212 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
213 | ], | |||
|
214 | "content-length": [ | |||
|
215 | "296" | |||
|
216 | ], | |||
213 | "content-type": [ |
|
217 | "content-type": [ | |
214 | "application/x-www-form-urlencoded" |
|
218 | "application/x-www-form-urlencoded" | |
215 | ], |
|
219 | ], | |
216 | "accept": [ |
|
220 | "accept": [ | |
217 | "application/mercurial-0.1" |
|
221 | "application/mercurial-0.1" | |
218 | ], |
|
222 | ], | |
219 | "user-agent": [ |
|
|||
220 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
221 | ], |
|
|||
222 | "host": [ |
|
223 | "host": [ | |
223 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
231 | "response": { | |
231 | "status": { |
|
232 | "status": { | |
232 | "code": 200, |
|
233 | "code": 200, | |
233 | "message": "OK" |
|
234 | "message": "OK" | |
234 | }, |
|
235 | }, | |
235 | "body": { |
|
|||
236 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
237 | }, |
|
|||
238 | "headers": { |
|
236 | "headers": { | |
239 | "expires": [ |
|
|||
240 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
241 | ], |
|
|||
242 | "x-xss-protection": [ |
|
237 | "x-xss-protection": [ | |
243 | "1; mode=block" |
|
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 | "cache-control": [ |
|
240 | "cache-control": [ | |
255 | "no-store" |
|
241 | "no-store" | |
256 | ], |
|
242 | ], | |
257 | "content-type": [ |
|
243 | "content-type": [ | |
258 | "application/json" |
|
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 | "x-content-type-options": [ |
|
264 | "x-content-type-options": [ | |
261 | "nosniff" |
|
265 | "nosniff" | |
262 | ], |
|
266 | ], | |
263 |
" |
|
267 | "expires": [ | |
264 | "Apache/2.4.10 (Debian)" |
|
268 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
271 | ] |
|
269 | ] | |
|
270 | }, | |||
|
271 | "body": { | |||
|
272 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
272 | } |
|
273 | } | |
273 | } |
|
274 | } | |
274 | }, |
|
275 | }, | |
275 | { |
|
276 | { | |
276 | "request": { |
|
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 | "headers": { |
|
278 | "headers": { | |
|
279 | "user-agent": [ | |||
|
280 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
281 | ], | |||
|
282 | "content-length": [ | |||
|
283 | "257" | |||
|
284 | ], | |||
281 | "content-type": [ |
|
285 | "content-type": [ | |
282 | "application/x-www-form-urlencoded" |
|
286 | "application/x-www-form-urlencoded" | |
283 | ], |
|
287 | ], | |
284 | "accept": [ |
|
288 | "accept": [ | |
285 | "application/mercurial-0.1" |
|
289 | "application/mercurial-0.1" | |
286 | ], |
|
290 | ], | |
287 | "user-agent": [ |
|
|||
288 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
289 | ], |
|
|||
290 | "host": [ |
|
291 | "host": [ | |
291 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
299 | "response": { | |
299 | "status": { |
|
300 | "status": { | |
300 | "code": 200, |
|
301 | "code": 200, | |
301 | "message": "OK" |
|
302 | "message": "OK" | |
302 | }, |
|
303 | }, | |
303 | "body": { |
|
|||
304 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
305 | }, |
|
|||
306 | "headers": { |
|
304 | "headers": { | |
307 | "expires": [ |
|
|||
308 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
309 | ], |
|
|||
310 | "x-xss-protection": [ |
|
305 | "x-xss-protection": [ | |
311 | "1; mode=block" |
|
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 | "cache-control": [ |
|
308 | "cache-control": [ | |
323 | "no-store" |
|
309 | "no-store" | |
324 | ], |
|
310 | ], | |
325 | "content-type": [ |
|
311 | "content-type": [ | |
326 | "application/json" |
|
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 | "x-content-type-options": [ |
|
332 | "x-content-type-options": [ | |
329 | "nosniff" |
|
333 | "nosniff" | |
330 | ], |
|
334 | ], | |
331 |
" |
|
335 | "expires": [ | |
332 | "Apache/2.4.10 (Debian)" |
|
336 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
339 | ] |
|
337 | ] | |
|
338 | }, | |||
|
339 | "body": { | |||
|
340 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
340 | } |
|
341 | } | |
341 | } |
|
342 | } | |
342 | }, |
|
343 | }, | |
343 | { |
|
344 | { | |
344 | "request": { |
|
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 | "headers": { |
|
346 | "headers": { | |
|
347 | "user-agent": [ | |||
|
348 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
349 | ], | |||
|
350 | "content-length": [ | |||
|
351 | "173" | |||
|
352 | ], | |||
349 | "content-type": [ |
|
353 | "content-type": [ | |
350 | "application/x-www-form-urlencoded" |
|
354 | "application/x-www-form-urlencoded" | |
351 | ], |
|
355 | ], | |
352 | "accept": [ |
|
356 | "accept": [ | |
353 | "application/mercurial-0.1" |
|
357 | "application/mercurial-0.1" | |
354 | ], |
|
358 | ], | |
355 | "user-agent": [ |
|
|||
356 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
357 | ], |
|
|||
358 | "host": [ |
|
359 | "host": [ | |
359 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
367 | "response": { | |
367 | "status": { |
|
368 | "status": { | |
368 | "code": 200, |
|
369 | "code": 200, | |
369 | "message": "OK" |
|
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 | "headers": { |
|
372 | "headers": { | |
375 | "expires": [ |
|
|||
376 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
377 | ], |
|
|||
378 | "x-xss-protection": [ |
|
373 | "x-xss-protection": [ | |
379 | "1; mode=block" |
|
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 | "cache-control": [ |
|
376 | "cache-control": [ | |
391 | "no-store" |
|
377 | "no-store" | |
392 | ], |
|
378 | ], | |
393 | "content-type": [ |
|
379 | "content-type": [ | |
394 | "application/json" |
|
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 | "x-content-type-options": [ |
|
400 | "x-content-type-options": [ | |
397 | "nosniff" |
|
401 | "nosniff" | |
398 | ], |
|
402 | ], | |
399 |
" |
|
403 | "expires": [ | |
400 | "Apache/2.4.10 (Debian)" |
|
404 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
414 | "headers": { | |
|
415 | "user-agent": [ | |||
|
416 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
417 | ], | |||
|
418 | "content-length": [ | |||
|
419 | "274" | |||
|
420 | ], | |||
417 | "content-type": [ |
|
421 | "content-type": [ | |
418 | "application/x-www-form-urlencoded" |
|
422 | "application/x-www-form-urlencoded" | |
419 | ], |
|
423 | ], | |
420 | "accept": [ |
|
424 | "accept": [ | |
421 | "application/mercurial-0.1" |
|
425 | "application/mercurial-0.1" | |
422 | ], |
|
426 | ], | |
423 | "user-agent": [ |
|
|||
424 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
425 | ], |
|
|||
426 | "host": [ |
|
427 | "host": [ | |
427 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
435 | "response": { | |
435 | "status": { |
|
436 | "status": { | |
436 | "code": 200, |
|
437 | "code": 200, | |
437 | "message": "OK" |
|
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 | "headers": { |
|
440 | "headers": { | |
443 | "expires": [ |
|
|||
444 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
445 | ], |
|
|||
446 | "x-xss-protection": [ |
|
441 | "x-xss-protection": [ | |
447 | "1; mode=block" |
|
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 | "cache-control": [ |
|
444 | "cache-control": [ | |
459 | "no-store" |
|
445 | "no-store" | |
460 | ], |
|
446 | ], | |
461 | "content-type": [ |
|
447 | "content-type": [ | |
462 | "application/json" |
|
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 | "x-content-type-options": [ |
|
468 | "x-content-type-options": [ | |
465 | "nosniff" |
|
469 | "nosniff" | |
466 | ], |
|
470 | ], | |
467 |
" |
|
471 | "expires": [ | |
468 | "Apache/2.4.10 (Debian)" |
|
472 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
482 | "headers": { | |
|
483 | "user-agent": [ | |||
|
484 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
485 | ], | |||
|
486 | "content-length": [ | |||
|
487 | "231" | |||
|
488 | ], | |||
485 | "content-type": [ |
|
489 | "content-type": [ | |
486 | "application/x-www-form-urlencoded" |
|
490 | "application/x-www-form-urlencoded" | |
487 | ], |
|
491 | ], | |
488 | "accept": [ |
|
492 | "accept": [ | |
489 | "application/mercurial-0.1" |
|
493 | "application/mercurial-0.1" | |
490 | ], |
|
494 | ], | |
491 | "user-agent": [ |
|
|||
492 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
493 | ], |
|
|||
494 | "host": [ |
|
495 | "host": [ | |
495 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
503 | "response": { | |
503 | "status": { |
|
504 | "status": { | |
504 | "code": 200, |
|
505 | "code": 200, | |
505 | "message": "OK" |
|
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 | "headers": { |
|
508 | "headers": { | |
511 | "expires": [ |
|
|||
512 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
513 | ], |
|
|||
514 | "x-xss-protection": [ |
|
509 | "x-xss-protection": [ | |
515 | "1; mode=block" |
|
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 | "cache-control": [ |
|
512 | "cache-control": [ | |
527 | "no-store" |
|
513 | "no-store" | |
528 | ], |
|
514 | ], | |
529 | "content-type": [ |
|
515 | "content-type": [ | |
530 | "application/json" |
|
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 | "x-content-type-options": [ |
|
536 | "x-content-type-options": [ | |
533 | "nosniff" |
|
537 | "nosniff" | |
534 | ], |
|
538 | ], | |
535 |
" |
|
539 | "expires": [ | |
536 | "Apache/2.4.10 (Debian)" |
|
540 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
550 | "headers": { | |
|
551 | "user-agent": [ | |||
|
552 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
553 | ], | |||
|
554 | "content-length": [ | |||
|
555 | "296" | |||
|
556 | ], | |||
553 | "content-type": [ |
|
557 | "content-type": [ | |
554 | "application/x-www-form-urlencoded" |
|
558 | "application/x-www-form-urlencoded" | |
555 | ], |
|
559 | ], | |
556 | "accept": [ |
|
560 | "accept": [ | |
557 | "application/mercurial-0.1" |
|
561 | "application/mercurial-0.1" | |
558 | ], |
|
562 | ], | |
559 | "user-agent": [ |
|
|||
560 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
561 | ], |
|
|||
562 | "host": [ |
|
563 | "host": [ | |
563 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
571 | "response": { | |
571 | "status": { |
|
572 | "status": { | |
572 | "code": 200, |
|
573 | "code": 200, | |
573 | "message": "OK" |
|
574 | "message": "OK" | |
574 | }, |
|
575 | }, | |
575 | "body": { |
|
|||
576 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
577 | }, |
|
|||
578 | "headers": { |
|
576 | "headers": { | |
579 | "expires": [ |
|
|||
580 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
581 | ], |
|
|||
582 | "x-xss-protection": [ |
|
577 | "x-xss-protection": [ | |
583 | "1; mode=block" |
|
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 | "cache-control": [ |
|
580 | "cache-control": [ | |
595 | "no-store" |
|
581 | "no-store" | |
596 | ], |
|
582 | ], | |
597 | "content-type": [ |
|
583 | "content-type": [ | |
598 | "application/json" |
|
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 | "x-content-type-options": [ |
|
604 | "x-content-type-options": [ | |
601 | "nosniff" |
|
605 | "nosniff" | |
602 | ], |
|
606 | ], | |
603 |
" |
|
607 | "expires": [ | |
604 | "Apache/2.4.10 (Debian)" |
|
608 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
611 | ] |
|
609 | ] | |
|
610 | }, | |||
|
611 | "body": { | |||
|
612 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
612 | } |
|
613 | } | |
613 | } |
|
614 | } | |
614 | }, |
|
615 | }, | |
615 | { |
|
616 | { | |
616 | "request": { |
|
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 | "headers": { |
|
618 | "headers": { | |
|
619 | "user-agent": [ | |||
|
620 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
621 | ], | |||
|
622 | "content-length": [ | |||
|
623 | "257" | |||
|
624 | ], | |||
621 | "content-type": [ |
|
625 | "content-type": [ | |
622 | "application/x-www-form-urlencoded" |
|
626 | "application/x-www-form-urlencoded" | |
623 | ], |
|
627 | ], | |
624 | "accept": [ |
|
628 | "accept": [ | |
625 | "application/mercurial-0.1" |
|
629 | "application/mercurial-0.1" | |
626 | ], |
|
630 | ], | |
627 | "user-agent": [ |
|
|||
628 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
629 | ], |
|
|||
630 | "host": [ |
|
631 | "host": [ | |
631 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
639 | "response": { | |
639 | "status": { |
|
640 | "status": { | |
640 | "code": 200, |
|
641 | "code": 200, | |
641 | "message": "OK" |
|
642 | "message": "OK" | |
642 | }, |
|
643 | }, | |
643 | "body": { |
|
|||
644 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
645 | }, |
|
|||
646 | "headers": { |
|
644 | "headers": { | |
647 | "expires": [ |
|
|||
648 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
649 | ], |
|
|||
650 | "x-xss-protection": [ |
|
645 | "x-xss-protection": [ | |
651 | "1; mode=block" |
|
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 | "cache-control": [ |
|
648 | "cache-control": [ | |
663 | "no-store" |
|
649 | "no-store" | |
664 | ], |
|
650 | ], | |
665 | "content-type": [ |
|
651 | "content-type": [ | |
666 | "application/json" |
|
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 | "x-content-type-options": [ |
|
672 | "x-content-type-options": [ | |
669 | "nosniff" |
|
673 | "nosniff" | |
670 | ], |
|
674 | ], | |
671 |
" |
|
675 | "expires": [ | |
672 | "Apache/2.4.10 (Debian)" |
|
676 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
679 | ] |
|
677 | ] | |
|
678 | }, | |||
|
679 | "body": { | |||
|
680 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
680 | } |
|
681 | } | |
681 | } |
|
682 | } | |
682 | }, |
|
683 | }, | |
683 | { |
|
684 | { | |
684 | "request": { |
|
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 | "headers": { |
|
686 | "headers": { | |
|
687 | "user-agent": [ | |||
|
688 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
689 | ], | |||
|
690 | "content-length": [ | |||
|
691 | "82" | |||
|
692 | ], | |||
689 | "content-type": [ |
|
693 | "content-type": [ | |
690 | "application/x-www-form-urlencoded" |
|
694 | "application/x-www-form-urlencoded" | |
691 | ], |
|
695 | ], | |
692 | "accept": [ |
|
696 | "accept": [ | |
693 | "application/mercurial-0.1" |
|
697 | "application/mercurial-0.1" | |
694 | ], |
|
698 | ], | |
695 | "user-agent": [ |
|
|||
696 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
697 | ], |
|
|||
698 | "host": [ |
|
699 | "host": [ | |
699 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
707 | "response": { | |
707 | "status": { |
|
708 | "status": { | |
708 | "code": 200, |
|
709 | "code": 200, | |
709 | "message": "OK" |
|
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 | "headers": { |
|
712 | "headers": { | |
715 | "expires": [ |
|
|||
716 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
717 | ], |
|
|||
718 | "x-xss-protection": [ |
|
713 | "x-xss-protection": [ | |
719 | "1; mode=block" |
|
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 | "cache-control": [ |
|
716 | "cache-control": [ | |
731 | "no-store" |
|
717 | "no-store" | |
732 | ], |
|
718 | ], | |
733 | "content-type": [ |
|
719 | "content-type": [ | |
734 | "application/json" |
|
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 | "x-content-type-options": [ |
|
740 | "x-content-type-options": [ | |
737 | "nosniff" |
|
741 | "nosniff" | |
738 | ], |
|
742 | ], | |
739 |
" |
|
743 | "expires": [ | |
740 | "Apache/2.4.10 (Debian)" |
|
744 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
754 | "headers": { | |
|
755 | "user-agent": [ | |||
|
756 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
757 | ], | |||
|
758 | "content-length": [ | |||
|
759 | "398" | |||
|
760 | ], | |||
757 | "content-type": [ |
|
761 | "content-type": [ | |
758 | "application/x-www-form-urlencoded" |
|
762 | "application/x-www-form-urlencoded" | |
759 | ], |
|
763 | ], | |
760 | "accept": [ |
|
764 | "accept": [ | |
761 | "application/mercurial-0.1" |
|
765 | "application/mercurial-0.1" | |
762 | ], |
|
766 | ], | |
763 | "user-agent": [ |
|
|||
764 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
765 | ], |
|
|||
766 | "host": [ |
|
767 | "host": [ | |
767 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
775 | "response": { | |
775 | "status": { |
|
776 | "status": { | |
776 | "code": 200, |
|
777 | "code": 200, | |
777 | "message": "OK" |
|
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 | "headers": { |
|
780 | "headers": { | |
783 | "expires": [ |
|
|||
784 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
785 | ], |
|
|||
786 | "x-xss-protection": [ |
|
781 | "x-xss-protection": [ | |
787 | "1; mode=block" |
|
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 | "cache-control": [ |
|
784 | "cache-control": [ | |
799 | "no-store" |
|
785 | "no-store" | |
800 | ], |
|
786 | ], | |
801 | "content-type": [ |
|
787 | "content-type": [ | |
802 | "application/json" |
|
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 | "x-content-type-options": [ |
|
808 | "x-content-type-options": [ | |
805 | "nosniff" |
|
809 | "nosniff" | |
806 | ], |
|
810 | ], | |
807 |
" |
|
811 | "expires": [ | |
808 | "Apache/2.4.10 (Debian)" |
|
812 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
822 | "headers": { | |
|
823 | "user-agent": [ | |||
|
824 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
825 | ], | |||
|
826 | "content-length": [ | |||
|
827 | "74" | |||
|
828 | ], | |||
825 | "content-type": [ |
|
829 | "content-type": [ | |
826 | "application/x-www-form-urlencoded" |
|
830 | "application/x-www-form-urlencoded" | |
827 | ], |
|
831 | ], | |
828 | "accept": [ |
|
832 | "accept": [ | |
829 | "application/mercurial-0.1" |
|
833 | "application/mercurial-0.1" | |
830 | ], |
|
834 | ], | |
831 | "user-agent": [ |
|
|||
832 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
833 | ], |
|
|||
834 | "host": [ |
|
835 | "host": [ | |
835 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
843 | "response": { | |
843 | "status": { |
|
844 | "status": { | |
844 | "code": 200, |
|
845 | "code": 200, | |
845 | "message": "OK" |
|
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 | "headers": { |
|
848 | "headers": { | |
851 | "expires": [ |
|
|||
852 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
853 | ], |
|
|||
854 | "x-xss-protection": [ |
|
849 | "x-xss-protection": [ | |
855 | "1; mode=block" |
|
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 | "cache-control": [ |
|
852 | "cache-control": [ | |
867 | "no-store" |
|
853 | "no-store" | |
868 | ], |
|
854 | ], | |
869 | "content-type": [ |
|
855 | "content-type": [ | |
870 | "application/json" |
|
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 | "x-content-type-options": [ |
|
876 | "x-content-type-options": [ | |
873 | "nosniff" |
|
877 | "nosniff" | |
874 | ], |
|
878 | ], | |
875 |
" |
|
879 | "expires": [ | |
876 | "Apache/2.4.10 (Debian)" |
|
880 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
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 | "request": { |
|
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 | "headers": { |
|
890 | "headers": { | |
|
891 | "user-agent": [ | |||
|
892 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
893 | ], | |||
|
894 | "content-length": [ | |||
|
895 | "296" | |||
|
896 | ], | |||
893 | "content-type": [ |
|
897 | "content-type": [ | |
894 | "application/x-www-form-urlencoded" |
|
898 | "application/x-www-form-urlencoded" | |
895 | ], |
|
899 | ], | |
896 | "accept": [ |
|
900 | "accept": [ | |
897 | "application/mercurial-0.1" |
|
901 | "application/mercurial-0.1" | |
898 | ], |
|
902 | ], | |
899 | "user-agent": [ |
|
|||
900 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
901 | ], |
|
|||
902 | "host": [ |
|
903 | "host": [ | |
903 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
911 | "response": { | |
911 | "status": { |
|
912 | "status": { | |
912 | "code": 200, |
|
913 | "code": 200, | |
913 | "message": "OK" |
|
914 | "message": "OK" | |
914 | }, |
|
915 | }, | |
915 | "body": { |
|
|||
916 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
917 | }, |
|
|||
918 | "headers": { |
|
916 | "headers": { | |
919 | "expires": [ |
|
|||
920 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
921 | ], |
|
|||
922 | "x-xss-protection": [ |
|
917 | "x-xss-protection": [ | |
923 | "1; mode=block" |
|
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 | "cache-control": [ |
|
920 | "cache-control": [ | |
935 | "no-store" |
|
921 | "no-store" | |
936 | ], |
|
922 | ], | |
937 | "content-type": [ |
|
923 | "content-type": [ | |
938 | "application/json" |
|
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 | "x-content-type-options": [ |
|
944 | "x-content-type-options": [ | |
941 | "nosniff" |
|
945 | "nosniff" | |
942 | ], |
|
946 | ], | |
943 |
" |
|
947 | "expires": [ | |
944 | "Apache/2.4.10 (Debian)" |
|
948 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
951 | ] |
|
949 | ] | |
|
950 | }, | |||
|
951 | "body": { | |||
|
952 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
952 | } |
|
953 | } | |
953 | } |
|
954 | } | |
954 | }, |
|
955 | }, | |
955 | { |
|
956 | { | |
956 | "request": { |
|
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 | "headers": { |
|
958 | "headers": { | |
|
959 | "user-agent": [ | |||
|
960 | "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)" | |||
|
961 | ], | |||
|
962 | "content-length": [ | |||
|
963 | "257" | |||
|
964 | ], | |||
961 | "content-type": [ |
|
965 | "content-type": [ | |
962 | "application/x-www-form-urlencoded" |
|
966 | "application/x-www-form-urlencoded" | |
963 | ], |
|
967 | ], | |
964 | "accept": [ |
|
968 | "accept": [ | |
965 | "application/mercurial-0.1" |
|
969 | "application/mercurial-0.1" | |
966 | ], |
|
970 | ], | |
967 | "user-agent": [ |
|
|||
968 | "mercurial/proto-1.0 (Mercurial 4.9+477-7c86ec0ca5c5+20190303)" |
|
|||
969 | ], |
|
|||
970 | "host": [ |
|
971 | "host": [ | |
971 | "phab.mercurial-scm.org" |
|
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 | "response": { |
|
979 | "response": { | |
979 | "status": { |
|
980 | "status": { | |
980 | "code": 200, |
|
981 | "code": 200, | |
981 | "message": "OK" |
|
982 | "message": "OK" | |
982 | }, |
|
983 | }, | |
983 | "body": { |
|
|||
984 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" |
|
|||
985 | }, |
|
|||
986 | "headers": { |
|
984 | "headers": { | |
987 | "expires": [ |
|
|||
988 | "Sat, 01 Jan 2000 00:00:00 GMT" |
|
|||
989 | ], |
|
|||
990 | "x-xss-protection": [ |
|
985 | "x-xss-protection": [ | |
991 | "1; mode=block" |
|
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 | "cache-control": [ |
|
988 | "cache-control": [ | |
1003 | "no-store" |
|
989 | "no-store" | |
1004 | ], |
|
990 | ], | |
1005 | "content-type": [ |
|
991 | "content-type": [ | |
1006 | "application/json" |
|
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 | "x-content-type-options": [ |
|
1012 | "x-content-type-options": [ | |
1009 | "nosniff" |
|
1013 | "nosniff" | |
1010 | ], |
|
1014 | ], | |
1011 |
" |
|
1015 | "expires": [ | |
1012 | "Apache/2.4.10 (Debian)" |
|
1016 | "Sat, 01 Jan 2000 00:00:00 GMT" | |
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" |
|
|||
1019 | ] |
|
1017 | ] | |
|
1018 | }, | |||
|
1019 | "body": { | |||
|
1020 | "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |||
1020 | } |
|
1021 | } | |
1021 | } |
|
1022 | } | |
1022 | } |
|
1023 | } | |
1023 |
] |
|
1024 | ] | |
1024 | "version": 1 |
|
|||
1025 | } |
|
1025 | } |
@@ -53,18 +53,18 b' Create a differential diff:' | |||||
53 | $ hg ci --addremove -m 'create alpha for phabricator test €' |
|
53 | $ hg ci --addremove -m 'create alpha for phabricator test €' | |
54 | adding alpha |
|
54 | adding alpha | |
55 | $ hg phabsend -r . --test-vcr "$VCR/phabsend-create-alpha.json" |
|
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 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d386117f30e6-24ffe649-phabsend.hg |
|
57 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d386117f30e6-24ffe649-phabsend.hg | |
58 | $ echo more >> alpha |
|
58 | $ echo more >> alpha | |
59 | $ HGEDITOR=true hg ci --amend |
|
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 | $ echo beta > beta |
|
61 | $ echo beta > beta | |
62 | $ hg ci --addremove -m 'create beta for phabricator test' |
|
62 | $ hg ci --addremove -m 'create beta for phabricator test' | |
63 | adding beta |
|
63 | adding beta | |
64 | $ hg phabsend -r ".^::" --test-vcr "$VCR/phabsend-update-alpha-create-beta.json" |
|
64 | $ hg phabsend -r ".^::" --test-vcr "$VCR/phabsend-update-alpha-create-beta.json" | |
65 |
D |
|
65 | D1190 - updated - d940d39fb603: create alpha for phabricator test \xe2\x82\xac (esc) | |
66 |
D |
|
66 | D1191 - created - 4b2486dfc8c7: create beta for phabricator test | |
67 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ |
|
67 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/4b2486dfc8c7-d90584fa-phabsend.hg | |
68 | $ unset HGENCODING |
|
68 | $ unset HGENCODING | |
69 |
|
69 | |||
70 | The amend won't explode after posting a public commit. The local tag is left |
|
70 | The amend won't explode after posting a public commit. The local tag is left | |
@@ -76,13 +76,13 b' behind to identify it.' | |||||
76 | $ echo 'draft change' > alpha |
|
76 | $ echo 'draft change' > alpha | |
77 | $ hg ci -m 'create draft change for phabricator testing' |
|
77 | $ hg ci -m 'create draft change for phabricator testing' | |
78 | $ hg phabsend --amend -r '.^::' --test-vcr "$VCR/phabsend-create-public.json" |
|
78 | $ hg phabsend --amend -r '.^::' --test-vcr "$VCR/phabsend-create-public.json" | |
79 |
D |
|
79 | D1192 - created - 24ffd6bca53a: create public change for phabricator testing | |
80 |
D |
|
80 | D1193 - created - ac331633be79: create draft change for phabricator testing | |
81 |
warning: not updating public commit 2: |
|
81 | warning: not updating public commit 2:24ffd6bca53a | |
82 |
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ |
|
82 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ac331633be79-719b961c-phabsend.hg | |
83 | $ hg tags -v |
|
83 | $ hg tags -v | |
84 |
tip 3: |
|
84 | tip 3:a19f1434f9a5 | |
85 |
D |
|
85 | D1192 2:24ffd6bca53a local | |
86 |
|
86 | |||
87 | $ hg debugcallconduit user.search --test-vcr "$VCR/phab-conduit.json" <<EOF |
|
87 | $ hg debugcallconduit user.search --test-vcr "$VCR/phab-conduit.json" <<EOF | |
88 | > { |
|
88 | > { | |
@@ -107,15 +107,15 b' behind to identify it.' | |||||
107 |
|
107 | |||
108 | Template keywords |
|
108 | Template keywords | |
109 | $ hg log -T'{rev} {phabreview|json}\n' |
|
109 | $ hg log -T'{rev} {phabreview|json}\n' | |
110 |
3 {"id": "D |
|
110 | 3 {"id": "D1193", "url": "https://phab.mercurial-scm.org/D1193"} | |
111 |
2 {"id": "D |
|
111 | 2 {"id": "D1192", "url": "https://phab.mercurial-scm.org/D1192"} | |
112 |
1 {"id": "D |
|
112 | 1 {"id": "D1191", "url": "https://phab.mercurial-scm.org/D1191"} | |
113 |
0 {"id": "D |
|
113 | 0 {"id": "D1190", "url": "https://phab.mercurial-scm.org/D1190"} | |
114 |
|
114 | |||
115 | $ hg log -T'{rev} {if(phabreview, "{phabreview.url} {phabreview.id}")}\n' |
|
115 | $ hg log -T'{rev} {if(phabreview, "{phabreview.url} {phabreview.id}")}\n' | |
116 |
3 https://phab.mercurial-scm.org/D |
|
116 | 3 https://phab.mercurial-scm.org/D1193 D1193 | |
117 |
2 https://phab.mercurial-scm.org/D |
|
117 | 2 https://phab.mercurial-scm.org/D1192 D1192 | |
118 |
1 https://phab.mercurial-scm.org/D |
|
118 | 1 https://phab.mercurial-scm.org/D1191 D1191 | |
119 |
0 https://phab.mercurial-scm.org/D |
|
119 | 0 https://phab.mercurial-scm.org/D1190 D1190 | |
120 |
|
120 | |||
121 | $ cd .. |
|
121 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now