Debian Codegraph @

tests/phabricator/accept-4564.json

raw
1 {
2 "interactions": [
3 {
4 "response": {
5 "headers": {
6 "x-content-type-options": [
7 "nosniff"
8 ],
9 "x-xss-protection": [
10 "1; mode=block"
11 ],
12 "content-type": [
13 "application/json"
14 ],
15 "transfer-encoding": [
16 "chunked"
17 ],
18 "strict-transport-security": [
19 "max-age=0; includeSubdomains; preload"
20 ],
21 "date": [
22 "Fri, 17 Jan 2020 00:31:57 GMT"
23 ],
24 "cache-control": [
25 "no-store"
26 ],
27 "expires": [
28 "Sat, 01 Jan 2000 00:00:00 GMT"
29 ],
30 "server": [
31 "Apache/2.4.10 (Debian)"
32 ],
33 "x-frame-options": [
34 "Deny"
35 ],
36 "referrer-policy": [
37 "no-referrer"
38 ]
39 },
40 "status": {
41 "code": 200,
42 "message": "OK"
43 },
44 "body": {
45 "string": "{\"result\":[{\"id\":\"4564\",\"phid\":\"PHID-DREV-6cgnf5fyeeqhntbxgfb7\",\"title\":\"localrepo: move some vfs initialization out of __init__\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D4564\",\"dateCreated\":\"1536856174\",\"dateModified\":\"1537307962\",\"authorPHID\":\"PHID-USER-p54bpwbifxx7sbgpx47d\",\"status\":\"3\",\"statusName\":\"Closed\",\"properties\":{\"wasAcceptedBeforeClose\":true},\"branch\":null,\"summary\":\"In order to make repository types more dynamic, we'll need to move the\\nlogic for determining repository behavior out of\\nlocalrepository.__init__ so we can influence behavior before the type\\nis instantiated.\\n\\nThis commit starts that process by moving working directory and .hg\\/\\nvfs initialization to our new standalone function for instantiating\\nlocal repositories.\\n\\nAside from API changes, behavior should be fully backwards compatible.\\n\\n.. api::\\n\\n localrepository.__init__ now does less work and accepts new args\\n\\n Use ``hg.repository()``, ``localrepo.instance()``, or\\n ``localrepo.makelocalrepository()`` to obtain a new local repository\\n instance instead of calling the ``localrepository`` constructor\\n directly.\",\"testPlan\":\"\",\"lineCount\":\"64\",\"activeDiffPHID\":\"PHID-DIFF-7m4gug2nq4zt7jwxzqg2\",\"diffs\":[\"11162\",\"11002\"],\"commits\":[\"PHID-CMIT-xknk3j65xkoirmrpelni\"],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\",\"PHID-USER-cgcdlc6c3gpxapbmkwa2\":\"PHID-USER-cgcdlc6c3gpxapbmkwa2\"},\"ccs\":[\"PHID-USER-cgcdlc6c3gpxapbmkwa2\",\"PHID-USER-q42dn7cc3donqriafhjx\"],\"hashes\":[],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[\"PHID-DREV-gqp33hnxg65vkl3xioka\"]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\"}],\"error_code\":null,\"error_info\":null}"
46 }
47 },
48 "request": {
49 "method": "POST",
50 "uri": "https://phab.mercurial-scm.org//api/differential.query",
51 "headers": {
52 "content-type": [
53 "application/x-www-form-urlencoded"
54 ],
55 "user-agent": [
56 "mercurial/proto-1.0 (Mercurial 5.2.2+620-6ee2ba170fe6+20200116)"
57 ],
58 "accept": [
59 "application/mercurial-0.1"
60 ],
61 "content-length": [
62 "146"
63 ],
64 "host": [
65 "phab.mercurial-scm.org"
66 ]
67 },
68 "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22ids%22%3A+%5B4564%5D%7D&output=json&__conduit__=1"
69 }
70 },
71 {
72 "response": {
73 "headers": {
74 "x-content-type-options": [
75 "nosniff"
76 ],
77 "x-xss-protection": [
78 "1; mode=block"
79 ],
80 "content-type": [
81 "application/json"
82 ],
83 "transfer-encoding": [
84 "chunked"
85 ],
86 "strict-transport-security": [
87 "max-age=0; includeSubdomains; preload"
88 ],
89 "date": [
90 "Fri, 17 Jan 2020 00:31:57 GMT"
91 ],
92 "cache-control": [
93 "no-store"
94 ],
95 "expires": [
96 "Sat, 01 Jan 2000 00:00:00 GMT"
97 ],
98 "server": [
99 "Apache/2.4.10 (Debian)"
100 ],
101 "x-frame-options": [
102 "Deny"
103 ],
104 "referrer-policy": [
105 "no-referrer"
106 ]
107 },
108 "status": {
109 "code": 200,
110 "message": "OK"
111 },
112 "body": {
113 "string": "{\"result\":null,\"error_code\":\"ERR-CONDUIT-CORE\",\"error_info\":\"Validation errors:\\n - You can not accept this revision because it has already been closed. Only open revisions can be accepted.\"}"
114 }
115 },
116 "request": {
117 "method": "POST",
118 "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit",
119 "headers": {
120 "content-type": [
121 "application/x-www-form-urlencoded"
122 ],
123 "user-agent": [
124 "mercurial/proto-1.0 (Mercurial 5.2.2+620-6ee2ba170fe6+20200116)"
125 ],
126 "accept": [
127 "application/mercurial-0.1"
128 ],
129 "content-length": [
130 "402"
131 ],
132 "host": [
133 "phab.mercurial-scm.org"
134 ]
135 },
136 "body": "params=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22objectIdentifier%22%3A+%22PHID-DREV-6cgnf5fyeeqhntbxgfb7%22%2C+%22transactions%22%3A+%5B%7B%22type%22%3A+%22accept%22%2C+%22value%22%3A+true%7D%2C+%7B%22type%22%3A+%22comment%22%2C+%22value%22%3A+%22I+think+I+like+where+this+is+headed.+Will+read+rest+of+series+later.%22%7D%5D%7D&output=json&__conduit__=1"
137 }
138 }
139 ],
140 "version": 1
141 }