Mercurial > hg
comparison tests/phabricator/phabread-empty-drev.json @ 44579:a7f8c657a3f0
phabricator: allow multiple DREVSPEC args to phabread|phabimport|phabupdate
Per Augie's request. Like regular revsets, the result is the union of all given
specs. Unlike regular revsets, these don't resolve in parent -> child order,
and should be specified as such on the command line.
This change invalidated a previous test using an empty `hg phabread`, so it has
been switched to `hg debugcallconduit` to preserve that coverage.
Differential Revision: https://phab.mercurial-scm.org/D8233
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 05 Mar 2020 11:02:07 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
44578:90adda73676a | 44579:a7f8c657a3f0 |
---|---|
1 { | |
2 "version": 1, | |
3 "interactions": [ | |
4 { | |
5 "request": { | |
6 "uri": "https://phab.mercurial-scm.org//api/differential.query", | |
7 "method": "POST", | |
8 "headers": { | |
9 "accept": [ | |
10 "application/mercurial-0.1" | |
11 ], | |
12 "host": [ | |
13 "phab.mercurial-scm.org" | |
14 ], | |
15 "content-length": [ | |
16 "146" | |
17 ], | |
18 "user-agent": [ | |
19 "mercurial/proto-1.0 (Mercurial 5.3+33-bb58931d0c4f)" | |
20 ], | |
21 "content-type": [ | |
22 "application/x-www-form-urlencoded" | |
23 ] | |
24 }, | |
25 "body": "__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22ids%22%3A+%5B7917%5D%7D&output=json" | |
26 }, | |
27 "response": { | |
28 "status": { | |
29 "code": 200, | |
30 "message": "OK" | |
31 }, | |
32 "headers": { | |
33 "x-content-type-options": [ | |
34 "nosniff" | |
35 ], | |
36 "x-frame-options": [ | |
37 "Deny" | |
38 ], | |
39 "referrer-policy": [ | |
40 "no-referrer" | |
41 ], | |
42 "server": [ | |
43 "Apache/2.4.10 (Debian)" | |
44 ], | |
45 "cache-control": [ | |
46 "no-store" | |
47 ], | |
48 "content-type": [ | |
49 "application/json" | |
50 ], | |
51 "transfer-encoding": [ | |
52 "chunked" | |
53 ], | |
54 "expires": [ | |
55 "Sat, 01 Jan 2000 00:00:00 GMT" | |
56 ], | |
57 "x-xss-protection": [ | |
58 "1; mode=block" | |
59 ], | |
60 "date": [ | |
61 "Thu, 05 Mar 2020 16:19:23 GMT" | |
62 ], | |
63 "strict-transport-security": [ | |
64 "max-age=0; includeSubdomains; preload" | |
65 ] | |
66 }, | |
67 "body": { | |
68 "string": "{\"result\":[{\"id\":\"7917\",\"phid\":\"PHID-DREV-yhl3yvijs4jploa5iqm4\",\"title\":\"create public change for phabricator testing\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D7917\",\"dateCreated\":\"1579221160\",\"dateModified\":\"1579222286\",\"authorPHID\":\"PHID-USER-tzhaient733lwrlbcag5\",\"status\":\"4\",\"statusName\":\"Abandoned\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":1,\"lines.removed\":1},\"branch\":\"default\",\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-e64weyerxtutv2jvj2dt\",\"diffs\":[\"19393\"],\"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\"]],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":\"\\/\"}],\"error_code\":null,\"error_info\":null}" | |
69 } | |
70 } | |
71 } | |
72 ] | |
73 } |