equal
deleted
inserted
replaced
194 }, |
194 }, |
195 { |
195 { |
196 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
196 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
197 } |
197 } |
198 ] |
198 ] |
|
199 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
199 |
200 |
200 Sending root nodes limits what data is sent |
201 Sending root nodes limits what data is sent |
201 |
202 |
202 $ sendhttpv2peer << EOF |
203 $ sendhttpv2peer << EOF |
203 > command changesetdata |
204 > command changesetdata |
246 }, |
247 }, |
247 { |
248 { |
248 b'node': b'\x0b\xb8\xad\x89J\x15\xb1S\x80\xb2\xa2\xa5\xb1\x83\xe2\x0f*K(\xdd' |
249 b'node': b'\x0b\xb8\xad\x89J\x15\xb1S\x80\xb2\xa2\xa5\xb1\x83\xe2\x0f*K(\xdd' |
249 } |
250 } |
250 ] |
251 ] |
|
252 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
251 |
253 |
252 Requesting data on a single node by node works |
254 Requesting data on a single node by node works |
253 |
255 |
254 $ sendhttpv2peer << EOF |
256 $ sendhttpv2peer << EOF |
255 > command changesetdata |
257 > command changesetdata |
295 }, |
297 }, |
296 { |
298 { |
297 b'node': b'3\x90\xef\x85\x00s\xfb\xc2\xf0\xdf\xff"D4,\x8e\x92)\x01:' |
299 b'node': b'3\x90\xef\x85\x00s\xfb\xc2\xf0\xdf\xff"D4,\x8e\x92)\x01:' |
298 } |
300 } |
299 ] |
301 ] |
|
302 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
300 |
303 |
301 Specifying a noderange and nodes takes union |
304 Specifying a noderange and nodes takes union |
302 |
305 |
303 $ sendhttpv2peer << EOF |
306 $ sendhttpv2peer << EOF |
304 > command changesetdata |
307 > command changesetdata |
348 }, |
351 }, |
349 { |
352 { |
350 b'node': b'\x0b\xb8\xad\x89J\x15\xb1S\x80\xb2\xa2\xa5\xb1\x83\xe2\x0f*K(\xdd' |
353 b'node': b'\x0b\xb8\xad\x89J\x15\xb1S\x80\xb2\xa2\xa5\xb1\x83\xe2\x0f*K(\xdd' |
351 } |
354 } |
352 ] |
355 ] |
|
356 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
353 |
357 |
354 nodesdepth of 1 limits to exactly requested nodes |
358 nodesdepth of 1 limits to exactly requested nodes |
355 |
359 |
356 $ sendhttpv2peer << EOF |
360 $ sendhttpv2peer << EOF |
357 > command changesetdata |
361 > command changesetdata |
398 }, |
402 }, |
399 { |
403 { |
400 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
404 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
401 } |
405 } |
402 ] |
406 ] |
|
407 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
403 |
408 |
404 nodesdepth of 2 limits to first ancestor |
409 nodesdepth of 2 limits to first ancestor |
405 |
410 |
406 $ sendhttpv2peer << EOF |
411 $ sendhttpv2peer << EOF |
407 > command changesetdata |
412 > command changesetdata |
451 }, |
456 }, |
452 { |
457 { |
453 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
458 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
454 } |
459 } |
455 ] |
460 ] |
|
461 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
456 |
462 |
457 nodesdepth with multiple nodes |
463 nodesdepth with multiple nodes |
458 |
464 |
459 $ sendhttpv2peer << EOF |
465 $ sendhttpv2peer << EOF |
460 > command changesetdata |
466 > command changesetdata |
510 }, |
516 }, |
511 { |
517 { |
512 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
518 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
513 } |
519 } |
514 ] |
520 ] |
|
521 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
515 |
522 |
516 Parents data is transferred upon request |
523 Parents data is transferred upon request |
517 |
524 |
518 $ sendhttpv2peer << EOF |
525 $ sendhttpv2peer << EOF |
519 > command changesetdata |
526 > command changesetdata |
564 b'3\x90\xef\x85\x00s\xfb\xc2\xf0\xdf\xff"D4,\x8e\x92)\x01:', |
571 b'3\x90\xef\x85\x00s\xfb\xc2\xf0\xdf\xff"D4,\x8e\x92)\x01:', |
565 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
572 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
566 ] |
573 ] |
567 } |
574 } |
568 ] |
575 ] |
|
576 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
569 |
577 |
570 Phase data is transferred upon request |
578 Phase data is transferred upon request |
571 |
579 |
572 $ sendhttpv2peer << EOF |
580 $ sendhttpv2peer << EOF |
573 > command changesetdata |
581 > command changesetdata |
615 { |
623 { |
616 b'node': b'\x0b\xb8\xad\x89J\x15\xb1S\x80\xb2\xa2\xa5\xb1\x83\xe2\x0f*K(\xdd', |
624 b'node': b'\x0b\xb8\xad\x89J\x15\xb1S\x80\xb2\xa2\xa5\xb1\x83\xe2\x0f*K(\xdd', |
617 b'phase': b'public' |
625 b'phase': b'public' |
618 } |
626 } |
619 ] |
627 ] |
|
628 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
620 |
629 |
621 Revision data is transferred upon request |
630 Revision data is transferred upon request |
622 |
631 |
623 $ sendhttpv2peer << EOF |
632 $ sendhttpv2peer << EOF |
624 > command changesetdata |
633 > command changesetdata |
677 ], |
686 ], |
678 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
687 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
679 }, |
688 }, |
680 b'1b74476799ec8318045db759b1b4bcc9b839d0aa\ntest\n0 0\na\n\ncommit 3' |
689 b'1b74476799ec8318045db759b1b4bcc9b839d0aa\ntest\n0 0\na\n\ncommit 3' |
681 ] |
690 ] |
|
691 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
682 |
692 |
683 Bookmarks key isn't present if no bookmarks data |
693 Bookmarks key isn't present if no bookmarks data |
684 |
694 |
685 $ sendhttpv2peer << EOF |
695 $ sendhttpv2peer << EOF |
686 > command changesetdata |
696 > command changesetdata |
736 }, |
746 }, |
737 { |
747 { |
738 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
748 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
739 } |
749 } |
740 ] |
750 ] |
|
751 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
741 |
752 |
742 Bookmarks are sent when requested |
753 Bookmarks are sent when requested |
743 |
754 |
744 $ hg -R ../server bookmark -r 0bb8ad894a15b15380b2a2a5b183e20f2a4b28dd book-1 |
755 $ hg -R ../server bookmark -r 0bb8ad894a15b15380b2a2a5b183e20f2a4b28dd book-1 |
745 $ hg -R ../server bookmark -r eae5f82c2e622368d27daecb76b7e393d0f24211 book-2 |
756 $ hg -R ../server bookmark -r eae5f82c2e622368d27daecb76b7e393d0f24211 book-2 |
806 b'book-3' |
817 b'book-3' |
807 ], |
818 ], |
808 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
819 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
809 } |
820 } |
810 ] |
821 ] |
|
822 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
811 |
823 |
812 Bookmarks are sent when we make a no-new-revisions request |
824 Bookmarks are sent when we make a no-new-revisions request |
813 |
825 |
814 $ sendhttpv2peer << EOF |
826 $ sendhttpv2peer << EOF |
815 > command changesetdata |
827 > command changesetdata |
894 b'book-3' |
906 b'book-3' |
895 ], |
907 ], |
896 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
908 b'node': b'\xea\xe5\xf8,.b#h\xd2}\xae\xcbv\xb7\xe3\x93\xd0\xf2B\x11' |
897 } |
909 } |
898 ] |
910 ] |
|
911 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
899 |
912 |
900 Multiple fields can be transferred |
913 Multiple fields can be transferred |
901 |
914 |
902 $ sendhttpv2peer << EOF |
915 $ sendhttpv2peer << EOF |
903 > command changesetdata |
916 > command changesetdata |
960 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
973 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
961 ] |
974 ] |
962 }, |
975 }, |
963 b'1b74476799ec8318045db759b1b4bcc9b839d0aa\ntest\n0 0\na\n\ncommit 3' |
976 b'1b74476799ec8318045db759b1b4bcc9b839d0aa\ntest\n0 0\na\n\ncommit 3' |
964 ] |
977 ] |
|
978 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
965 |
979 |
966 Base nodes have just their metadata (e.g. phase) transferred |
980 Base nodes have just their metadata (e.g. phase) transferred |
967 |
981 |
968 $ sendhttpv2peer << EOF |
982 $ sendhttpv2peer << EOF |
969 > command changesetdata |
983 > command changesetdata |
1072 ], |
1086 ], |
1073 b'phase': b'draft' |
1087 b'phase': b'draft' |
1074 }, |
1088 }, |
1075 b'1b74476799ec8318045db759b1b4bcc9b839d0aa\ntest\n0 0\na\n\ncommit 3' |
1089 b'1b74476799ec8318045db759b1b4bcc9b839d0aa\ntest\n0 0\na\n\ncommit 3' |
1076 ] |
1090 ] |
|
1091 (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob) |
1077 |
1092 |
1078 $ cat error.log |
1093 $ cat error.log |