Mercurial > hg
comparison tests/phabricator/phabsend-fold-extend-front.json @ 44717:3dc6a70779f2
phabricator: add an option to fold several commits into one review (issue6244)
Now that all of the pieces are in place, alter the user facing command to allow
it. This is the default behavior when using `arc`, but I much prefer the 1:1
approach, and I'm tempted to mark this advanced to limit its abuse. I started
out calling this `--no-stack` like the feature request suggested, but I found it
less obvious (especially when writing the code), so I went with the `hg fold`
analogue.
This will populate the `Commits` tab in the web UI with the hash of each commit
folded into the review. From experimentation, it seems to list them in the
order they are received from the extension instead of the actual parent/child
relationship. The extension sends them in sorted order, thanks to
`templatefilters.json()`. Since there's enough info there for them to put
things in the right order, JSON is unordered aside from lists (IIUC), and there
doesn't seem to be any harmful side effects, I guess we write this off as their
bug. It is simple enough to workaround by putting a check for `util.sortdict`
into `templatefilters.json()`, and don't resort in that case.
There are a handful of restrictions that are documented in the code, which
somebody could probably fix if they're interested. Notably, this requires the
(default) `--amend` option, because there's not an easy way to apply a local tag
across several commits. This also doesn't do preflight checking to ensure that
all previous commits that were part of a single review are selected when
updating. That seems expensive. What happens is the excluded commit is dropped
from the review, but it keeps the Differential Revision line in the commit
message. Not everything can be edited, so it doesn't seem worth making the code
even more complicated to handle this edge case.
There are a couple of "obsolete feature not enabled but X markers found!"
messages that appeared on Windows but not macOS. I have no idea what's going on
here, but that's an unrelated issue, so I conditionalized those lines.
Differential Revision: https://phab.mercurial-scm.org/D8314
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 08 Apr 2020 17:30:10 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
44716:ed81fa859426 | 44717:3dc6a70779f2 |
---|---|
1 { | |
2 "interactions": [ | |
3 { | |
4 "request": { | |
5 "headers": { | |
6 "content-length": [ | |
7 "178" | |
8 ], | |
9 "accept": [ | |
10 "application/mercurial-0.1" | |
11 ], | |
12 "content-type": [ | |
13 "application/x-www-form-urlencoded" | |
14 ], | |
15 "host": [ | |
16 "phab.mercurial-scm.org" | |
17 ], | |
18 "user-agent": [ | |
19 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
20 ] | |
21 }, | |
22 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22revisionIDs%22%3A+%5B8387%2C+8387%2C+8387%2C+8387%5D%7D&output=json", | |
23 "uri": "https://phab.mercurial-scm.org//api/differential.querydiffs", | |
24 "method": "POST" | |
25 }, | |
26 "response": { | |
27 "headers": { | |
28 "x-xss-protection": [ | |
29 "1; mode=block" | |
30 ], | |
31 "strict-transport-security": [ | |
32 "max-age=0; includeSubdomains; preload" | |
33 ], | |
34 "transfer-encoding": [ | |
35 "chunked" | |
36 ], | |
37 "x-frame-options": [ | |
38 "Deny" | |
39 ], | |
40 "expires": [ | |
41 "Sat, 01 Jan 2000 00:00:00 GMT" | |
42 ], | |
43 "content-type": [ | |
44 "application/json" | |
45 ], | |
46 "referrer-policy": [ | |
47 "no-referrer" | |
48 ], | |
49 "server": [ | |
50 "Apache/2.4.10 (Debian)" | |
51 ], | |
52 "cache-control": [ | |
53 "no-store" | |
54 ], | |
55 "x-content-type-options": [ | |
56 "nosniff" | |
57 ], | |
58 "date": [ | |
59 "Wed, 08 Apr 2020 21:13:20 GMT" | |
60 ] | |
61 }, | |
62 "body": { | |
63 "string": "{\"result\":{\"21009\":{\"id\":\"21009\",\"revisionID\":\"8387\",\"dateCreated\":\"1586380394\",\"dateModified\":\"1586380397\",\"sourceControlBaseRevision\":\"98d480e0d494906d9758c44c622951b429afd862\",\"sourceControlPath\":\"\\/\",\"sourceControlSystem\":\"hg\",\"branch\":\"default\",\"bookmark\":null,\"creationMethod\":\"phabsend\",\"description\":null,\"unitStatus\":\"0\",\"lintStatus\":\"0\",\"changes\":[{\"id\":\"56829\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"r1N4i770De9n\"},\"oldPath\":null,\"currentPath\":\"file2.txt\",\"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\":\"+another mod\\n\"}]},{\"id\":\"56828\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"cAKuVP31KNrx\"},\"oldPath\":\"file.txt\",\"currentPath\":\"file.txt\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":[],\"type\":\"2\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"1\",\"delLines\":\"1\",\"hunks\":[{\"oldOffset\":\"1\",\"newOffset\":\"1\",\"oldLength\":\"1\",\"newLength\":\"1\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"-added\\n+mod3\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"51a04fea8707151b9891822fb3c5fc5f11d45f59\",\"parent\":\"98d480e0d494906d9758c44c622951b429afd862\",\"user\":\"test\"},\"local:commits\":{\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\",\"parents\":[\"602c4e7382436988e46c0d56fb3883968302b3f6\"],\"time\":0},\"51a04fea8707151b9891822fb3c5fc5f11d45f59\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"51a04fea8707151b9891822fb3c5fc5f11d45f59\",\"parents\":[\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\"],\"time\":0},\"602c4e7382436988e46c0d56fb3883968302b3f6\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"602c4e7382436988e46c0d56fb3883968302b3f6\",\"parents\":[\"98d480e0d494906d9758c44c622951b429afd862\"],\"time\":0},\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\",\"parents\":[\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"},\"21008\":{\"id\":\"21008\",\"revisionID\":\"8387\",\"dateCreated\":\"1586380389\",\"dateModified\":\"1586380391\",\"sourceControlBaseRevision\":\"98d480e0d494906d9758c44c622951b429afd862\",\"sourceControlPath\":\"\\/\",\"sourceControlSystem\":\"hg\",\"branch\":\"default\",\"bookmark\":null,\"creationMethod\":\"phabsend\",\"description\":null,\"unitStatus\":\"0\",\"lintStatus\":\"0\",\"changes\":[{\"id\":\"56827\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"yXvxVg6uibwd\"},\"oldPath\":null,\"currentPath\":\"file2.txt\",\"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\":\"+modified\\n\"}]},{\"id\":\"56826\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"cAKuVP31KNrx\"},\"oldPath\":\"file.txt\",\"currentPath\":\"file.txt\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":[],\"type\":\"2\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"1\",\"delLines\":\"1\",\"hunks\":[{\"oldOffset\":\"1\",\"newOffset\":\"1\",\"oldLength\":\"1\",\"newLength\":\"1\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"-added\\n+mod3\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\",\"parent\":\"98d480e0d494906d9758c44c622951b429afd862\",\"user\":\"test\"},\"local:commits\":{\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\",\"parents\":[\"602c4e7382436988e46c0d56fb3883968302b3f6\"],\"time\":0},\"602c4e7382436988e46c0d56fb3883968302b3f6\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"602c4e7382436988e46c0d56fb3883968302b3f6\",\"parents\":[\"98d480e0d494906d9758c44c622951b429afd862\"],\"time\":0},\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\",\"parents\":[\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"},\"21007\":{\"id\":\"21007\",\"revisionID\":\"8387\",\"dateCreated\":\"1586380382\",\"dateModified\":\"1586380385\",\"sourceControlBaseRevision\":\"98d480e0d494906d9758c44c622951b429afd862\",\"sourceControlPath\":\"\\/\",\"sourceControlSystem\":\"hg\",\"branch\":\"default\",\"bookmark\":null,\"creationMethod\":\"phabsend\",\"description\":null,\"unitStatus\":\"0\",\"lintStatus\":\"0\",\"changes\":[{\"id\":\"56825\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"yXvxVg6uibwd\"},\"oldPath\":null,\"currentPath\":\"file2.txt\",\"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\":\"+modified\\n\"}]},{\"id\":\"56824\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"cAKuVP31KNrx\"},\"oldPath\":\"file.txt\",\"currentPath\":\"file.txt\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":[],\"type\":\"2\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"1\",\"delLines\":\"1\",\"hunks\":[{\"oldOffset\":\"1\",\"newOffset\":\"1\",\"oldLength\":\"1\",\"newLength\":\"1\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"-added\\n+mod3\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\",\"parent\":\"98d480e0d494906d9758c44c622951b429afd862\",\"user\":\"test\"},\"local:commits\":{\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\",\"parents\":[\"602c4e7382436988e46c0d56fb3883968302b3f6\"],\"time\":0},\"602c4e7382436988e46c0d56fb3883968302b3f6\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"602c4e7382436988e46c0d56fb3883968302b3f6\",\"parents\":[\"98d480e0d494906d9758c44c622951b429afd862\"],\"time\":0},\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac\",\"parents\":[\"0124e5474c880e4fb40c8326ad2b75ae3e57ee5f\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"},\"21006\":{\"id\":\"21006\",\"revisionID\":\"8387\",\"dateCreated\":\"1586380375\",\"dateModified\":\"1586380377\",\"sourceControlBaseRevision\":\"98d480e0d494906d9758c44c622951b429afd862\",\"sourceControlPath\":\"\\/\",\"sourceControlSystem\":\"hg\",\"branch\":\"default\",\"bookmark\":null,\"creationMethod\":\"phabsend\",\"description\":null,\"unitStatus\":\"0\",\"lintStatus\":\"0\",\"changes\":[{\"id\":\"56823\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"cAKuVP31KNrx\"},\"oldPath\":\"file.txt\",\"currentPath\":\"file.txt\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":[],\"type\":\"2\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"1\",\"delLines\":\"1\",\"hunks\":[{\"oldOffset\":\"1\",\"newOffset\":\"1\",\"oldLength\":\"1\",\"newLength\":\"1\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"-added\\n+mod3\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"921f8265efbd92e92bfa5d7a0e047908de9844a5\",\"parent\":\"98d480e0d494906d9758c44c622951b429afd862\",\"user\":\"test\"},\"local:commits\":{\"602c4e7382436988e46c0d56fb3883968302b3f6\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"602c4e7382436988e46c0d56fb3883968302b3f6\",\"parents\":[\"98d480e0d494906d9758c44c622951b429afd862\"],\"time\":0},\"832553266fe8c3330d968e6987df4ae793483b2b\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"832553266fe8c3330d968e6987df4ae793483b2b\",\"parents\":[\"602c4e7382436988e46c0d56fb3883968302b3f6\"],\"time\":0},\"921f8265efbd92e92bfa5d7a0e047908de9844a5\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"921f8265efbd92e92bfa5d7a0e047908de9844a5\",\"parents\":[\"832553266fe8c3330d968e6987df4ae793483b2b\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"}},\"error_code\":null,\"error_info\":null}" | |
64 }, | |
65 "status": { | |
66 "code": 200, | |
67 "message": "OK" | |
68 } | |
69 } | |
70 }, | |
71 { | |
72 "request": { | |
73 "headers": { | |
74 "content-length": [ | |
75 "183" | |
76 ], | |
77 "accept": [ | |
78 "application/mercurial-0.1" | |
79 ], | |
80 "content-type": [ | |
81 "application/x-www-form-urlencoded" | |
82 ], | |
83 "host": [ | |
84 "phab.mercurial-scm.org" | |
85 ], | |
86 "user-agent": [ | |
87 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
88 ] | |
89 }, | |
90 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22constraints%22%3A+%7B%22callsigns%22%3A+%5B%22HG%22%5D%7D%7D&output=json", | |
91 "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search", | |
92 "method": "POST" | |
93 }, | |
94 "response": { | |
95 "headers": { | |
96 "x-xss-protection": [ | |
97 "1; mode=block" | |
98 ], | |
99 "strict-transport-security": [ | |
100 "max-age=0; includeSubdomains; preload" | |
101 ], | |
102 "transfer-encoding": [ | |
103 "chunked" | |
104 ], | |
105 "x-frame-options": [ | |
106 "Deny" | |
107 ], | |
108 "expires": [ | |
109 "Sat, 01 Jan 2000 00:00:00 GMT" | |
110 ], | |
111 "content-type": [ | |
112 "application/json" | |
113 ], | |
114 "referrer-policy": [ | |
115 "no-referrer" | |
116 ], | |
117 "server": [ | |
118 "Apache/2.4.10 (Debian)" | |
119 ], | |
120 "cache-control": [ | |
121 "no-store" | |
122 ], | |
123 "x-content-type-options": [ | |
124 "nosniff" | |
125 ], | |
126 "date": [ | |
127 "Wed, 08 Apr 2020 21:13:21 GMT" | |
128 ] | |
129 }, | |
130 "body": { | |
131 "string": "{\"result\":{\"data\":[{\"id\":2,\"type\":\"REPO\",\"phid\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"fields\":{\"name\":\"Mercurial\",\"vcs\":\"hg\",\"callsign\":\"HG\",\"shortName\":null,\"status\":\"active\",\"isImporting\":false,\"almanacServicePHID\":null,\"refRules\":{\"fetchRules\":[],\"trackRules\":[],\"permanentRefRules\":[]},\"spacePHID\":null,\"dateCreated\":1498761653,\"dateModified\":1500403184,\"policy\":{\"view\":\"public\",\"edit\":\"admin\",\"diffusion.push\":\"users\"}},\"attachments\":{}}],\"maps\":{},\"query\":{\"queryKey\":null},\"cursor\":{\"limit\":100,\"after\":null,\"before\":null,\"order\":null}},\"error_code\":null,\"error_info\":null}" | |
132 }, | |
133 "status": { | |
134 "code": 200, | |
135 "message": "OK" | |
136 } | |
137 } | |
138 }, | |
139 { | |
140 "request": { | |
141 "headers": { | |
142 "content-length": [ | |
143 "1756" | |
144 ], | |
145 "accept": [ | |
146 "application/mercurial-0.1" | |
147 ], | |
148 "content-type": [ | |
149 "application/x-www-form-urlencoded" | |
150 ], | |
151 "host": [ | |
152 "phab.mercurial-scm.org" | |
153 ], | |
154 "user-agent": [ | |
155 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
156 ] | |
157 }, | |
158 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22bookmark%22%3A+null%2C+%22branch%22%3A+%22default%22%2C+%22changes%22%3A+%7B%22file.txt%22%3A+%7B%22addLines%22%3A+1%2C+%22awayPaths%22%3A+%5B%5D%2C+%22commitHash%22%3A+null%2C+%22currentPath%22%3A+%22file.txt%22%2C+%22delLines%22%3A+0%2C+%22fileType%22%3A+1%2C+%22hunks%22%3A+%5B%7B%22addLines%22%3A+1%2C+%22corpus%22%3A+%22%2Bmod3%5Cn%22%2C+%22delLines%22%3A+0%2C+%22newLength%22%3A+1%2C+%22newOffset%22%3A+1%2C+%22oldLength%22%3A+0%2C+%22oldOffset%22%3A+0%7D%5D%2C+%22metadata%22%3A+%7B%7D%2C+%22newProperties%22%3A+%7B%22unix%3Afilemode%22%3A+%22100644%22%7D%2C+%22oldPath%22%3A+null%2C+%22oldProperties%22%3A+%7B%7D%2C+%22type%22%3A+1%7D%2C+%22file2.txt%22%3A+%7B%22addLines%22%3A+1%2C+%22awayPaths%22%3A+%5B%5D%2C+%22commitHash%22%3A+null%2C+%22currentPath%22%3A+%22file2.txt%22%2C+%22delLines%22%3A+0%2C+%22fileType%22%3A+1%2C+%22hunks%22%3A+%5B%7B%22addLines%22%3A+1%2C+%22corpus%22%3A+%22%2Banother+mod%5Cn%22%2C+%22delLines%22%3A+0%2C+%22newLength%22%3A+1%2C+%22newOffset%22%3A+1%2C+%22oldLength%22%3A+0%2C+%22oldOffset%22%3A+0%7D%5D%2C+%22metadata%22%3A+%7B%7D%2C+%22newProperties%22%3A+%7B%22unix%3Afilemode%22%3A+%22100644%22%7D%2C+%22oldPath%22%3A+null%2C+%22oldProperties%22%3A+%7B%7D%2C+%22type%22%3A+1%7D%7D%2C+%22creationMethod%22%3A+%22phabsend%22%2C+%22lintStatus%22%3A+%22none%22%2C+%22repositoryPHID%22%3A+%22PHID-REPO-bvunnehri4u2isyr7bc3%22%2C+%22sourceControlBaseRevision%22%3A+%220000000000000000000000000000000000000000%22%2C+%22sourceControlPath%22%3A+%22%2F%22%2C+%22sourceControlSystem%22%3A+%22hg%22%2C+%22sourceMachine%22%3A+%22%22%2C+%22sourcePath%22%3A+%22%2F%22%2C+%22unitStatus%22%3A+%22none%22%7D&output=json", | |
159 "uri": "https://phab.mercurial-scm.org//api/differential.creatediff", | |
160 "method": "POST" | |
161 }, | |
162 "response": { | |
163 "headers": { | |
164 "x-xss-protection": [ | |
165 "1; mode=block" | |
166 ], | |
167 "strict-transport-security": [ | |
168 "max-age=0; includeSubdomains; preload" | |
169 ], | |
170 "transfer-encoding": [ | |
171 "chunked" | |
172 ], | |
173 "x-frame-options": [ | |
174 "Deny" | |
175 ], | |
176 "expires": [ | |
177 "Sat, 01 Jan 2000 00:00:00 GMT" | |
178 ], | |
179 "content-type": [ | |
180 "application/json" | |
181 ], | |
182 "referrer-policy": [ | |
183 "no-referrer" | |
184 ], | |
185 "server": [ | |
186 "Apache/2.4.10 (Debian)" | |
187 ], | |
188 "cache-control": [ | |
189 "no-store" | |
190 ], | |
191 "x-content-type-options": [ | |
192 "nosniff" | |
193 ], | |
194 "date": [ | |
195 "Wed, 08 Apr 2020 21:13:21 GMT" | |
196 ] | |
197 }, | |
198 "body": { | |
199 "string": "{\"result\":{\"diffid\":21010,\"phid\":\"PHID-DIFF-rgriot6pr2ef72gyyljl\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/21010\\/\"},\"error_code\":null,\"error_info\":null}" | |
200 }, | |
201 "status": { | |
202 "code": 200, | |
203 "message": "OK" | |
204 } | |
205 } | |
206 }, | |
207 { | |
208 "request": { | |
209 "headers": { | |
210 "content-length": [ | |
211 "482" | |
212 ], | |
213 "accept": [ | |
214 "application/mercurial-0.1" | |
215 ], | |
216 "content-type": [ | |
217 "application/x-www-form-urlencoded" | |
218 ], | |
219 "host": [ | |
220 "phab.mercurial-scm.org" | |
221 ], | |
222 "user-agent": [ | |
223 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
224 ] | |
225 }, | |
226 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22date%5C%22%3A+%5C%220+0%5C%22%2C+%5C%22node%5C%22%3A+%5C%2251a04fea8707151b9891822fb3c5fc5f11d45f59%5C%22%2C+%5C%22parent%5C%22%3A+%5C%220000000000000000000000000000000000000000%5C%22%2C+%5C%22user%5C%22%3A+%5C%22test%5C%22%7D%22%2C+%22diff_id%22%3A+21010%2C+%22name%22%3A+%22hg%3Ameta%22%7D&output=json", | |
227 "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
228 "method": "POST" | |
229 }, | |
230 "response": { | |
231 "headers": { | |
232 "x-xss-protection": [ | |
233 "1; mode=block" | |
234 ], | |
235 "strict-transport-security": [ | |
236 "max-age=0; includeSubdomains; preload" | |
237 ], | |
238 "transfer-encoding": [ | |
239 "chunked" | |
240 ], | |
241 "x-frame-options": [ | |
242 "Deny" | |
243 ], | |
244 "expires": [ | |
245 "Sat, 01 Jan 2000 00:00:00 GMT" | |
246 ], | |
247 "content-type": [ | |
248 "application/json" | |
249 ], | |
250 "referrer-policy": [ | |
251 "no-referrer" | |
252 ], | |
253 "server": [ | |
254 "Apache/2.4.10 (Debian)" | |
255 ], | |
256 "cache-control": [ | |
257 "no-store" | |
258 ], | |
259 "x-content-type-options": [ | |
260 "nosniff" | |
261 ], | |
262 "date": [ | |
263 "Wed, 08 Apr 2020 21:13:22 GMT" | |
264 ] | |
265 }, | |
266 "body": { | |
267 "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
268 }, | |
269 "status": { | |
270 "code": 200, | |
271 "message": "OK" | |
272 } | |
273 } | |
274 }, | |
275 { | |
276 "request": { | |
277 "headers": { | |
278 "content-length": [ | |
279 "2130" | |
280 ], | |
281 "accept": [ | |
282 "application/mercurial-0.1" | |
283 ], | |
284 "content-type": [ | |
285 "application/x-www-form-urlencoded" | |
286 ], | |
287 "host": [ | |
288 "phab.mercurial-scm.org" | |
289 ], | |
290 "user-agent": [ | |
291 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
292 ] | |
293 }, | |
294 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%220124e5474c880e4fb40c8326ad2b75ae3e57ee5f%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%220124e5474c880e4fb40c8326ad2b75ae3e57ee5f%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%22602c4e7382436988e46c0d56fb3883968302b3f6%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%2C+%5C%2251a04fea8707151b9891822fb3c5fc5f11d45f59%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%2251a04fea8707151b9891822fb3c5fc5f11d45f59%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%22e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%2C+%5C%22602c4e7382436988e46c0d56fb3883968302b3f6%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%22602c4e7382436988e46c0d56fb3883968302b3f6%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%2298d480e0d494906d9758c44c622951b429afd862%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%2C+%5C%2298d480e0d494906d9758c44c622951b429afd862%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%2298d480e0d494906d9758c44c622951b429afd862%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%220000000000000000000000000000000000000000%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%2C+%5C%22e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%22e4edb1fe3565eaaecc1787ada4fcc2b7e9018fac%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%220124e5474c880e4fb40c8326ad2b75ae3e57ee5f%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%7D%22%2C+%22diff_id%22%3A+21010%2C+%22name%22%3A+%22local%3Acommits%22%7D&output=json", | |
295 "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
296 "method": "POST" | |
297 }, | |
298 "response": { | |
299 "headers": { | |
300 "x-xss-protection": [ | |
301 "1; mode=block" | |
302 ], | |
303 "strict-transport-security": [ | |
304 "max-age=0; includeSubdomains; preload" | |
305 ], | |
306 "transfer-encoding": [ | |
307 "chunked" | |
308 ], | |
309 "x-frame-options": [ | |
310 "Deny" | |
311 ], | |
312 "expires": [ | |
313 "Sat, 01 Jan 2000 00:00:00 GMT" | |
314 ], | |
315 "content-type": [ | |
316 "application/json" | |
317 ], | |
318 "referrer-policy": [ | |
319 "no-referrer" | |
320 ], | |
321 "server": [ | |
322 "Apache/2.4.10 (Debian)" | |
323 ], | |
324 "cache-control": [ | |
325 "no-store" | |
326 ], | |
327 "x-content-type-options": [ | |
328 "nosniff" | |
329 ], | |
330 "date": [ | |
331 "Wed, 08 Apr 2020 21:13:22 GMT" | |
332 ] | |
333 }, | |
334 "body": { | |
335 "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
336 }, | |
337 "status": { | |
338 "code": 200, | |
339 "message": "OK" | |
340 } | |
341 } | |
342 }, | |
343 { | |
344 "request": { | |
345 "headers": { | |
346 "content-length": [ | |
347 "155" | |
348 ], | |
349 "accept": [ | |
350 "application/mercurial-0.1" | |
351 ], | |
352 "content-type": [ | |
353 "application/x-www-form-urlencoded" | |
354 ], | |
355 "host": [ | |
356 "phab.mercurial-scm.org" | |
357 ], | |
358 "user-agent": [ | |
359 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
360 ] | |
361 }, | |
362 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22corpus%22%3A+%22added+file%22%7D&output=json", | |
363 "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
364 "method": "POST" | |
365 }, | |
366 "response": { | |
367 "headers": { | |
368 "x-xss-protection": [ | |
369 "1; mode=block" | |
370 ], | |
371 "strict-transport-security": [ | |
372 "max-age=0; includeSubdomains; preload" | |
373 ], | |
374 "transfer-encoding": [ | |
375 "chunked" | |
376 ], | |
377 "x-frame-options": [ | |
378 "Deny" | |
379 ], | |
380 "expires": [ | |
381 "Sat, 01 Jan 2000 00:00:00 GMT" | |
382 ], | |
383 "content-type": [ | |
384 "application/json" | |
385 ], | |
386 "referrer-policy": [ | |
387 "no-referrer" | |
388 ], | |
389 "server": [ | |
390 "Apache/2.4.10 (Debian)" | |
391 ], | |
392 "cache-control": [ | |
393 "no-store" | |
394 ], | |
395 "x-content-type-options": [ | |
396 "nosniff" | |
397 ], | |
398 "date": [ | |
399 "Wed, 08 Apr 2020 21:13:22 GMT" | |
400 ] | |
401 }, | |
402 "body": { | |
403 "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"added file\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"added file\"}]},\"error_code\":null,\"error_info\":null}" | |
404 }, | |
405 "status": { | |
406 "code": 200, | |
407 "message": "OK" | |
408 } | |
409 } | |
410 }, | |
411 { | |
412 "request": { | |
413 "headers": { | |
414 "content-length": [ | |
415 "364" | |
416 ], | |
417 "accept": [ | |
418 "application/mercurial-0.1" | |
419 ], | |
420 "content-type": [ | |
421 "application/x-www-form-urlencoded" | |
422 ], | |
423 "host": [ | |
424 "phab.mercurial-scm.org" | |
425 ], | |
426 "user-agent": [ | |
427 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
428 ] | |
429 }, | |
430 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22corpus%22%3A+%22one%3A+first+commit+to+review%5Cn%5CnThis+file+was+modified+with+%27mod1%27+as+its+contents.%5Cn%5CnTest+Plan%3A%5CnLOL%21++What+testing%3F%21%5Cn%5CnDifferential+Revision%3A+https%3A%2F%2Fphab.mercurial-scm.org%2FD8387%22%7D&output=json", | |
431 "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
432 "method": "POST" | |
433 }, | |
434 "response": { | |
435 "headers": { | |
436 "x-xss-protection": [ | |
437 "1; mode=block" | |
438 ], | |
439 "strict-transport-security": [ | |
440 "max-age=0; includeSubdomains; preload" | |
441 ], | |
442 "transfer-encoding": [ | |
443 "chunked" | |
444 ], | |
445 "x-frame-options": [ | |
446 "Deny" | |
447 ], | |
448 "expires": [ | |
449 "Sat, 01 Jan 2000 00:00:00 GMT" | |
450 ], | |
451 "content-type": [ | |
452 "application/json" | |
453 ], | |
454 "referrer-policy": [ | |
455 "no-referrer" | |
456 ], | |
457 "server": [ | |
458 "Apache/2.4.10 (Debian)" | |
459 ], | |
460 "cache-control": [ | |
461 "no-store" | |
462 ], | |
463 "x-content-type-options": [ | |
464 "nosniff" | |
465 ], | |
466 "date": [ | |
467 "Wed, 08 Apr 2020 21:13:23 GMT" | |
468 ] | |
469 }, | |
470 "body": { | |
471 "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"one: first commit to review\",\"testPlan\":\"LOL! What testing?!\",\"revisionID\":8387,\"summary\":\"This file was modified with 'mod1' as its contents.\"},\"revisionIDFieldInfo\":{\"value\":8387,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"one: first commit to review\"},{\"type\":\"testPlan\",\"value\":\"LOL! What testing?!\"},{\"type\":\"summary\",\"value\":\"This file was modified with 'mod1' as its contents.\"}]},\"error_code\":null,\"error_info\":null}" | |
472 }, | |
473 "status": { | |
474 "code": 200, | |
475 "message": "OK" | |
476 } | |
477 } | |
478 }, | |
479 { | |
480 "request": { | |
481 "headers": { | |
482 "content-length": [ | |
483 "361" | |
484 ], | |
485 "accept": [ | |
486 "application/mercurial-0.1" | |
487 ], | |
488 "content-type": [ | |
489 "application/x-www-form-urlencoded" | |
490 ], | |
491 "host": [ | |
492 "phab.mercurial-scm.org" | |
493 ], | |
494 "user-agent": [ | |
495 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
496 ] | |
497 }, | |
498 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22corpus%22%3A+%22two%3A+second+commit+to+review%5Cn%5CnThis+file+was+modified+with+%27mod2%27+as+its+contents.%5Cn%5CnTest+Plan%3A%5CnHaha%21+yeah%2C+right.%5Cn%5CnDifferential+Revision%3A+https%3A%2F%2Fphab.mercurial-scm.org%2FD8387%22%7D&output=json", | |
499 "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
500 "method": "POST" | |
501 }, | |
502 "response": { | |
503 "headers": { | |
504 "x-xss-protection": [ | |
505 "1; mode=block" | |
506 ], | |
507 "strict-transport-security": [ | |
508 "max-age=0; includeSubdomains; preload" | |
509 ], | |
510 "transfer-encoding": [ | |
511 "chunked" | |
512 ], | |
513 "x-frame-options": [ | |
514 "Deny" | |
515 ], | |
516 "expires": [ | |
517 "Sat, 01 Jan 2000 00:00:00 GMT" | |
518 ], | |
519 "content-type": [ | |
520 "application/json" | |
521 ], | |
522 "referrer-policy": [ | |
523 "no-referrer" | |
524 ], | |
525 "server": [ | |
526 "Apache/2.4.10 (Debian)" | |
527 ], | |
528 "cache-control": [ | |
529 "no-store" | |
530 ], | |
531 "x-content-type-options": [ | |
532 "nosniff" | |
533 ], | |
534 "date": [ | |
535 "Wed, 08 Apr 2020 21:13:23 GMT" | |
536 ] | |
537 }, | |
538 "body": { | |
539 "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"two: second commit to review\",\"testPlan\":\"Haha! yeah, right.\",\"revisionID\":8387,\"summary\":\"This file was modified with 'mod2' as its contents.\"},\"revisionIDFieldInfo\":{\"value\":8387,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"two: second commit to review\"},{\"type\":\"testPlan\",\"value\":\"Haha! yeah, right.\"},{\"type\":\"summary\",\"value\":\"This file was modified with 'mod2' as its contents.\"}]},\"error_code\":null,\"error_info\":null}" | |
540 }, | |
541 "status": { | |
542 "code": 200, | |
543 "message": "OK" | |
544 } | |
545 } | |
546 }, | |
547 { | |
548 "request": { | |
549 "headers": { | |
550 "content-length": [ | |
551 "260" | |
552 ], | |
553 "accept": [ | |
554 "application/mercurial-0.1" | |
555 ], | |
556 "content-type": [ | |
557 "application/x-www-form-urlencoded" | |
558 ], | |
559 "host": [ | |
560 "phab.mercurial-scm.org" | |
561 ], | |
562 "user-agent": [ | |
563 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
564 ] | |
565 }, | |
566 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22corpus%22%3A+%223%3A+a+commit+with+no+detailed+message%5Cn%5CnDifferential+Revision%3A+https%3A%2F%2Fphab.mercurial-scm.org%2FD8387%22%7D&output=json", | |
567 "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
568 "method": "POST" | |
569 }, | |
570 "response": { | |
571 "headers": { | |
572 "x-xss-protection": [ | |
573 "1; mode=block" | |
574 ], | |
575 "strict-transport-security": [ | |
576 "max-age=0; includeSubdomains; preload" | |
577 ], | |
578 "transfer-encoding": [ | |
579 "chunked" | |
580 ], | |
581 "x-frame-options": [ | |
582 "Deny" | |
583 ], | |
584 "expires": [ | |
585 "Sat, 01 Jan 2000 00:00:00 GMT" | |
586 ], | |
587 "content-type": [ | |
588 "application/json" | |
589 ], | |
590 "referrer-policy": [ | |
591 "no-referrer" | |
592 ], | |
593 "server": [ | |
594 "Apache/2.4.10 (Debian)" | |
595 ], | |
596 "cache-control": [ | |
597 "no-store" | |
598 ], | |
599 "x-content-type-options": [ | |
600 "nosniff" | |
601 ], | |
602 "date": [ | |
603 "Wed, 08 Apr 2020 21:13:24 GMT" | |
604 ] | |
605 }, | |
606 "body": { | |
607 "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"3: a commit with no detailed message\",\"revisionID\":8387},\"revisionIDFieldInfo\":{\"value\":8387,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"3: a commit with no detailed message\"}]},\"error_code\":null,\"error_info\":null}" | |
608 }, | |
609 "status": { | |
610 "code": 200, | |
611 "message": "OK" | |
612 } | |
613 } | |
614 }, | |
615 { | |
616 "request": { | |
617 "headers": { | |
618 "content-length": [ | |
619 "251" | |
620 ], | |
621 "accept": [ | |
622 "application/mercurial-0.1" | |
623 ], | |
624 "content-type": [ | |
625 "application/x-www-form-urlencoded" | |
626 ], | |
627 "host": [ | |
628 "phab.mercurial-scm.org" | |
629 ], | |
630 "user-agent": [ | |
631 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
632 ] | |
633 }, | |
634 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22corpus%22%3A+%22four%3A+extend+the+fold+range%5Cn%5CnDifferential+Revision%3A+https%3A%2F%2Fphab.mercurial-scm.org%2FD8387%22%7D&output=json", | |
635 "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage", | |
636 "method": "POST" | |
637 }, | |
638 "response": { | |
639 "headers": { | |
640 "x-xss-protection": [ | |
641 "1; mode=block" | |
642 ], | |
643 "strict-transport-security": [ | |
644 "max-age=0; includeSubdomains; preload" | |
645 ], | |
646 "transfer-encoding": [ | |
647 "chunked" | |
648 ], | |
649 "x-frame-options": [ | |
650 "Deny" | |
651 ], | |
652 "expires": [ | |
653 "Sat, 01 Jan 2000 00:00:00 GMT" | |
654 ], | |
655 "content-type": [ | |
656 "application/json" | |
657 ], | |
658 "referrer-policy": [ | |
659 "no-referrer" | |
660 ], | |
661 "server": [ | |
662 "Apache/2.4.10 (Debian)" | |
663 ], | |
664 "cache-control": [ | |
665 "no-store" | |
666 ], | |
667 "x-content-type-options": [ | |
668 "nosniff" | |
669 ], | |
670 "date": [ | |
671 "Wed, 08 Apr 2020 21:13:24 GMT" | |
672 ] | |
673 }, | |
674 "body": { | |
675 "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"four: extend the fold range\",\"revisionID\":8387},\"revisionIDFieldInfo\":{\"value\":8387,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"four: extend the fold range\"}]},\"error_code\":null,\"error_info\":null}" | |
676 }, | |
677 "status": { | |
678 "code": 200, | |
679 "message": "OK" | |
680 } | |
681 } | |
682 }, | |
683 { | |
684 "request": { | |
685 "headers": { | |
686 "content-length": [ | |
687 "765" | |
688 ], | |
689 "accept": [ | |
690 "application/mercurial-0.1" | |
691 ], | |
692 "content-type": [ | |
693 "application/x-www-form-urlencoded" | |
694 ], | |
695 "host": [ | |
696 "phab.mercurial-scm.org" | |
697 ], | |
698 "user-agent": [ | |
699 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
700 ] | |
701 }, | |
702 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22transactions%22%3A+%5B%7B%22type%22%3A+%22update%22%2C+%22value%22%3A+%22PHID-DIFF-rgriot6pr2ef72gyyljl%22%7D%2C+%7B%22type%22%3A+%22title%22%2C+%22value%22%3A+%22added+file%22%7D%2C+%7B%22type%22%3A+%22testPlan%22%2C+%22value%22%3A+%22LOL%21++What+testing%3F%21%5Cn%5CnHaha%21+yeah%2C+right.%22%7D%2C+%7B%22type%22%3A+%22summary%22%2C+%22value%22%3A+%22one%3A+first+commit+to+review%5Cn%5CnThis+file+was+modified+with+%27mod1%27+as+its+contents.%5Cn%5Cntwo%3A+second+commit+to+review%5Cn%5CnThis+file+was+modified+with+%27mod2%27+as+its+contents.%5Cn%5Cn3%3A+a+commit+with+no+detailed+message%5Cn%5Cnfour%3A+extend+the+fold+range%22%7D%5D%7D&output=json", | |
703 "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit", | |
704 "method": "POST" | |
705 }, | |
706 "response": { | |
707 "headers": { | |
708 "x-xss-protection": [ | |
709 "1; mode=block" | |
710 ], | |
711 "strict-transport-security": [ | |
712 "max-age=0; includeSubdomains; preload" | |
713 ], | |
714 "transfer-encoding": [ | |
715 "chunked" | |
716 ], | |
717 "x-frame-options": [ | |
718 "Deny" | |
719 ], | |
720 "expires": [ | |
721 "Sat, 01 Jan 2000 00:00:00 GMT" | |
722 ], | |
723 "content-type": [ | |
724 "application/json" | |
725 ], | |
726 "referrer-policy": [ | |
727 "no-referrer" | |
728 ], | |
729 "server": [ | |
730 "Apache/2.4.10 (Debian)" | |
731 ], | |
732 "cache-control": [ | |
733 "no-store" | |
734 ], | |
735 "x-content-type-options": [ | |
736 "nosniff" | |
737 ], | |
738 "date": [ | |
739 "Wed, 08 Apr 2020 21:13:25 GMT" | |
740 ] | |
741 }, | |
742 "body": { | |
743 "string": "{\"result\":{\"object\":{\"id\":8388,\"phid\":\"PHID-DREV-v5iywrnzj4h4uwo57pob\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-dlqxlqkjwgga5ql\"},{\"phid\":\"PHID-XACT-DREV-wtmb3lqskq6o45p\"},{\"phid\":\"PHID-XACT-DREV-otuctsq34y7folr\"},{\"phid\":\"PHID-XACT-DREV-f5i6qgxl42cnu7c\"},{\"phid\":\"PHID-XACT-DREV-r773sn4ttwgm3hz\"},{\"phid\":\"PHID-XACT-DREV-rhu5nw6iwa4d2cz\"},{\"phid\":\"PHID-XACT-DREV-acc2lobcwf5ycb4\"}]},\"error_code\":null,\"error_info\":null}" | |
744 }, | |
745 "status": { | |
746 "code": 200, | |
747 "message": "OK" | |
748 } | |
749 } | |
750 }, | |
751 { | |
752 "request": { | |
753 "headers": { | |
754 "content-length": [ | |
755 "146" | |
756 ], | |
757 "accept": [ | |
758 "application/mercurial-0.1" | |
759 ], | |
760 "content-type": [ | |
761 "application/x-www-form-urlencoded" | |
762 ], | |
763 "host": [ | |
764 "phab.mercurial-scm.org" | |
765 ], | |
766 "user-agent": [ | |
767 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
768 ] | |
769 }, | |
770 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22ids%22%3A+%5B8388%5D%7D&output=json", | |
771 "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
772 "method": "POST" | |
773 }, | |
774 "response": { | |
775 "headers": { | |
776 "x-xss-protection": [ | |
777 "1; mode=block" | |
778 ], | |
779 "strict-transport-security": [ | |
780 "max-age=0; includeSubdomains; preload" | |
781 ], | |
782 "transfer-encoding": [ | |
783 "chunked" | |
784 ], | |
785 "x-frame-options": [ | |
786 "Deny" | |
787 ], | |
788 "expires": [ | |
789 "Sat, 01 Jan 2000 00:00:00 GMT" | |
790 ], | |
791 "content-type": [ | |
792 "application/json" | |
793 ], | |
794 "referrer-policy": [ | |
795 "no-referrer" | |
796 ], | |
797 "server": [ | |
798 "Apache/2.4.10 (Debian)" | |
799 ], | |
800 "cache-control": [ | |
801 "no-store" | |
802 ], | |
803 "x-content-type-options": [ | |
804 "nosniff" | |
805 ], | |
806 "date": [ | |
807 "Wed, 08 Apr 2020 21:13:25 GMT" | |
808 ] | |
809 }, | |
810 "body": { | |
811 "string": "{\"result\":[{\"id\":\"8388\",\"phid\":\"PHID-DREV-v5iywrnzj4h4uwo57pob\",\"title\":\"added file\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D8388\",\"dateCreated\":\"1586380405\",\"dateModified\":\"1586380405\",\"authorPHID\":\"PHID-USER-tzhaient733lwrlbcag5\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":2,\"lines.removed\":0},\"branch\":\"default\",\"summary\":\"one: first commit to review\\n\\nThis file was modified with 'mod1' as its contents.\\n\\ntwo: second commit to review\\n\\nThis file was modified with 'mod2' as its contents.\\n\\n3: a commit with no detailed message\\n\\nfour: extend the fold range\",\"testPlan\":\"LOL! What testing?!\\n\\nHaha! yeah, right.\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-rgriot6pr2ef72gyyljl\",\"diffs\":[\"21010\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-q42dn7cc3donqriafhjx\"],\"hashes\":[[\"hgcm\",\"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\"],[\"hgcm\",\"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\"],[\"hgcm\",\"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\"],[\"hgcm\",\"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\"],[\"hgcm\",\"\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\"]],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":\"\\/\"}],\"error_code\":null,\"error_info\":null}" | |
812 }, | |
813 "status": { | |
814 "code": 200, | |
815 "message": "OK" | |
816 } | |
817 } | |
818 }, | |
819 { | |
820 "request": { | |
821 "headers": { | |
822 "content-length": [ | |
823 "482" | |
824 ], | |
825 "accept": [ | |
826 "application/mercurial-0.1" | |
827 ], | |
828 "content-type": [ | |
829 "application/x-www-form-urlencoded" | |
830 ], | |
831 "host": [ | |
832 "phab.mercurial-scm.org" | |
833 ], | |
834 "user-agent": [ | |
835 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
836 ] | |
837 }, | |
838 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22date%5C%22%3A+%5C%220+0%5C%22%2C+%5C%22node%5C%22%3A+%5C%22ac7db67f0991021fb38d3cbf31f5d605e694d3a9%5C%22%2C+%5C%22parent%5C%22%3A+%5C%220000000000000000000000000000000000000000%5C%22%2C+%5C%22user%5C%22%3A+%5C%22test%5C%22%7D%22%2C+%22diff_id%22%3A+21010%2C+%22name%22%3A+%22hg%3Ameta%22%7D&output=json", | |
839 "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
840 "method": "POST" | |
841 }, | |
842 "response": { | |
843 "headers": { | |
844 "x-xss-protection": [ | |
845 "1; mode=block" | |
846 ], | |
847 "strict-transport-security": [ | |
848 "max-age=0; includeSubdomains; preload" | |
849 ], | |
850 "transfer-encoding": [ | |
851 "chunked" | |
852 ], | |
853 "x-frame-options": [ | |
854 "Deny" | |
855 ], | |
856 "expires": [ | |
857 "Sat, 01 Jan 2000 00:00:00 GMT" | |
858 ], | |
859 "content-type": [ | |
860 "application/json" | |
861 ], | |
862 "referrer-policy": [ | |
863 "no-referrer" | |
864 ], | |
865 "server": [ | |
866 "Apache/2.4.10 (Debian)" | |
867 ], | |
868 "cache-control": [ | |
869 "no-store" | |
870 ], | |
871 "x-content-type-options": [ | |
872 "nosniff" | |
873 ], | |
874 "date": [ | |
875 "Wed, 08 Apr 2020 21:13:26 GMT" | |
876 ], | |
877 "connection": [ | |
878 "close" | |
879 ] | |
880 }, | |
881 "body": { | |
882 "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
883 }, | |
884 "status": { | |
885 "code": 200, | |
886 "message": "OK" | |
887 } | |
888 } | |
889 }, | |
890 { | |
891 "request": { | |
892 "headers": { | |
893 "content-length": [ | |
894 "2130" | |
895 ], | |
896 "accept": [ | |
897 "application/mercurial-0.1" | |
898 ], | |
899 "content-type": [ | |
900 "application/x-www-form-urlencoded" | |
901 ], | |
902 "host": [ | |
903 "phab.mercurial-scm.org" | |
904 ], | |
905 "user-agent": [ | |
906 "mercurial/proto-1.0 (Mercurial 5.3.2+463-d35fbae9dd33+20200408)" | |
907 ] | |
908 }, | |
909 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22data%22%3A+%22%7B%5C%2215e9b14b4b4c37ccd18298d058a184068718765e%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%2215e9b14b4b4c37ccd18298d058a184068718765e%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%220000000000000000000000000000000000000000%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%2C+%5C%2230682b960804bd91823ea5ccb5d6a7d999f8d1ea%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%2230682b960804bd91823ea5ccb5d6a7d999f8d1ea%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%223ee132d41dbc24bf5a4df3e97573d6e922446565%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%2C+%5C%223ee132d41dbc24bf5a4df3e97573d6e922446565%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%223ee132d41dbc24bf5a4df3e97573d6e922446565%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%226320b7d714cf2b2b71370eafeae29e2988d07872%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%2C+%5C%226320b7d714cf2b2b71370eafeae29e2988d07872%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%226320b7d714cf2b2b71370eafeae29e2988d07872%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%2215e9b14b4b4c37ccd18298d058a184068718765e%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%2C+%5C%22ac7db67f0991021fb38d3cbf31f5d605e694d3a9%5C%22%3A+%7B%5C%22author%5C%22%3A+%5C%22test%5C%22%2C+%5C%22authorEmail%5C%22%3A+%5C%22test%5C%22%2C+%5C%22branch%5C%22%3A+%5C%22default%5C%22%2C+%5C%22commit%5C%22%3A+%5C%22ac7db67f0991021fb38d3cbf31f5d605e694d3a9%5C%22%2C+%5C%22parents%5C%22%3A+%5B%5C%2230682b960804bd91823ea5ccb5d6a7d999f8d1ea%5C%22%5D%2C+%5C%22time%5C%22%3A+0%7D%7D%22%2C+%22diff_id%22%3A+21010%2C+%22name%22%3A+%22local%3Acommits%22%7D&output=json", | |
910 "uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty", | |
911 "method": "POST" | |
912 }, | |
913 "response": { | |
914 "headers": { | |
915 "x-xss-protection": [ | |
916 "1; mode=block" | |
917 ], | |
918 "strict-transport-security": [ | |
919 "max-age=0; includeSubdomains; preload" | |
920 ], | |
921 "transfer-encoding": [ | |
922 "chunked" | |
923 ], | |
924 "x-frame-options": [ | |
925 "Deny" | |
926 ], | |
927 "expires": [ | |
928 "Sat, 01 Jan 2000 00:00:00 GMT" | |
929 ], | |
930 "content-type": [ | |
931 "application/json" | |
932 ], | |
933 "referrer-policy": [ | |
934 "no-referrer" | |
935 ], | |
936 "server": [ | |
937 "Apache/2.4.10 (Debian)" | |
938 ], | |
939 "cache-control": [ | |
940 "no-store" | |
941 ], | |
942 "x-content-type-options": [ | |
943 "nosniff" | |
944 ], | |
945 "date": [ | |
946 "Wed, 08 Apr 2020 21:13:26 GMT" | |
947 ] | |
948 }, | |
949 "body": { | |
950 "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}" | |
951 }, | |
952 "status": { | |
953 "code": 200, | |
954 "message": "OK" | |
955 } | |
956 } | |
957 } | |
958 ], | |
959 "version": 1 | |
960 } |