equal
deleted
inserted
replaced
199 }, |
199 }, |
200 { |
200 { |
201 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
201 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
202 } |
202 } |
203 ] |
203 ] |
|
204 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
204 |
205 |
205 Requesting parents works |
206 Requesting parents works |
206 |
207 |
207 $ sendhttpv2peer << EOF |
208 $ sendhttpv2peer << EOF |
208 > command filedata |
209 > command filedata |
256 b'd\x9d\x14\x9d\xf4=\x83\x88%#\xb7\xfb\x1ej:\xf6\xf1\x90{9', |
257 b'd\x9d\x14\x9d\xf4=\x83\x88%#\xb7\xfb\x1ej:\xf6\xf1\x90{9', |
257 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
258 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
258 ] |
259 ] |
259 } |
260 } |
260 ] |
261 ] |
|
262 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
261 |
263 |
262 Requesting revision data works |
264 Requesting revision data works |
263 (haveparents defaults to False, so fulltext is emitted) |
265 (haveparents defaults to False, so fulltext is emitted) |
264 |
266 |
265 $ sendhttpv2peer << EOF |
267 $ sendhttpv2peer << EOF |
320 ], |
322 ], |
321 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
323 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
322 }, |
324 }, |
323 b'a0\n00000000000000000000000000000000000000\n11111111111111111111111111111111111111\na1\n' |
325 b'a0\n00000000000000000000000000000000000000\n11111111111111111111111111111111111111\na1\n' |
324 ] |
326 ] |
|
327 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
325 |
328 |
326 haveparents=False should be same as above |
329 haveparents=False should be same as above |
327 |
330 |
328 $ sendhttpv2peer << EOF |
331 $ sendhttpv2peer << EOF |
329 > command filedata |
332 > command filedata |
384 ], |
387 ], |
385 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
388 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
386 }, |
389 }, |
387 b'a0\n00000000000000000000000000000000000000\n11111111111111111111111111111111111111\na1\n' |
390 b'a0\n00000000000000000000000000000000000000\n11111111111111111111111111111111111111\na1\n' |
388 ] |
391 ] |
|
392 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
389 |
393 |
390 haveparents=True should emit a delta |
394 haveparents=True should emit a delta |
391 |
395 |
392 $ sendhttpv2peer << EOF |
396 $ sendhttpv2peer << EOF |
393 > command filedata |
397 > command filedata |
446 ], |
450 ], |
447 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
451 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
448 }, |
452 }, |
449 b'\x00\x00\x00Q\x00\x00\x00Q\x00\x00\x00\x03a1\n' |
453 b'\x00\x00\x00Q\x00\x00\x00Q\x00\x00\x00\x03a1\n' |
450 ] |
454 ] |
|
455 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
451 |
456 |
452 Requesting multiple revisions works |
457 Requesting multiple revisions works |
453 (first revision is a fulltext since haveparents=False by default) |
458 (first revision is a fulltext since haveparents=False by default) |
454 |
459 |
455 $ sendhttpv2peer << EOF |
460 $ sendhttpv2peer << EOF |
521 ], |
526 ], |
522 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
527 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
523 }, |
528 }, |
524 b'\x00\x00\x00Q\x00\x00\x00Q\x00\x00\x00\x03a1\n' |
529 b'\x00\x00\x00Q\x00\x00\x00Q\x00\x00\x00\x03a1\n' |
525 ] |
530 ] |
|
531 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
526 |
532 |
527 Revisions are sorted by DAG order, parents first |
533 Revisions are sorted by DAG order, parents first |
528 |
534 |
529 $ sendhttpv2peer << EOF |
535 $ sendhttpv2peer << EOF |
530 > command filedata |
536 > command filedata |
595 ], |
601 ], |
596 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
602 b'node': b'\n\x862\x1f\x13y\xd1\xa9\xec\xd0W\x9a"\x97z\xf7\xa5\xac\xaf\x11' |
597 }, |
603 }, |
598 b'\x00\x00\x00Q\x00\x00\x00Q\x00\x00\x00\x03a1\n' |
604 b'\x00\x00\x00Q\x00\x00\x00Q\x00\x00\x00\x03a1\n' |
599 ] |
605 ] |
|
606 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
600 |
607 |
601 Requesting parents and revision data works |
608 Requesting parents and revision data works |
602 |
609 |
603 $ sendhttpv2peer << EOF |
610 $ sendhttpv2peer << EOF |
604 > command filedata |
611 > command filedata |
660 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
667 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
661 ] |
668 ] |
662 }, |
669 }, |
663 b'a0\n00000000000000000000000000000000000000\n11111111111111111111111111111111111111\na2\n' |
670 b'a0\n00000000000000000000000000000000000000\n11111111111111111111111111111111111111\na2\n' |
664 ] |
671 ] |
|
672 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
665 |
673 |
666 $ cat error.log |
674 $ cat error.log |