tests/phabricator/accept-4564.json
changeset 39651 a641fd1a1196
equal deleted inserted replaced
39650:d8f07b16abfc 39651:a641fd1a1196
       
     1 {
       
     2     "version": 1, 
       
     3     "interactions": [
       
     4         {
       
     5             "request": {
       
     6                 "body": "api.token=cli-hahayouwish&ids%5B0%5D=4564", 
       
     7                 "headers": {
       
     8                     "content-length": [
       
     9                         "58"
       
    10                     ], 
       
    11                     "content-type": [
       
    12                         "application/x-www-form-urlencoded"
       
    13                     ], 
       
    14                     "host": [
       
    15                         "phab.mercurial-scm.org"
       
    16                     ], 
       
    17                     "accept": [
       
    18                         "application/mercurial-0.1"
       
    19                     ], 
       
    20                     "user-agent": [
       
    21                         "mercurial/proto-1.0 (Mercurial 4.7.1+861-aa7e312375cf)"
       
    22                     ]
       
    23                 }, 
       
    24                 "method": "POST", 
       
    25                 "uri": "https://phab.mercurial-scm.org//api/differential.query"
       
    26             }, 
       
    27             "response": {
       
    28                 "status": {
       
    29                     "message": "OK", 
       
    30                     "code": 200
       
    31                 }, 
       
    32                 "headers": {
       
    33                     "expires": [
       
    34                         "Sat, 01 Jan 2000 00:00:00 GMT"
       
    35                     ], 
       
    36                     "x-content-type-options": [
       
    37                         "nosniff"
       
    38                     ], 
       
    39                     "set-cookie": [
       
    40                         "phsid=A%2F24j2baem5tmap4tvfdz7ufmca2lhm3wx4agyqv4w; expires=Thu, 14-Sep-2023 04:24:35 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly"
       
    41                     ], 
       
    42                     "strict-transport-security": [
       
    43                         "max-age=0; includeSubdomains; preload"
       
    44                     ], 
       
    45                     "server": [
       
    46                         "Apache/2.4.10 (Debian)"
       
    47                     ], 
       
    48                     "connection": [
       
    49                         "close"
       
    50                     ], 
       
    51                     "x-xss-protection": [
       
    52                         "1; mode=block"
       
    53                     ], 
       
    54                     "cache-control": [
       
    55                         "no-store"
       
    56                     ], 
       
    57                     "date": [
       
    58                         "Sat, 15 Sep 2018 04:24:35 GMT"
       
    59                     ], 
       
    60                     "x-frame-options": [
       
    61                         "Deny"
       
    62                     ], 
       
    63                     "content-type": [
       
    64                         "application/json"
       
    65                     ]
       
    66                 }, 
       
    67                 "body": {
       
    68                     "string": "{\"result\":[{\"id\":\"4564\",\"phid\":\"PHID-DREV-6cgnf5fyeeqhntbxgfb7\",\"title\":\"localrepo: move some vfs initialization out of __init__\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D4564\",\"dateCreated\":\"1536856174\",\"dateModified\":\"1536856175\",\"authorPHID\":\"PHID-USER-p54bpwbifxx7sbgpx47d\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":[],\"branch\":null,\"summary\":\"In order to make repository types more dynamic, we'll need to move the\\nlogic for determining repository behavior out of\\nlocalrepository.__init__ so we can influence behavior before the type\\nis instantiated.\\n\\nThis commit starts that process by moving working directory and .hg\\/\\nvfs initialization to our new standalone function for instantiating\\nlocal repositories.\\n\\nAside from API changes, behavior should be fully backwards compatible.\\n\\n.. api::\\n\\n   localrepository.__init__ now does less work and accepts new args\\n\\n   Use ``hg.repository()``, ``localrepo.instance()``, or\\n   ``localrepo.makelocalrepository()`` to obtain a new local repository\\n   instance instead of calling the ``localrepository`` constructor\\n   directly.\",\"testPlan\":\"\",\"lineCount\":\"64\",\"activeDiffPHID\":\"PHID-DIFF-ir6bizkdou7fm7xhuo6v\",\"diffs\":[\"11002\"],\"commits\":[],\"reviewers\":{\"PHID-PROJ-3dvcxzznrjru2xmmses3\":\"PHID-PROJ-3dvcxzznrjru2xmmses3\"},\"ccs\":[\"PHID-USER-q42dn7cc3donqriafhjx\"],\"hashes\":[],\"auxiliary\":{\"phabricator:projects\":[],\"phabricator:depends-on\":[\"PHID-DREV-gqp33hnxg65vkl3xioka\"]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\"}],\"error_code\":null,\"error_info\":null}"
       
    69                 }
       
    70             }
       
    71         }, 
       
    72         {
       
    73             "request": {
       
    74                 "body": "api.token=cli-hahayouwish&objectIdentifier=PHID-DREV-6cgnf5fyeeqhntbxgfb7&transactions%5B0%5D%5Btype%5D=accept&transactions%5B0%5D%5Bvalue%5D=true&transactions%5B1%5D%5Btype%5D=comment&transactions%5B1%5D%5Bvalue%5D=I+think+I+like+where+this+is+headed.+Will+read+rest+of+series+later.", 
       
    75                 "headers": {
       
    76                     "content-length": [
       
    77                         "301"
       
    78                     ], 
       
    79                     "content-type": [
       
    80                         "application/x-www-form-urlencoded"
       
    81                     ], 
       
    82                     "host": [
       
    83                         "phab.mercurial-scm.org"
       
    84                     ], 
       
    85                     "accept": [
       
    86                         "application/mercurial-0.1"
       
    87                     ], 
       
    88                     "user-agent": [
       
    89                         "mercurial/proto-1.0 (Mercurial 4.7.1+861-aa7e312375cf)"
       
    90                     ]
       
    91                 }, 
       
    92                 "method": "POST", 
       
    93                 "uri": "https://phab.mercurial-scm.org//api/differential.revision.edit"
       
    94             }, 
       
    95             "response": {
       
    96                 "status": {
       
    97                     "message": "OK", 
       
    98                     "code": 200
       
    99                 }, 
       
   100                 "headers": {
       
   101                     "expires": [
       
   102                         "Sat, 01 Jan 2000 00:00:00 GMT"
       
   103                     ], 
       
   104                     "x-content-type-options": [
       
   105                         "nosniff"
       
   106                     ], 
       
   107                     "set-cookie": [
       
   108                         "phsid=A%2Fcna7xx3xon5xxyoasbveqlfz4fswd2risihw7dff; expires=Thu, 14-Sep-2023 04:24:36 GMT; Max-Age=157680000; path=/; domain=phab.mercurial-scm.org; secure; httponly"
       
   109                     ], 
       
   110                     "strict-transport-security": [
       
   111                         "max-age=0; includeSubdomains; preload"
       
   112                     ], 
       
   113                     "server": [
       
   114                         "Apache/2.4.10 (Debian)"
       
   115                     ], 
       
   116                     "x-xss-protection": [
       
   117                         "1; mode=block"
       
   118                     ], 
       
   119                     "cache-control": [
       
   120                         "no-store"
       
   121                     ], 
       
   122                     "date": [
       
   123                         "Sat, 15 Sep 2018 04:24:36 GMT"
       
   124                     ], 
       
   125                     "x-frame-options": [
       
   126                         "Deny"
       
   127                     ], 
       
   128                     "content-type": [
       
   129                         "application/json"
       
   130                     ]
       
   131                 }, 
       
   132                 "body": {
       
   133                     "string": "{\"result\":{\"object\":{\"id\":\"4564\",\"phid\":\"PHID-DREV-6cgnf5fyeeqhntbxgfb7\"},\"transactions\":[{\"phid\":\"PHID-XACT-DREV-nfqswjwwfuzdrhb\"},{\"phid\":\"PHID-XACT-DREV-oqb5pkqsdify6nm\"},{\"phid\":\"PHID-XACT-DREV-i6epvc7avyv3ve7\"},{\"phid\":\"PHID-XACT-DREV-du5hbg5rege3i5w\"}]},\"error_code\":null,\"error_info\":null}"
       
   134                 }
       
   135             }
       
   136         }
       
   137     ]
       
   138 }