tests/test-wireproto-content-redirects.t
changeset 40176 41263df08109
parent 40172 30f70d11c224
child 40178 46a40bce3ae0
equal deleted inserted replaced
40175:6c42409691ec 40176:41263df08109
    53   creating http peer for wire protocol version 2
    53   creating http peer for wire protocol version 2
    54   s>     GET /?cmd=capabilities HTTP/1.1\r\n
    54   s>     GET /?cmd=capabilities HTTP/1.1\r\n
    55   s>     Accept-Encoding: identity\r\n
    55   s>     Accept-Encoding: identity\r\n
    56   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
    56   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
    57   s>     x-hgproto-1: cbor\r\n
    57   s>     x-hgproto-1: cbor\r\n
    58   s>     x-hgupgrade-1: exp-http-v2-0002\r\n
    58   s>     x-hgupgrade-1: exp-http-v2-0003\r\n
    59   s>     accept: application/mercurial-0.1\r\n
    59   s>     accept: application/mercurial-0.1\r\n
    60   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    60   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    61   s>     user-agent: Mercurial debugwireproto\r\n
    61   s>     user-agent: Mercurial debugwireproto\r\n
    62   s>     \r\n
    62   s>     \r\n
    63   s> makefile('rb', None)
    63   s> makefile('rb', None)
    64   s>     HTTP/1.1 200 OK\r\n
    64   s>     HTTP/1.1 200 OK\r\n
    65   s>     Server: testing stub value\r\n
    65   s>     Server: testing stub value\r\n
    66   s>     Date: $HTTP_DATE$\r\n
    66   s>     Date: $HTTP_DATE$\r\n
    67   s>     Content-Type: application/mercurial-cbor\r\n
    67   s>     Content-Type: application/mercurial-cbor\r\n
    68   s>     Content-Length: 1956\r\n
    68   s>     Content-Length: 1871\r\n
    69   s>     \r\n
    69   s>     \r\n
    70   s>     \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0002\xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionInoderange\xa3Gdefault\xf6Hrequired\xf4DtypeDlistEnodes\xa3Gdefault\xf6Hrequired\xf4DtypeDlistJnodesdepth\xa3Gdefault\xf6Hrequired\xf4DtypeCintKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa5DnameHtarget-aHprotocolDhttpKsnirequired\xf4Ktlsversions\x82C1.2C1.3Duris\x81Shttp://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
    70   s>     \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0003\xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa5DnameHtarget-aHprotocolDhttpKsnirequired\xf4Ktlsversions\x82C1.2C1.3Duris\x81Shttp://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
    71   (remote redirect target target-a is compatible)
    71   (remote redirect target target-a is compatible)
    72   sending capabilities command
    72   sending capabilities command
    73   s>     POST /api/exp-http-v2-0002/ro/capabilities HTTP/1.1\r\n
    73   s>     POST /api/exp-http-v2-0003/ro/capabilities HTTP/1.1\r\n
    74   s>     Accept-Encoding: identity\r\n
    74   s>     Accept-Encoding: identity\r\n
    75   s>     accept: application/mercurial-exp-framing-0006\r\n
    75   s>     accept: application/mercurial-exp-framing-0006\r\n
    76   s>     content-type: application/mercurial-exp-framing-0006\r\n
    76   s>     content-type: application/mercurial-exp-framing-0006\r\n
    77   s>     content-length: 111\r\n
    77   s>     content-length: 111\r\n
    78   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    78   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    94   s>     13\r\n
    94   s>     13\r\n
    95   s>     \x0b\x00\x00\x01\x00\x02\x041
    95   s>     \x0b\x00\x00\x01\x00\x02\x041
    96   s>     \xa1FstatusBok
    96   s>     \xa1FstatusBok
    97   s>     \r\n
    97   s>     \r\n
    98   received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
    98   received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
    99   s>     5a2\r\n
    99   s>     54d\r\n
   100   s>     \x9a\x05\x00\x01\x00\x02\x041
   100   s>     E\x05\x00\x01\x00\x02\x041
   101   s>     \xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionInoderange\xa3Gdefault\xf6Hrequired\xf4DtypeDlistEnodes\xa3Gdefault\xf6Hrequired\xf4DtypeDlistJnodesdepth\xa3Gdefault\xf6Hrequired\xf4DtypeCintKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa5DnameHtarget-aHprotocolDhttpKsnirequired\xf4Ktlsversions\x82C1.2C1.3Duris\x81Shttp://example.com/
   101   s>     \xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa5DnameHtarget-aHprotocolDhttpKsnirequired\xf4Ktlsversions\x82C1.2C1.3Duris\x81Shttp://example.com/
   102   s>     \r\n
   102   s>     \r\n
   103   received frame(size=1434; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   103   received frame(size=1349; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   104   s>     8\r\n
   104   s>     8\r\n
   105   s>     \x00\x00\x00\x01\x00\x02\x002
   105   s>     \x00\x00\x00\x01\x00\x02\x002
   106   s>     \r\n
   106   s>     \r\n
   107   s>     0\r\n
   107   s>     0\r\n
   108   s>     \r\n
   108   s>     \r\n
   133                 b'parents',
   133                 b'parents',
   134                 b'phase',
   134                 b'phase',
   135                 b'revision'
   135                 b'revision'
   136               ])
   136               ])
   137             },
   137             },
   138             b'noderange': {
   138             b'revisions': {
   139               b'default': None,
   139               b'required': True,
   140               b'required': False,
   140               b'type': b'list'
   141               b'type': b'list'
       
   142             },
       
   143             b'nodes': {
       
   144               b'default': None,
       
   145               b'required': False,
       
   146               b'type': b'list'
       
   147             },
       
   148             b'nodesdepth': {
       
   149               b'default': None,
       
   150               b'required': False,
       
   151               b'type': b'int'
       
   152             }
   141             }
   153           },
   142           },
   154           b'permissions': [
   143           b'permissions': [
   155             b'pull'
   144             b'pull'
   156           ]
   145           ]
   342   creating http peer for wire protocol version 2
   331   creating http peer for wire protocol version 2
   343   s>     GET /?cmd=capabilities HTTP/1.1\r\n
   332   s>     GET /?cmd=capabilities HTTP/1.1\r\n
   344   s>     Accept-Encoding: identity\r\n
   333   s>     Accept-Encoding: identity\r\n
   345   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
   334   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
   346   s>     x-hgproto-1: cbor\r\n
   335   s>     x-hgproto-1: cbor\r\n
   347   s>     x-hgupgrade-1: exp-http-v2-0002\r\n
   336   s>     x-hgupgrade-1: exp-http-v2-0003\r\n
   348   s>     accept: application/mercurial-0.1\r\n
   337   s>     accept: application/mercurial-0.1\r\n
   349   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   338   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   350   s>     user-agent: Mercurial debugwireproto\r\n
   339   s>     user-agent: Mercurial debugwireproto\r\n
   351   s>     \r\n
   340   s>     \r\n
   352   s> makefile('rb', None)
   341   s> makefile('rb', None)
   353   s>     HTTP/1.1 200 OK\r\n
   342   s>     HTTP/1.1 200 OK\r\n
   354   s>     Server: testing stub value\r\n
   343   s>     Server: testing stub value\r\n
   355   s>     Date: $HTTP_DATE$\r\n
   344   s>     Date: $HTTP_DATE$\r\n
   356   s>     Content-Type: application/mercurial-cbor\r\n
   345   s>     Content-Type: application/mercurial-cbor\r\n
   357   s>     Content-Length: 1983\r\n
   346   s>     Content-Length: 1898\r\n
   358   s>     \r\n
   347   s>     \r\n
   359   s>     \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0002\xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionInoderange\xa3Gdefault\xf6Hrequired\xf4DtypeDlistEnodes\xa3Gdefault\xf6Hrequired\xf4DtypeDlistJnodesdepth\xa3Gdefault\xf6Hrequired\xf4DtypeCintKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x82\xa3DnameHtarget-aHprotocolDhttpDuris\x81Shttp://example.com/\xa3DnameHtarget-bHprotocolGunknownDuris\x81Vunknown://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   348   s>     \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0003\xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x82\xa3DnameHtarget-aHprotocolDhttpDuris\x81Shttp://example.com/\xa3DnameHtarget-bHprotocolGunknownDuris\x81Vunknown://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   360   (remote redirect target target-a is compatible)
   349   (remote redirect target target-a is compatible)
   361   (remote redirect target target-b uses unsupported protocol: unknown)
   350   (remote redirect target target-b uses unsupported protocol: unknown)
   362   sending capabilities command
   351   sending capabilities command
   363   s>     POST /api/exp-http-v2-0002/ro/capabilities HTTP/1.1\r\n
   352   s>     POST /api/exp-http-v2-0003/ro/capabilities HTTP/1.1\r\n
   364   s>     Accept-Encoding: identity\r\n
   353   s>     Accept-Encoding: identity\r\n
   365   s>     accept: application/mercurial-exp-framing-0006\r\n
   354   s>     accept: application/mercurial-exp-framing-0006\r\n
   366   s>     content-type: application/mercurial-exp-framing-0006\r\n
   355   s>     content-type: application/mercurial-exp-framing-0006\r\n
   367   s>     content-length: 111\r\n
   356   s>     content-length: 111\r\n
   368   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   357   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   384   s>     13\r\n
   373   s>     13\r\n
   385   s>     \x0b\x00\x00\x01\x00\x02\x041
   374   s>     \x0b\x00\x00\x01\x00\x02\x041
   386   s>     \xa1FstatusBok
   375   s>     \xa1FstatusBok
   387   s>     \r\n
   376   s>     \r\n
   388   received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   377   received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   389   s>     5bd\r\n
   378   s>     568\r\n
   390   s>     \xb5\x05\x00\x01\x00\x02\x041
   379   s>     `\x05\x00\x01\x00\x02\x041
   391   s>     \xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionInoderange\xa3Gdefault\xf6Hrequired\xf4DtypeDlistEnodes\xa3Gdefault\xf6Hrequired\xf4DtypeDlistJnodesdepth\xa3Gdefault\xf6Hrequired\xf4DtypeCintKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x82\xa3DnameHtarget-aHprotocolDhttpDuris\x81Shttp://example.com/\xa3DnameHtarget-bHprotocolGunknownDuris\x81Vunknown://example.com/
   380   s>     \xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x82\xa3DnameHtarget-aHprotocolDhttpDuris\x81Shttp://example.com/\xa3DnameHtarget-bHprotocolGunknownDuris\x81Vunknown://example.com/
   392   s>     \r\n
   381   s>     \r\n
   393   received frame(size=1461; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   382   received frame(size=1376; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   394   s>     8\r\n
   383   s>     8\r\n
   395   s>     \x00\x00\x00\x01\x00\x02\x002
   384   s>     \x00\x00\x00\x01\x00\x02\x002
   396   s>     \r\n
   385   s>     \r\n
   397   s>     0\r\n
   386   s>     0\r\n
   398   s>     \r\n
   387   s>     \r\n
   423                 b'parents',
   412                 b'parents',
   424                 b'phase',
   413                 b'phase',
   425                 b'revision'
   414                 b'revision'
   426               ])
   415               ])
   427             },
   416             },
   428             b'noderange': {
   417             b'revisions': {
   429               b'default': None,
   418               b'required': True,
   430               b'required': False,
   419               b'type': b'list'
   431               b'type': b'list'
       
   432             },
       
   433             b'nodes': {
       
   434               b'default': None,
       
   435               b'required': False,
       
   436               b'type': b'list'
       
   437             },
       
   438             b'nodesdepth': {
       
   439               b'default': None,
       
   440               b'required': False,
       
   441               b'type': b'int'
       
   442             }
   420             }
   443           },
   421           },
   444           b'permissions': [
   422           b'permissions': [
   445             b'pull'
   423             b'pull'
   446           ]
   424           ]
   639   creating http peer for wire protocol version 2
   617   creating http peer for wire protocol version 2
   640   s>     GET /?cmd=capabilities HTTP/1.1\r\n
   618   s>     GET /?cmd=capabilities HTTP/1.1\r\n
   641   s>     Accept-Encoding: identity\r\n
   619   s>     Accept-Encoding: identity\r\n
   642   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
   620   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
   643   s>     x-hgproto-1: cbor\r\n
   621   s>     x-hgproto-1: cbor\r\n
   644   s>     x-hgupgrade-1: exp-http-v2-0002\r\n
   622   s>     x-hgupgrade-1: exp-http-v2-0003\r\n
   645   s>     accept: application/mercurial-0.1\r\n
   623   s>     accept: application/mercurial-0.1\r\n
   646   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   624   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   647   s>     user-agent: Mercurial debugwireproto\r\n
   625   s>     user-agent: Mercurial debugwireproto\r\n
   648   s>     \r\n
   626   s>     \r\n
   649   s> makefile('rb', None)
   627   s> makefile('rb', None)
   650   s>     HTTP/1.1 200 OK\r\n
   628   s>     HTTP/1.1 200 OK\r\n
   651   s>     Server: testing stub value\r\n
   629   s>     Server: testing stub value\r\n
   652   s>     Date: $HTTP_DATE$\r\n
   630   s>     Date: $HTTP_DATE$\r\n
   653   s>     Content-Type: application/mercurial-cbor\r\n
   631   s>     Content-Type: application/mercurial-cbor\r\n
   654   s>     Content-Length: 1943\r\n
   632   s>     Content-Length: 1858\r\n
   655   s>     \r\n
   633   s>     \r\n
   656   s>     \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0002\xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionInoderange\xa3Gdefault\xf6Hrequired\xf4DtypeDlistEnodes\xa3Gdefault\xf6Hrequired\xf4DtypeDlistJnodesdepth\xa3Gdefault\xf6Hrequired\xf4DtypeCintKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa4DnameNtarget-bad-tlsHprotocolEhttpsKsnirequired\xf5Duris\x81Thttps://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   634   s>     \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0003\xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa4DnameNtarget-bad-tlsHprotocolEhttpsKsnirequired\xf5Duris\x81Thttps://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   657   (redirect target target-bad-tls requires SNI, which is unsupported)
   635   (redirect target target-bad-tls requires SNI, which is unsupported)
   658   sending capabilities command
   636   sending capabilities command
   659   s>     POST /api/exp-http-v2-0002/ro/capabilities HTTP/1.1\r\n
   637   s>     POST /api/exp-http-v2-0003/ro/capabilities HTTP/1.1\r\n
   660   s>     Accept-Encoding: identity\r\n
   638   s>     Accept-Encoding: identity\r\n
   661   s>     accept: application/mercurial-exp-framing-0006\r\n
   639   s>     accept: application/mercurial-exp-framing-0006\r\n
   662   s>     content-type: application/mercurial-exp-framing-0006\r\n
   640   s>     content-type: application/mercurial-exp-framing-0006\r\n
   663   s>     content-length: 102\r\n
   641   s>     content-length: 102\r\n
   664   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   642   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   680   s>     13\r\n
   658   s>     13\r\n
   681   s>     \x0b\x00\x00\x01\x00\x02\x041
   659   s>     \x0b\x00\x00\x01\x00\x02\x041
   682   s>     \xa1FstatusBok
   660   s>     \xa1FstatusBok
   683   s>     \r\n
   661   s>     \r\n
   684   received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   662   received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   685   s>     595\r\n
   663   s>     540\r\n
   686   s>     \x8d\x05\x00\x01\x00\x02\x041
   664   s>     8\x05\x00\x01\x00\x02\x041
   687   s>     \xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionInoderange\xa3Gdefault\xf6Hrequired\xf4DtypeDlistEnodes\xa3Gdefault\xf6Hrequired\xf4DtypeDlistJnodesdepth\xa3Gdefault\xf6Hrequired\xf4DtypeCintKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa4DnameNtarget-bad-tlsHprotocolEhttpsKsnirequired\xf5Duris\x81Thttps://example.com/
   665   s>     \xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa4DnameNtarget-bad-tlsHprotocolEhttpsKsnirequired\xf5Duris\x81Thttps://example.com/
   688   s>     \r\n
   666   s>     \r\n
   689   received frame(size=1421; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   667   received frame(size=1336; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   690   s>     8\r\n
   668   s>     8\r\n
   691   s>     \x00\x00\x00\x01\x00\x02\x002
   669   s>     \x00\x00\x00\x01\x00\x02\x002
   692   s>     \r\n
   670   s>     \r\n
   693   s>     0\r\n
   671   s>     0\r\n
   694   s>     \r\n
   672   s>     \r\n
   719                 b'parents',
   697                 b'parents',
   720                 b'phase',
   698                 b'phase',
   721                 b'revision'
   699                 b'revision'
   722               ])
   700               ])
   723             },
   701             },
   724             b'noderange': {
   702             b'revisions': {
   725               b'default': None,
   703               b'required': True,
   726               b'required': False,
   704               b'type': b'list'
   727               b'type': b'list'
       
   728             },
       
   729             b'nodes': {
       
   730               b'default': None,
       
   731               b'required': False,
       
   732               b'type': b'list'
       
   733             },
       
   734             b'nodesdepth': {
       
   735               b'default': None,
       
   736               b'required': False,
       
   737               b'type': b'int'
       
   738             }
   705             }
   739           },
   706           },
   740           b'permissions': [
   707           b'permissions': [
   741             b'pull'
   708             b'pull'
   742           ]
   709           ]
   925   creating http peer for wire protocol version 2
   892   creating http peer for wire protocol version 2
   926   s>     GET /?cmd=capabilities HTTP/1.1\r\n
   893   s>     GET /?cmd=capabilities HTTP/1.1\r\n
   927   s>     Accept-Encoding: identity\r\n
   894   s>     Accept-Encoding: identity\r\n
   928   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
   895   s>     vary: X-HgProto-1,X-HgUpgrade-1\r\n
   929   s>     x-hgproto-1: cbor\r\n
   896   s>     x-hgproto-1: cbor\r\n
   930   s>     x-hgupgrade-1: exp-http-v2-0002\r\n
   897   s>     x-hgupgrade-1: exp-http-v2-0003\r\n
   931   s>     accept: application/mercurial-0.1\r\n
   898   s>     accept: application/mercurial-0.1\r\n
   932   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   899   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   933   s>     user-agent: Mercurial debugwireproto\r\n
   900   s>     user-agent: Mercurial debugwireproto\r\n
   934   s>     \r\n
   901   s>     \r\n
   935   s> makefile('rb', None)
   902   s> makefile('rb', None)
   936   s>     HTTP/1.1 200 OK\r\n
   903   s>     HTTP/1.1 200 OK\r\n
   937   s>     Server: testing stub value\r\n
   904   s>     Server: testing stub value\r\n
   938   s>     Date: $HTTP_DATE$\r\n
   905   s>     Date: $HTTP_DATE$\r\n
   939   s>     Content-Type: application/mercurial-cbor\r\n
   906   s>     Content-Type: application/mercurial-cbor\r\n
   940   s>     Content-Length: 1949\r\n
   907   s>     Content-Length: 1864\r\n
   941   s>     \r\n
   908   s>     \r\n
   942   s>     \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0002\xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionInoderange\xa3Gdefault\xf6Hrequired\xf4DtypeDlistEnodes\xa3Gdefault\xf6Hrequired\xf4DtypeDlistJnodesdepth\xa3Gdefault\xf6Hrequired\xf4DtypeCintKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa4DnameNtarget-bad-tlsHprotocolEhttpsKtlsversions\x82B42B39Duris\x81Thttps://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   909   s>     \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0003\xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa4DnameNtarget-bad-tlsHprotocolEhttpsKtlsversions\x82B42B39Duris\x81Thttps://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
   943   (remote redirect target target-bad-tls requires unsupported TLS versions: 39, 42)
   910   (remote redirect target target-bad-tls requires unsupported TLS versions: 39, 42)
   944   sending capabilities command
   911   sending capabilities command
   945   s>     POST /api/exp-http-v2-0002/ro/capabilities HTTP/1.1\r\n
   912   s>     POST /api/exp-http-v2-0003/ro/capabilities HTTP/1.1\r\n
   946   s>     Accept-Encoding: identity\r\n
   913   s>     Accept-Encoding: identity\r\n
   947   s>     accept: application/mercurial-exp-framing-0006\r\n
   914   s>     accept: application/mercurial-exp-framing-0006\r\n
   948   s>     content-type: application/mercurial-exp-framing-0006\r\n
   915   s>     content-type: application/mercurial-exp-framing-0006\r\n
   949   s>     content-length: 102\r\n
   916   s>     content-length: 102\r\n
   950   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   917   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   966   s>     13\r\n
   933   s>     13\r\n
   967   s>     \x0b\x00\x00\x01\x00\x02\x041
   934   s>     \x0b\x00\x00\x01\x00\x02\x041
   968   s>     \xa1FstatusBok
   935   s>     \xa1FstatusBok
   969   s>     \r\n
   936   s>     \r\n
   970   received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   937   received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   971   s>     59b\r\n
   938   s>     546\r\n
   972   s>     \x93\x05\x00\x01\x00\x02\x041
   939   s>     >\x05\x00\x01\x00\x02\x041
   973   s>     \xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionInoderange\xa3Gdefault\xf6Hrequired\xf4DtypeDlistEnodes\xa3Gdefault\xf6Hrequired\xf4DtypeDlistJnodesdepth\xa3Gdefault\xf6Hrequired\xf4DtypeCintKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa4DnameNtarget-bad-tlsHprotocolEhttpsKtlsversions\x82B42B39Duris\x81Thttps://example.com/
   940   s>     \xa5Hcommands\xaaIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa4DnameNtarget-bad-tlsHprotocolEhttpsKtlsversions\x82B42B39Duris\x81Thttps://example.com/
   974   s>     \r\n
   941   s>     \r\n
   975   received frame(size=1427; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   942   received frame(size=1342; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation)
   976   s>     8\r\n
   943   s>     8\r\n
   977   s>     \x00\x00\x00\x01\x00\x02\x002
   944   s>     \x00\x00\x00\x01\x00\x02\x002
   978   s>     \r\n
   945   s>     \r\n
   979   s>     0\r\n
   946   s>     0\r\n
   980   s>     \r\n
   947   s>     \r\n
  1005                 b'parents',
   972                 b'parents',
  1006                 b'phase',
   973                 b'phase',
  1007                 b'revision'
   974                 b'revision'
  1008               ])
   975               ])
  1009             },
   976             },
  1010             b'noderange': {
   977             b'revisions': {
  1011               b'default': None,
   978               b'required': True,
  1012               b'required': False,
   979               b'type': b'list'
  1013               b'type': b'list'
       
  1014             },
       
  1015             b'nodes': {
       
  1016               b'default': None,
       
  1017               b'required': False,
       
  1018               b'type': b'list'
       
  1019             },
       
  1020             b'nodesdepth': {
       
  1021               b'default': None,
       
  1022               b'required': False,
       
  1023               b'type': b'int'
       
  1024             }
   980             }
  1025           },
   981           },
  1026           b'permissions': [
   982           b'permissions': [
  1027             b'pull'
   983             b'pull'
  1028           ]
   984           ]
  1247   ]
  1203   ]
  1248 
  1204 
  1249 Cached entry should be available on server
  1205 Cached entry should be available on server
  1250 
  1206 
  1251   $ sendhttpraw << EOF
  1207   $ sendhttpraw << EOF
  1252   > httprequest GET api/simplecache/64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca
  1208   > httprequest GET api/simplecache/47abb8efa5f01b8964d74917793ad2464db0fa2c
  1253   >     user-agent: test
  1209   >     user-agent: test
  1254   > EOF
  1210   > EOF
  1255   using raw connection to peer
  1211   using raw connection to peer
  1256   s>     GET /api/simplecache/64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca HTTP/1.1\r\n
  1212   s>     GET /api/simplecache/47abb8efa5f01b8964d74917793ad2464db0fa2c HTTP/1.1\r\n
  1257   s>     Accept-Encoding: identity\r\n
  1213   s>     Accept-Encoding: identity\r\n
  1258   s>     user-agent: test\r\n
  1214   s>     user-agent: test\r\n
  1259   s>     host: $LOCALIP:$HGPORT\r\n (glob)
  1215   s>     host: $LOCALIP:$HGPORT\r\n (glob)
  1260   s>     \r\n
  1216   s>     \r\n
  1261   s> makefile('rb', None)
  1217   s> makefile('rb', None)
  1305   $ cat error.log
  1261   $ cat error.log
  1306   $ killdaemons.py
  1262   $ killdaemons.py
  1307 
  1263 
  1308   $ cat .hg/blackbox.log
  1264   $ cat .hg/blackbox.log
  1309   *> cacher constructed for manifestdata (glob)
  1265   *> cacher constructed for manifestdata (glob)
  1310   *> cache miss for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
  1266   *> cache miss for 47abb8efa5f01b8964d74917793ad2464db0fa2c (glob)
  1311   *> storing cache entry for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
  1267   *> storing cache entry for 47abb8efa5f01b8964d74917793ad2464db0fa2c (glob)
  1312   *> cacher constructed for manifestdata (glob)
  1268   *> cacher constructed for manifestdata (glob)
  1313   *> cache hit for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
  1269   *> cache hit for 47abb8efa5f01b8964d74917793ad2464db0fa2c (glob)
  1314   *> sending content redirect for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca to http://*:$HGPORT/api/simplecache/64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
  1270   *> sending content redirect for 47abb8efa5f01b8964d74917793ad2464db0fa2c to http://*:$HGPORT/api/simplecache/47abb8efa5f01b8964d74917793ad2464db0fa2c (glob)