| 1 |
{ |
| 2 |
"version": 1, |
| 3 |
"interactions": [ |
| 4 |
{ |
| 5 |
"response": { |
| 6 |
"status": { |
| 7 |
"message": "OK", |
| 8 |
"code": 200 |
| 9 |
}, |
| 10 |
"body": { |
| 11 |
"string": "{\"result\":[{\"id\":\"7913\",\"phid\":\"PHID-DREV-s4borg2nl7ay2mskktwq\",\"title\":\"cext: fix compiler warning about sign changing\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D7913\",\"dateCreated\":\"1579207172\",\"dateModified\":\"1579207173\",\"authorPHID\":\"PHID-USER-5iutahkpkhvnxfimqjbk\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":6,\"lines.removed\":6},\"branch\":\"default\",\"summary\":\"line.len is a Py_ssize_t, and we're casing to size_t (unsigned). On my compiler,\\nthis causes a warning to be emitted:\\n\\n```\\nmercurial\\/cext\\/manifest.c: In function 'pathlen':\\nmercurial\\/cext\\/manifest.c:48:44: warning: operand of ?: changes signedness from 'Py_ssize_t' {aka 'long int'} to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]\\n return (end) ? (size_t)(end - l-\\u003estart) : l-\\u003elen;\\n ^~~~~~\\n```\",\"testPlan\":\"\",\"lineCount\":\"12\",\"activeDiffPHID\":\"PHID-DIFF-vms2yu54d7di7r332dbs\",\"diffs\":[\"19380\"],\"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\"}],\"error_code\":null,\"error_info\":null}" |
| 12 |
}, |
| 13 |
"headers": { |
| 14 |
"content-type": [ |
| 15 |
"application/json" |
| 16 |
], |
| 17 |
"cache-control": [ |
| 18 |
"no-store" |
| 19 |
], |
| 20 |
"server": [ |
| 21 |
"Apache/2.4.10 (Debian)" |
| 22 |
], |
| 23 |
"date": [ |
| 24 |
"Fri, 17 Jan 2020 01:03:23 GMT" |
| 25 |
], |
| 26 |
"referrer-policy": [ |
| 27 |
"no-referrer" |
| 28 |
], |
| 29 |
"x-content-type-options": [ |
| 30 |
"nosniff" |
| 31 |
], |
| 32 |
"x-frame-options": [ |
| 33 |
"Deny" |
| 34 |
], |
| 35 |
"x-xss-protection": [ |
| 36 |
"1; mode=block" |
| 37 |
], |
| 38 |
"strict-transport-security": [ |
| 39 |
"max-age=0; includeSubdomains; preload" |
| 40 |
], |
| 41 |
"expires": [ |
| 42 |
"Sat, 01 Jan 2000 00:00:00 GMT" |
| 43 |
], |
| 44 |
"transfer-encoding": [ |
| 45 |
"chunked" |
| 46 |
] |
| 47 |
} |
| 48 |
}, |
| 49 |
"request": { |
| 50 |
"body": "output=json&__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22ids%22%3A+%5B7913%5D%7D", |
| 51 |
"headers": { |
| 52 |
"content-type": [ |
| 53 |
"application/x-www-form-urlencoded" |
| 54 |
], |
| 55 |
"content-length": [ |
| 56 |
"146" |
| 57 |
], |
| 58 |
"user-agent": [ |
| 59 |
"mercurial/proto-1.0 (Mercurial 5.2.2+621-e7ba2449a883)" |
| 60 |
], |
| 61 |
"host": [ |
| 62 |
"phab.mercurial-scm.org" |
| 63 |
], |
| 64 |
"accept": [ |
| 65 |
"application/mercurial-0.1" |
| 66 |
] |
| 67 |
}, |
| 68 |
"method": "POST", |
| 69 |
"uri": "https://phab.mercurial-scm.org//api/differential.query" |
| 70 |
} |
| 71 |
}, |
| 72 |
{ |
| 73 |
"response": { |
| 74 |
"status": { |
| 75 |
"message": "OK", |
| 76 |
"code": 200 |
| 77 |
}, |
| 78 |
"body": { |
| 79 |
"string": "{\"result\":{\"object\":{\"id\":7913,\"phid\":\"PHID-DREV-s4borg2nl7ay2mskktwq\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-7fwthnytbq3bw2p\"},{\"phid\":\"PHID-XACT-DREV-lno5olcencqrgnh\"},{\"phid\":\"PHID-XACT-DREV-uanndmc3t3onueu\"}]},\"error_code\":null,\"error_info\":null}" |
| 80 |
}, |
| 81 |
"headers": { |
| 82 |
"content-type": [ |
| 83 |
"application/json" |
| 84 |
], |
| 85 |
"cache-control": [ |
| 86 |
"no-store" |
| 87 |
], |
| 88 |
"server": [ |
| 89 |
"Apache/2.4.10 (Debian)" |
| 90 |
], |
| 91 |
"date": [ |
| 92 |
"Fri, 17 Jan 2020 01:03:23 GMT" |
| 93 |
], |
| 94 |
"referrer-policy": [ |
| 95 |
"no-referrer" |
| 96 |
], |
| 97 |
"x-content-type-options": [ |
| 98 |
"nosniff" |
| 99 |
], |
| 100 |
"x-frame-options": [ |
| 101 |
"Deny" |
| 102 |
], |
| 103 |
"x-xss-protection": [ |
| 104 |
"1; mode=block" |
| 105 |
], |
| 106 |
"strict-transport-security": [ |
| 107 |
"max-age=0; includeSubdomains; preload" |
| 108 |
], |
| 109 |
"expires": [ |
| 110 |
"Sat, 01 Jan 2000 00:00:00 GMT" |
| 111 |
], |
| 112 |
"transfer-encoding": [ |
| 113 |
"chunked" |
| 114 |
] |
| 115 |
} |
| 116 |
}, |
| 117 |
"request": { |
| 118 |
"body": "output=json&__conduit__=1¶ms=%7B%22__conduit__%22%3A+%7B%22token%22%3A+%22cli-hahayouwish%22%7D%2C+%22objectIdentifier%22%3A+%22PHID-DREV-s4borg2nl7ay2mskktwq%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+%22LGTM%22%7D%5D%7D", |
| 119 |
"headers": { |
| 120 |
"content-type": [ |
| 121 |
"application/x-www-form-urlencoded" |
| 122 |
], |
| 123 |
"content-length": [ |
| 124 |
"338" |
| 125 |
], |
| 126 |
"user-agent": [ |
| 127 |
"mercurial/proto-1.0 (Mercurial 5.2.2+621-e7ba2449a883)" |
| 128 |
], |
| 129 |
"host": [ |
| 130 |
"phab.mercurial-scm.org" |
| 131 |
], |
| 132 |
"accept": [ |
| 133 |
"application/mercurial-0.1" |
| 134 |
] |
| 135 |
}, |
| 136 |
"method": "POST", |
| 137 |
"uri": "https://phab.mercurial-scm.org//api/differential.revision.edit" |
| 138 |
} |
| 139 |
} |
| 140 |
] |
| 141 |
} |