##// END OF EJS Templates
phabricator: add commenting to phabsend for new/updated Diffs...
phabricator: add commenting to phabsend for new/updated Diffs Especially useful when sending updates to existing Revisions so one can specify the sort of changes e.g. "Address review comments" or "Rebase to tip" If the diff content hasn't changed then it only needs a metadata update which doesn't show in the Phabricator updates UI, so don't add a comment that will. Differential Revision: https://phab.mercurial-scm.org/D6496

File last commit:

r42454:af13e208 default
r42624:29528c42 default
Show More
phabsend-update-alpha-create-beta.json
1025 lines | 42.1 KiB | application/json | JsonLexer
/ tests / phabricator / phabsend-update-alpha-create-beta.json
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "version": 1,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "interactions": [
{
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"66"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": "api.token=cli-hahayouwish&revisionIDs%5B0%5D=1190",
"uri": "https://phab.mercurial-scm.org//api/differential.querydiffs",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
"x-xss-protection": [
"1; mode=block"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "cache-control": [
"no-store"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:08 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"1132"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"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}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"93"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": "api.token=cli-hahayouwish&constraints%5Bcallsigns%5D%5B0%5D=HG",
"uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
"headers": {
"x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:09 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"549"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"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}"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 }
}
},
{
"request": {
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"245"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "content-type": [
"application/x-www-form-urlencoded"
],
"accept": [
"application/mercurial-0.1"
],
"host": [
"phab.mercurial-scm.org"
]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
"response": {
"status": {
"code": 200,
"message": "OK"
},
"headers": {
"x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:09 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"172"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":{\"id\":1900,\"phid\":\"PHID-DIFF-gra4b3ivsgebktbeoxxx\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1900\\/\"},\"error_code\":null,\"error_info\":null}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"296"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
"x-xss-protection": [
"1; mode=block"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "cache-control": [
"no-store"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:10 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"51"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"257"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:11 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"51"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "x-content-type-options": [
"nosniff"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"173"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:11 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"316"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"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}"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 }
}
},
{
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"274"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "content-type": [
"application/x-www-form-urlencoded"
],
"accept": [
"application/mercurial-0.1"
],
"host": [
"phab.mercurial-scm.org"
]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.revision.edit",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
"response": {
"status": {
"code": 200,
"message": "OK"
},
"headers": {
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "x-xss-protection": [
"1; mode=block"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"cache-control": [
"no-store"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/json"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:12 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"168"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":{\"object\":{\"id\":1190,\"phid\":\"PHID-DREV-kikesmfxhzpfaxbzgj3l\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-tk6ciodgzlwo2v6\"}]},\"error_code\":null,\"error_info\":null}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"231"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "content-type": [
"application/x-www-form-urlencoded"
],
"accept": [
"application/mercurial-0.1"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "host": [
"phab.mercurial-scm.org"
]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/json"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:13 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"172"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":{\"id\":1901,\"phid\":\"PHID-DIFF-uhbyhoejzbniwwzj2q5c\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1901\\/\"},\"error_code\":null,\"error_info\":null}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"296"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
"x-xss-protection": [
"1; mode=block"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "cache-control": [
"no-store"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:14 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"51"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"257"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
"headers": {
"x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:15 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"51"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 }
}
},
{
"request": {
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"82"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "content-type": [
"application/x-www-form-urlencoded"
],
"accept": [
"application/mercurial-0.1"
],
"host": [
"phab.mercurial-scm.org"
]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": "api.token=cli-hahayouwish&corpus=create+beta+for+phabricator+test",
"uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
"response": {
"status": {
"code": 200,
"message": "OK"
},
"headers": {
"x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:15 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"282"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"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}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"398"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.revision.edit",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
"x-xss-protection": [
"1; mode=block"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "cache-control": [
"no-store"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:17 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"420"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"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}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"74"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": "ids%5B0%5D=1190&ids%5B1%5D=1191&api.token=cli-hahayouwish",
"uri": "https://phab.mercurial-scm.org//api/differential.query",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:17 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"1514"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "x-content-type-options": [
"nosniff"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"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}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 {
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"296"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/x-www-form-urlencoded"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "accept": [
"application/mercurial-0.1"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"host": [
"phab.mercurial-scm.org"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "response": {
"status": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "code": 200,
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "message": "OK"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "headers": {
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-xss-protection": [
"1; mode=block"
],
"cache-control": [
"no-store"
],
"content-type": [
"application/json"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:18 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"51"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 }
}
},
{
"request": {
"headers": {
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "user-agent": [
"mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
],
"content-length": [
"257"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "content-type": [
"application/x-www-form-urlencoded"
],
"accept": [
"application/mercurial-0.1"
],
"host": [
"phab.mercurial-scm.org"
]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"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",
"uri": "https://phab.mercurial-scm.org//api/differential.setdiffproperty",
"method": "POST"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 },
"response": {
"status": {
"code": 200,
"message": "OK"
},
"headers": {
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "x-xss-protection": [
"1; mode=block"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
"cache-control": [
"no-store"
],
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 "content-type": [
"application/json"
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 ],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "date": [
"Sun, 05 May 2019 13:31:19 GMT"
],
"connection": [
"keep-alive"
],
"strict-transport-security": [
"max-age=31536000; includeSubdomains; preload"
],
"vary": [
"Accept-Encoding"
],
"x-frame-options": [
"Deny"
],
"content-length": [
"51"
],
Ian Moody
phabricator: convert conduit response JSON unicode to bytes inside callconduit...
r42063 "x-content-type-options": [
"nosniff"
],
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 "expires": [
"Sat, 01 Jan 2000 00:00:00 GMT"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 ]
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 },
"body": {
"string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }
}
}
Ian Moody
phabricator: add custom vcr matcher to match request bodies...
r42454 ]
Augie Fackler
tests: add some basic tests of phabricator interactions...
r39687 }