tests/test-wireproto-command-filedata.t
changeset 39829 34074e8ea160
parent 39815 d3d333ab167a
child 39863 c73f9f345ec0
equal deleted inserted replaced
39828:3ed53b071041 39829:34074e8ea160
   434 Requesting multiple revisions works
   434 Requesting multiple revisions works
   435 (first revision is a fulltext since haveparents=False by default)
   435 (first revision is a fulltext since haveparents=False by default)
   436 
   436 
   437   $ sendhttpv2peer << EOF
   437   $ sendhttpv2peer << EOF
   438   > command filedata
   438   > command filedata
   439   >     nodes eval:['\x2b\x4e\xb0\x73\x19\xbf\xa0\x77\xa4\x0a\x2f\x04\x91\x36\x59\xae\xf0\xda\x42\xda', '\x9a\x38\x12\x29\x97\xb3\xac\x97\xbe\x2a\x9a\xa2\xe5\x56\x83\x83\x41\xfd\xf2\xcc']
   439   >     nodes eval:[b'\x2b\x4e\xb0\x73\x19\xbf\xa0\x77\xa4\x0a\x2f\x04\x91\x36\x59\xae\xf0\xda\x42\xda', b'\x9a\x38\x12\x29\x97\xb3\xac\x97\xbe\x2a\x9a\xa2\xe5\x56\x83\x83\x41\xfd\xf2\xcc']
   440   >     path eval:b'a'
   440   >     path eval:b'a'
   441   >     fields eval:[b'revision']
   441   >     fields eval:[b'revision']
   442   > EOF
   442   > EOF
   443   creating http peer for wire protocol version 2
   443   creating http peer for wire protocol version 2
   444   sending filedata command
   444   sending filedata command
   507 
   507 
   508 Revisions are sorted by DAG order, parents first
   508 Revisions are sorted by DAG order, parents first
   509 
   509 
   510   $ sendhttpv2peer << EOF
   510   $ sendhttpv2peer << EOF
   511   > command filedata
   511   > command filedata
   512   >     nodes eval:['\x9a\x38\x12\x29\x97\xb3\xac\x97\xbe\x2a\x9a\xa2\xe5\x56\x83\x83\x41\xfd\xf2\xcc', '\x2b\x4e\xb0\x73\x19\xbf\xa0\x77\xa4\x0a\x2f\x04\x91\x36\x59\xae\xf0\xda\x42\xda']
   512   >     nodes eval:[b'\x9a\x38\x12\x29\x97\xb3\xac\x97\xbe\x2a\x9a\xa2\xe5\x56\x83\x83\x41\xfd\xf2\xcc', b'\x2b\x4e\xb0\x73\x19\xbf\xa0\x77\xa4\x0a\x2f\x04\x91\x36\x59\xae\xf0\xda\x42\xda']
   513   >     path eval:b'a'
   513   >     path eval:b'a'
   514   >     fields eval:[b'revision']
   514   >     fields eval:[b'revision']
   515   > EOF
   515   > EOF
   516   creating http peer for wire protocol version 2
   516   creating http peer for wire protocol version 2
   517   sending filedata command
   517   sending filedata command
   580 
   580 
   581 Requesting parents and revision data works
   581 Requesting parents and revision data works
   582 
   582 
   583   $ sendhttpv2peer << EOF
   583   $ sendhttpv2peer << EOF
   584   > command filedata
   584   > command filedata
   585   >     nodes eval:['\x08\x79\x34\x5e\x39\x37\x72\x29\x63\x4b\x42\x0c\x63\x94\x54\x15\x67\x26\xc6\xb6']
   585   >     nodes eval:[b'\x08\x79\x34\x5e\x39\x37\x72\x29\x63\x4b\x42\x0c\x63\x94\x54\x15\x67\x26\xc6\xb6']
   586   >     path eval:b'a'
   586   >     path eval:b'a'
   587   >     fields eval:[b'parents', b'revision']
   587   >     fields eval:[b'parents', b'revision']
   588   > EOF
   588   > EOF
   589   creating http peer for wire protocol version 2
   589   creating http peer for wire protocol version 2
   590   sending filedata command
   590   sending filedata command