view tests/phabricator/phabsend-create-public.json @ 42742:334c1ea57136

discovery: new devel.discovery.randomize option By default, this is True, but setting it to False is a uniform way to kill all randomness in integration tests such as test-setdiscovery.t By "uniform" we mean that it can be passed to implementations in other languages, for which the monkey-patching of random.sample would be irrelevant. In the above mentioned test file, we use it right away, replacing the adhoc extension that had the same purpose, and to derandomize a case with many round-trips, that we'll need to behave uniformly in the Rust version. Differential Revision: https://phab.mercurial-scm.org/D6427
author Georges Racinet <georges.racinet@octobus.net>
date Tue, 21 May 2019 17:44:15 +0200
parents c19d259fd6ad
children
line wrap: on
line source

{
    "version": 1,
    "interactions": [
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "93"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "api.token=cli-hahayouwish&constraints%5Bcallsigns%5D%5B0%5D=HG",
                "uri": "https://phab.mercurial-scm.org//api/diffusion.repository.search",
                "method": "POST"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:20 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "549"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "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}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "220"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "api.token=cli-hahayouwish&diff=diff+--git+a%2Fbeta+b%2Fbeta%0A---+a%2Fbeta%0A%2B%2B%2B+b%2Fbeta%0A%40%40+-1%2C1+%2B1%2C1+%40%40%0A-beta%0A%2Bpublic+change%0A&repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3",
                "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff",
                "method": "POST"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:21 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "172"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":{\"id\":1902,\"phid\":\"PHID-DIFF-uuzq4s7s72y4ts7ijduc\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1902\\/\"},\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "296"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "diff_id=1902&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%2C+%22parent%22%3A+%222837deb84f4ab1315c1197b8aef10c620465e352%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"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:22 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "51"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "257"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "diff_id=1902&data=%7B%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%22%2C+%22parents%22%3A+%5B%222837deb84f4ab1315c1197b8aef10c620465e352%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"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:23 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "51"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "94"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "api.token=cli-hahayouwish&corpus=create+public+change+for+phabricator+testing",
                "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage",
                "method": "POST"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:23 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "306"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create public change for phabricator testing\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"create public change for phabricator testing\"}]},\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "253"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "api.token=cli-hahayouwish&transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-uuzq4s7s72y4ts7ijduc&transactions%5B1%5D%5Btype%5D=title&transactions%5B1%5D%5Bvalue%5D=create+public+change+for+phabricator+testing",
                "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit",
                "method": "POST"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:24 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "294"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":{\"object\":{\"id\":1192,\"phid\":\"PHID-DREV-qb4xy3abx7eu4puizvjl\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-n2zlzs5qmdlvfbx\"},{\"phid\":\"PHID-XACT-DREV-dwojtdj2d3geffe\"},{\"phid\":\"PHID-XACT-DREV-gr4vgeynol22tgf\"},{\"phid\":\"PHID-XACT-DREV-aighrcyai72tgzv\"}]},\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "232"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "api.token=cli-hahayouwish&diff=diff+--git+a%2Falpha+b%2Falpha%0A---+a%2Falpha%0A%2B%2B%2B+b%2Falpha%0A%40%40+-1%2C2+%2B1%2C1+%40%40%0A-alpha%0A-more%0A%2Bdraft+change%0A&repositoryPHID=PHID-REPO-bvunnehri4u2isyr7bc3",
                "uri": "https://phab.mercurial-scm.org//api/differential.createrawdiff",
                "method": "POST"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:25 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "172"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":{\"id\":1903,\"phid\":\"PHID-DIFF-4pugk2zedyh2xm27uuvh\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/differential\\/diff\\/1903\\/\"},\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "296"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "diff_id=1903&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%22ac331633be793e0d4159d5525b404a9782f54904%22%2C+%22parent%22%3A+%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%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"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:26 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "51"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "257"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "diff_id=1903&data=%7B%22ac331633be793e0d4159d5525b404a9782f54904%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%22ac331633be793e0d4159d5525b404a9782f54904%22%2C+%22parents%22%3A+%5B%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%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"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:27 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "51"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "93"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "api.token=cli-hahayouwish&corpus=create+draft+change+for+phabricator+testing",
                "uri": "https://phab.mercurial-scm.org//api/differential.parsecommitmessage",
                "method": "POST"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:27 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "304"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":{\"errors\":[],\"fields\":{\"title\":\"create draft change for phabricator testing\"},\"revisionIDFieldInfo\":{\"value\":null,\"validDomain\":\"https:\\/\\/phab.mercurial-scm.org\"},\"transactions\":[{\"type\":\"title\",\"value\":\"create draft change for phabricator testing\"}]},\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "409"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "api.token=cli-hahayouwish&transactions%5B0%5D%5Btype%5D=update&transactions%5B0%5D%5Bvalue%5D=PHID-DIFF-4pugk2zedyh2xm27uuvh&transactions%5B1%5D%5Btype%5D=parents.set&transactions%5B1%5D%5Bvalue%5D%5B0%5D=PHID-DREV-qb4xy3abx7eu4puizvjl&transactions%5B2%5D%5Btype%5D=title&transactions%5B2%5D%5Bvalue%5D=create+draft+change+for+phabricator+testing",
                "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit",
                "method": "POST"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:29 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "420"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":{\"object\":{\"id\":1193,\"phid\":\"PHID-DREV-shdibf6gnumia7pou4wo\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-5lh4bjyat7sopph\"},{\"phid\":\"PHID-XACT-DREV-ihh5mnfq4lfd7z6\"},{\"phid\":\"PHID-XACT-DREV-jqgmk2a3klvofsk\"},{\"phid\":\"PHID-XACT-DREV-w5t5g4ke6kjynf3\"},{\"phid\":\"PHID-XACT-DREV-ro7ijohdoyaes55\"},{\"phid\":\"PHID-XACT-DREV-4g3uhii5akj24he\"},{\"phid\":\"PHID-XACT-DREV-44imsawbkha5nqw\"}]},\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "74"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "ids%5B0%5D=1192&ids%5B1%5D=1193&api.token=cli-hahayouwish",
                "uri": "https://phab.mercurial-scm.org//api/differential.query",
                "method": "POST"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:29 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "1522"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":[{\"id\":\"1193\",\"phid\":\"PHID-DREV-shdibf6gnumia7pou4wo\",\"title\":\"create draft change for phabricator testing\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D1193\",\"dateCreated\":\"1557063088\",\"dateModified\":\"1557063088\",\"authorPHID\":\"PHID-USER-qmzis76vb2yh3ogldu6r\",\"status\":\"0\",\"statusName\":\"Draft\",\"properties\":{\"draft.broadcast\":false,\"lines.added\":1,\"lines.removed\":2},\"branch\":null,\"summary\":\" \",\"testPlan\":\"\",\"lineCount\":\"3\",\"activeDiffPHID\":\"PHID-DIFF-4pugk2zedyh2xm27uuvh\",\"diffs\":[\"1903\"],\"commits\":[],\"reviewers\":[],\"ccs\":[],\"hashes\":[],\"auxiliary\":{\"bugzilla.bug-id\":null,\"phabricator:projects\":[\"PHID-PROJ-f2a3wl5wxtqdtfgdjqzk\"],\"phabricator:depends-on\":[\"PHID-DREV-qb4xy3abx7eu4puizvjl\"]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null},{\"id\":\"1192\",\"phid\":\"PHID-DREV-qb4xy3abx7eu4puizvjl\",\"title\":\"create public change for phabricator testing\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D1192\",\"dateCreated\":\"1557063084\",\"dateModified\":\"1557063088\",\"authorPHID\":\"PHID-USER-qmzis76vb2yh3ogldu6r\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":1,\"lines.removed\":1},\"branch\":null,\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-uuzq4s7s72y4ts7ijduc\",\"diffs\":[\"1902\"],\"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}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "296"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "diff_id=1903&data=%7B%22branch%22%3A+%22default%22%2C+%22date%22%3A+%220+0%22%2C+%22node%22%3A+%22a19f1434f9a578325eb9799c9961b5465d4e6e40%22%2C+%22parent%22%3A+%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%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"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:30 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "51"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
                }
            }
        },
        {
            "request": {
                "headers": {
                    "user-agent": [
                        "mercurial/proto-1.0 (Mercurial 5.0+93-d811f17090a3+20190505)"
                    ],
                    "content-length": [
                        "257"
                    ],
                    "content-type": [
                        "application/x-www-form-urlencoded"
                    ],
                    "accept": [
                        "application/mercurial-0.1"
                    ],
                    "host": [
                        "phab.mercurial-scm.org"
                    ]
                },
                "body": "diff_id=1903&data=%7B%22a19f1434f9a578325eb9799c9961b5465d4e6e40%22%3A+%7B%22author%22%3A+%22test%22%2C+%22authorEmail%22%3A+%22test%22%2C+%22branch%22%3A+%22default%22%2C+%22commit%22%3A+%22a19f1434f9a578325eb9799c9961b5465d4e6e40%22%2C+%22parents%22%3A+%5B%2224ffd6bca53a1e05369ed5b8834587c2b2b364da%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"
            },
            "response": {
                "status": {
                    "code": 200,
                    "message": "OK"
                },
                "headers": {
                    "x-xss-protection": [
                        "1; mode=block"
                    ],
                    "cache-control": [
                        "no-store"
                    ],
                    "content-type": [
                        "application/json"
                    ],
                    "date": [
                        "Sun, 05 May 2019 13:31:31 GMT"
                    ],
                    "connection": [
                        "keep-alive"
                    ],
                    "strict-transport-security": [
                        "max-age=31536000; includeSubdomains; preload"
                    ],
                    "vary": [
                        "Accept-Encoding"
                    ],
                    "x-frame-options": [
                        "Deny"
                    ],
                    "content-length": [
                        "51"
                    ],
                    "x-content-type-options": [
                        "nosniff"
                    ],
                    "expires": [
                        "Sat, 01 Jan 2000 00:00:00 GMT"
                    ]
                },
                "body": {
                    "string": "{\"result\":null,\"error_code\":null,\"error_info\":null}"
                }
            }
        }
    ]
}