90 "debugobshistory.node": "471f378eab4c", |
105 "debugobshistory.node": "471f378eab4c", |
91 "debugobshistory.rev": 1, |
106 "debugobshistory.rev": 1, |
92 "debugobshistory.shortdescription": "A0" |
107 "debugobshistory.shortdescription": "A0" |
93 } |
108 } |
94 ] |
109 ] |
95 $ hg obslog --hidden 471f378eab4c |
110 $ hg obslog --hidden --patch 471f378eab4c |
96 x 471f378eab4c (1) A0 |
111 x 471f378eab4c (1) A0 |
97 rewritten(description, content) by test (*) as 4ae3a4151de9 (glob) |
112 rewritten(description, content) by test (*) as 4ae3a4151de9 (glob) |
|
113 --- a/471f378eab4c-changeset-description |
|
114 +++ b/4ae3a4151de9-changeset-description |
|
115 @@ -1,1 +1,3 @@ |
|
116 -A0 |
|
117 +A1 |
|
118 + |
|
119 +Better commit message |
|
120 |
|
121 diff -r 471f378eab4c -r 4ae3a4151de9 A0 |
|
122 --- a/A0 Thu Jan 01 00:00:00 1970 +0000 |
|
123 +++ b/A0 Thu Jan 01 00:00:00 1970 +0000 |
|
124 @@ -1,1 +1,2 @@ |
|
125 A0 |
|
126 +42 |
|
127 |
98 |
128 |
99 $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool |
129 $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool |
100 [ |
130 [ |
101 { |
131 { |
102 "debugobshistory.markers": [ |
132 "debugobshistory.markers": [ |
346 "debugobshistory.shortdescription": "A0" |
378 "debugobshistory.shortdescription": "A0" |
347 } |
379 } |
348 ] |
380 ] |
349 Check that debugobshistory on the first successor after split show |
381 Check that debugobshistory on the first successor after split show |
350 the revision plus the splitted one |
382 the revision plus the splitted one |
351 $ hg obslog 337fec4d2edc |
383 $ hg obslog 337fec4d2edc --patch |
352 o 337fec4d2edc (2) A0 |
384 o 337fec4d2edc (2) A0 |
353 | |
385 | |
354 x 471597cad322 (1) A0 |
386 x 471597cad322 (1) A0 |
355 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
387 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
|
388 (No patch available yet, too many successors (2)) |
356 |
389 |
357 With the all option, it should show the three changesets |
390 With the all option, it should show the three changesets |
358 $ hg obslog --all 337fec4d2edc |
391 $ hg obslog --all 337fec4d2edc --patch |
359 o 337fec4d2edc (2) A0 |
392 o 337fec4d2edc (2) A0 |
360 | |
393 | |
361 | @ f257fde29c7a (3) A0 |
394 | @ f257fde29c7a (3) A0 |
362 |/ |
395 |/ |
363 x 471597cad322 (1) A0 |
396 x 471597cad322 (1) A0 |
364 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
397 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
|
398 (No patch available yet, too many successors (2)) |
365 |
399 |
366 Check that debugobshistory on the second successor after split show |
400 Check that debugobshistory on the second successor after split show |
367 the revision plus the splitted one |
401 the revision plus the splitted one |
368 $ hg obslog f257fde29c7a |
402 $ hg obslog f257fde29c7a --patch |
369 @ f257fde29c7a (3) A0 |
403 @ f257fde29c7a (3) A0 |
370 | |
404 | |
371 x 471597cad322 (1) A0 |
405 x 471597cad322 (1) A0 |
372 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
406 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
|
407 (No patch available yet, too many successors (2)) |
373 |
408 |
374 With the all option, it should show the three changesets |
409 With the all option, it should show the three changesets |
375 $ hg obslog f257fde29c7a --all |
410 $ hg obslog f257fde29c7a --all --patch |
376 o 337fec4d2edc (2) A0 |
411 o 337fec4d2edc (2) A0 |
377 | |
412 | |
378 | @ f257fde29c7a (3) A0 |
413 | @ f257fde29c7a (3) A0 |
379 |/ |
414 |/ |
380 x 471597cad322 (1) A0 |
415 x 471597cad322 (1) A0 |
381 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
416 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
|
417 (No patch available yet, too many successors (2)) |
382 |
418 |
383 Obslog with all option all should also works on the splitted commit |
419 Obslog with all option all should also works on the splitted commit |
384 $ hg obslog -a 471597cad322 --hidden |
420 $ hg obslog -a 471597cad322 --hidden --patch |
385 o 337fec4d2edc (2) A0 |
421 o 337fec4d2edc (2) A0 |
386 | |
422 | |
387 | @ f257fde29c7a (3) A0 |
423 | @ f257fde29c7a (3) A0 |
388 |/ |
424 |/ |
389 x 471597cad322 (1) A0 |
425 x 471597cad322 (1) A0 |
390 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
426 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
|
427 (No patch available yet, too many successors (2)) |
391 |
428 |
392 Check that debugobshistory on both successors after split show |
429 Check that debugobshistory on both successors after split show |
393 a coherent graph |
430 a coherent graph |
394 $ hg obslog 'f257fde29c7a+337fec4d2edc' |
431 $ hg obslog 'f257fde29c7a+337fec4d2edc' --patch |
395 o 337fec4d2edc (2) A0 |
432 o 337fec4d2edc (2) A0 |
396 | |
433 | |
397 | @ f257fde29c7a (3) A0 |
434 | @ f257fde29c7a (3) A0 |
398 |/ |
435 |/ |
399 x 471597cad322 (1) A0 |
436 x 471597cad322 (1) A0 |
400 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
437 rewritten(parent, content) by test (*) as 337fec4d2edc, f257fde29c7a (glob) |
|
438 (No patch available yet, too many successors (2)) |
401 |
439 |
402 $ hg update 471597cad322 |
440 $ hg update 471597cad322 |
403 abort: hidden revision '471597cad322'! |
441 abort: hidden revision '471597cad322'! |
404 (use --hidden to access hidden revisions; successors: 337fec4d2edc, f257fde29c7a) |
442 (use --hidden to access hidden revisions; successors: 337fec4d2edc, f257fde29c7a) |
405 [255] |
443 [255] |
559 summary: ROOT |
597 summary: ROOT |
560 |
598 |
561 Actual test |
599 Actual test |
562 ----------- |
600 ----------- |
563 |
601 |
564 $ hg obslog de7290d8b885 --hidden |
602 $ hg obslog de7290d8b885 --hidden --patch |
565 x de7290d8b885 (1) A0 |
603 x de7290d8b885 (1) A0 |
566 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
604 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
567 |
605 (No patch available yet, too many successors (4)) |
568 $ hg obslog de7290d8b885 --hidden --all |
606 |
|
607 $ hg obslog de7290d8b885 --hidden --all --patch |
569 o 1ae8bc733a14 (4) A0 |
608 o 1ae8bc733a14 (4) A0 |
570 | |
609 | |
571 | o 337fec4d2edc (2) A0 |
610 | o 337fec4d2edc (2) A0 |
572 |/ |
611 |/ |
573 | @ c7f044602e9b (5) A0 |
612 | @ c7f044602e9b (5) A0 |
574 |/ |
613 |/ |
575 | o f257fde29c7a (3) A0 |
614 | o f257fde29c7a (3) A0 |
576 |/ |
615 |/ |
577 x de7290d8b885 (1) A0 |
616 x de7290d8b885 (1) A0 |
578 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
617 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
|
618 (No patch available yet, too many successors (4)) |
579 |
619 |
580 $ hg obslog de7290d8b885 --hidden --no-graph -Tjson | python -m json.tool |
620 $ hg obslog de7290d8b885 --hidden --no-graph -Tjson | python -m json.tool |
581 [ |
621 [ |
582 { |
622 { |
583 "debugobshistory.markers": [ |
623 "debugobshistory.markers": [ |
603 "debugobshistory.node": "de7290d8b885", |
643 "debugobshistory.node": "de7290d8b885", |
604 "debugobshistory.rev": 1, |
644 "debugobshistory.rev": 1, |
605 "debugobshistory.shortdescription": "A0" |
645 "debugobshistory.shortdescription": "A0" |
606 } |
646 } |
607 ] |
647 ] |
608 $ hg obslog c7f044602e9b |
648 $ hg obslog c7f044602e9b --patch |
609 @ c7f044602e9b (5) A0 |
649 @ c7f044602e9b (5) A0 |
610 | |
650 | |
611 x de7290d8b885 (1) A0 |
651 x de7290d8b885 (1) A0 |
612 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
652 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
|
653 (No patch available yet, too many successors (4)) |
613 |
654 |
614 $ hg obslog c7f044602e9b --no-graph -Tjson | python -m json.tool |
655 $ hg obslog c7f044602e9b --no-graph -Tjson | python -m json.tool |
615 [ |
656 [ |
616 { |
657 { |
617 "debugobshistory.markers": [], |
658 "debugobshistory.markers": [], |
644 "debugobshistory.rev": 1, |
685 "debugobshistory.rev": 1, |
645 "debugobshistory.shortdescription": "A0" |
686 "debugobshistory.shortdescription": "A0" |
646 } |
687 } |
647 ] |
688 ] |
648 Check that debugobshistory on all heads show a coherent graph |
689 Check that debugobshistory on all heads show a coherent graph |
649 $ hg obslog 2::5 |
690 $ hg obslog 2::5 --patch |
650 o 1ae8bc733a14 (4) A0 |
691 o 1ae8bc733a14 (4) A0 |
651 | |
692 | |
652 | o 337fec4d2edc (2) A0 |
693 | o 337fec4d2edc (2) A0 |
653 |/ |
694 |/ |
654 | @ c7f044602e9b (5) A0 |
695 | @ c7f044602e9b (5) A0 |
655 |/ |
696 |/ |
656 | o f257fde29c7a (3) A0 |
697 | o f257fde29c7a (3) A0 |
657 |/ |
698 |/ |
658 x de7290d8b885 (1) A0 |
699 x de7290d8b885 (1) A0 |
659 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
700 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
660 |
701 (No patch available yet, too many successors (4)) |
661 $ hg obslog 5 --all |
702 |
|
703 $ hg obslog 5 --all --patch |
662 o 1ae8bc733a14 (4) A0 |
704 o 1ae8bc733a14 (4) A0 |
663 | |
705 | |
664 | o 337fec4d2edc (2) A0 |
706 | o 337fec4d2edc (2) A0 |
665 |/ |
707 |/ |
666 | @ c7f044602e9b (5) A0 |
708 | @ c7f044602e9b (5) A0 |
667 |/ |
709 |/ |
668 | o f257fde29c7a (3) A0 |
710 | o f257fde29c7a (3) A0 |
669 |/ |
711 |/ |
670 x de7290d8b885 (1) A0 |
712 x de7290d8b885 (1) A0 |
671 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
713 rewritten(parent, content) by test (*) as 1ae8bc733a14, 337fec4d2edc, c7f044602e9b, f257fde29c7a (glob) |
|
714 (No patch available yet, too many successors (4)) |
672 |
715 |
673 $ hg update de7290d8b885 |
716 $ hg update de7290d8b885 |
674 abort: hidden revision 'de7290d8b885'! |
717 abort: hidden revision 'de7290d8b885'! |
675 (use --hidden to access hidden revisions; successors: 337fec4d2edc, f257fde29c7a and 2 more) |
718 (use --hidden to access hidden revisions; successors: 337fec4d2edc, f257fde29c7a and 2 more) |
676 [255] |
719 [255] |
736 Actual test |
779 Actual test |
737 ----------- |
780 ----------- |
738 |
781 |
739 Check that debugobshistory on the first folded revision show only |
782 Check that debugobshistory on the first folded revision show only |
740 the revision with the target |
783 the revision with the target |
741 $ hg obslog --hidden 471f378eab4c |
784 $ hg obslog --hidden 471f378eab4c --patch |
742 x 471f378eab4c (1) A0 |
785 x 471f378eab4c (1) A0 |
743 rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
786 rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
|
787 --- a/471f378eab4c-changeset-description |
|
788 +++ b/eb5a0daa2192-changeset-description |
|
789 @@ -1,1 +1,1 @@ |
|
790 -A0 |
|
791 +C0 |
|
792 |
|
793 diff -r 471f378eab4c -r eb5a0daa2192 B0 |
|
794 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
795 +++ b/B0 Thu Jan 01 00:00:00 1970 +0000 |
|
796 @@ -0,0 +1,1 @@ |
|
797 +B0 |
|
798 |
744 |
799 |
745 Check that with all option, all changesets are shown |
800 Check that with all option, all changesets are shown |
746 $ hg obslog --hidden --all 471f378eab4c |
801 $ hg obslog --hidden --all 471f378eab4c --patch |
747 @ eb5a0daa2192 (3) C0 |
802 @ eb5a0daa2192 (3) C0 |
748 |\ |
803 |\ |
749 x | 0dec01379d3b (2) B0 |
804 x | 0dec01379d3b (2) B0 |
750 / rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
805 / rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
|
806 | (No patch available yet, changesets rebased) |
751 | |
807 | |
752 x 471f378eab4c (1) A0 |
808 x 471f378eab4c (1) A0 |
753 rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
809 rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
|
810 --- a/471f378eab4c-changeset-description |
|
811 +++ b/eb5a0daa2192-changeset-description |
|
812 @@ -1,1 +1,1 @@ |
|
813 -A0 |
|
814 +C0 |
|
815 |
|
816 diff -r 471f378eab4c -r eb5a0daa2192 B0 |
|
817 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
818 +++ b/B0 Thu Jan 01 00:00:00 1970 +0000 |
|
819 @@ -0,0 +1,1 @@ |
|
820 +B0 |
|
821 |
754 |
822 |
755 Check that debugobshistory on the second folded revision show only |
823 Check that debugobshistory on the second folded revision show only |
756 the revision with the target |
824 the revision with the target |
757 $ hg obslog --hidden 0dec01379d3b |
825 $ hg obslog --hidden 0dec01379d3b --patch |
758 x 0dec01379d3b (2) B0 |
826 x 0dec01379d3b (2) B0 |
759 rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
827 rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
|
828 (No patch available yet, changesets rebased) |
760 |
829 |
761 Check that with all option, all changesets are shown |
830 Check that with all option, all changesets are shown |
762 $ hg obslog --hidden --all 0dec01379d3b |
831 $ hg obslog --hidden --all 0dec01379d3b --patch |
763 @ eb5a0daa2192 (3) C0 |
832 @ eb5a0daa2192 (3) C0 |
764 |\ |
833 |\ |
765 x | 0dec01379d3b (2) B0 |
834 x | 0dec01379d3b (2) B0 |
766 / rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
835 / rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
|
836 | (No patch available yet, changesets rebased) |
767 | |
837 | |
768 x 471f378eab4c (1) A0 |
838 x 471f378eab4c (1) A0 |
769 rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
839 rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
|
840 --- a/471f378eab4c-changeset-description |
|
841 +++ b/eb5a0daa2192-changeset-description |
|
842 @@ -1,1 +1,1 @@ |
|
843 -A0 |
|
844 +C0 |
|
845 |
|
846 diff -r 471f378eab4c -r eb5a0daa2192 B0 |
|
847 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
848 +++ b/B0 Thu Jan 01 00:00:00 1970 +0000 |
|
849 @@ -0,0 +1,1 @@ |
|
850 +B0 |
|
851 |
770 |
852 |
771 Check that debugobshistory on the successor revision show a coherent |
853 Check that debugobshistory on the successor revision show a coherent |
772 graph |
854 graph |
773 $ hg obslog eb5a0daa2192 |
855 $ hg obslog eb5a0daa2192 --patch |
774 @ eb5a0daa2192 (3) C0 |
856 @ eb5a0daa2192 (3) C0 |
775 |\ |
857 |\ |
776 x | 0dec01379d3b (2) B0 |
858 x | 0dec01379d3b (2) B0 |
777 / rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
859 / rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
|
860 | (No patch available yet, changesets rebased) |
778 | |
861 | |
779 x 471f378eab4c (1) A0 |
862 x 471f378eab4c (1) A0 |
780 rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
863 rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
|
864 --- a/471f378eab4c-changeset-description |
|
865 +++ b/eb5a0daa2192-changeset-description |
|
866 @@ -1,1 +1,1 @@ |
|
867 -A0 |
|
868 +C0 |
|
869 |
|
870 diff -r 471f378eab4c -r eb5a0daa2192 B0 |
|
871 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
872 +++ b/B0 Thu Jan 01 00:00:00 1970 +0000 |
|
873 @@ -0,0 +1,1 @@ |
|
874 +B0 |
|
875 |
781 |
876 |
782 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool |
877 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool |
783 [ |
878 [ |
784 { |
879 { |
785 "debugobshistory.markers": [], |
880 "debugobshistory.markers": [], |
915 |
1010 |
916 Actual test |
1011 Actual test |
917 ----------- |
1012 ----------- |
918 |
1013 |
919 Check that debugobshistory on the divergent revision show both destinations |
1014 Check that debugobshistory on the divergent revision show both destinations |
920 $ hg obslog --hidden 471f378eab4c |
1015 $ hg obslog --hidden 471f378eab4c --patch |
921 x 471f378eab4c (1) A0 |
1016 x 471f378eab4c (1) A0 |
922 rewritten(description) by test (*) as 65b757b745b9 (glob) |
1017 rewritten(description) by test (*) as 65b757b745b9 (glob) |
|
1018 --- a/471f378eab4c-changeset-description |
|
1019 +++ b/65b757b745b9-changeset-description |
|
1020 @@ -1,1 +1,1 @@ |
|
1021 -A0 |
|
1022 +A2 |
|
1023 |
923 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1024 rewritten(description) by test (*) as fdf9bde5129a (glob) |
|
1025 --- a/471f378eab4c-changeset-description |
|
1026 +++ b/fdf9bde5129a-changeset-description |
|
1027 @@ -1,1 +1,1 @@ |
|
1028 -A0 |
|
1029 +A1 |
|
1030 |
924 |
1031 |
925 |
1032 |
926 Check that with all option, every changeset is shown |
1033 Check that with all option, every changeset is shown |
927 $ hg obslog --hidden --all 471f378eab4c |
1034 $ hg obslog --hidden --all 471f378eab4c --patch |
928 @ 65b757b745b9 (3) A2 |
1035 @ 65b757b745b9 (3) A2 |
929 | |
1036 | |
930 | o fdf9bde5129a (2) A1 |
1037 | o fdf9bde5129a (2) A1 |
931 |/ |
1038 |/ |
932 x 471f378eab4c (1) A0 |
1039 x 471f378eab4c (1) A0 |
933 rewritten(description) by test (*) as 65b757b745b9 (glob) |
1040 rewritten(description) by test (*) as 65b757b745b9 (glob) |
|
1041 --- a/471f378eab4c-changeset-description |
|
1042 +++ b/65b757b745b9-changeset-description |
|
1043 @@ -1,1 +1,1 @@ |
|
1044 -A0 |
|
1045 +A2 |
|
1046 |
934 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1047 rewritten(description) by test (*) as fdf9bde5129a (glob) |
|
1048 --- a/471f378eab4c-changeset-description |
|
1049 +++ b/fdf9bde5129a-changeset-description |
|
1050 @@ -1,1 +1,1 @@ |
|
1051 -A0 |
|
1052 +A1 |
|
1053 |
935 |
1054 |
936 $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool |
1055 $ hg obslog --hidden 471f378eab4c --no-graph -Tjson | python -m json.tool |
937 [ |
1056 [ |
938 { |
1057 { |
939 "debugobshistory.markers": [ |
1058 "debugobshistory.markers": [ |
971 "debugobshistory.shortdescription": "A0" |
1090 "debugobshistory.shortdescription": "A0" |
972 } |
1091 } |
973 ] |
1092 ] |
974 Check that debugobshistory on the first diverged revision show the revision |
1093 Check that debugobshistory on the first diverged revision show the revision |
975 and the diverent one |
1094 and the diverent one |
976 $ hg obslog fdf9bde5129a |
1095 $ hg obslog fdf9bde5129a --patch |
977 o fdf9bde5129a (2) A1 |
1096 o fdf9bde5129a (2) A1 |
978 | |
1097 | |
979 x 471f378eab4c (1) A0 |
1098 x 471f378eab4c (1) A0 |
980 rewritten(description) by test (*) as 65b757b745b9 (glob) |
1099 rewritten(description) by test (*) as 65b757b745b9 (glob) |
|
1100 --- a/471f378eab4c-changeset-description |
|
1101 +++ b/65b757b745b9-changeset-description |
|
1102 @@ -1,1 +1,1 @@ |
|
1103 -A0 |
|
1104 +A2 |
|
1105 |
981 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1106 rewritten(description) by test (*) as fdf9bde5129a (glob) |
|
1107 --- a/471f378eab4c-changeset-description |
|
1108 +++ b/fdf9bde5129a-changeset-description |
|
1109 @@ -1,1 +1,1 @@ |
|
1110 -A0 |
|
1111 +A1 |
|
1112 |
982 |
1113 |
983 |
1114 |
984 Check that all option show all of them |
1115 Check that all option show all of them |
985 $ hg obslog fdf9bde5129a -a |
1116 $ hg obslog fdf9bde5129a -a --patch |
986 @ 65b757b745b9 (3) A2 |
1117 @ 65b757b745b9 (3) A2 |
987 | |
1118 | |
988 | o fdf9bde5129a (2) A1 |
1119 | o fdf9bde5129a (2) A1 |
989 |/ |
1120 |/ |
990 x 471f378eab4c (1) A0 |
1121 x 471f378eab4c (1) A0 |
991 rewritten(description) by test (*) as 65b757b745b9 (glob) |
1122 rewritten(description) by test (*) as 65b757b745b9 (glob) |
|
1123 --- a/471f378eab4c-changeset-description |
|
1124 +++ b/65b757b745b9-changeset-description |
|
1125 @@ -1,1 +1,1 @@ |
|
1126 -A0 |
|
1127 +A2 |
|
1128 |
992 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1129 rewritten(description) by test (*) as fdf9bde5129a (glob) |
|
1130 --- a/471f378eab4c-changeset-description |
|
1131 +++ b/fdf9bde5129a-changeset-description |
|
1132 @@ -1,1 +1,1 @@ |
|
1133 -A0 |
|
1134 +A1 |
|
1135 |
993 |
1136 |
994 Check that debugobshistory on the second diverged revision show the revision |
1137 Check that debugobshistory on the second diverged revision show the revision |
995 and the diverent one |
1138 and the diverent one |
996 $ hg obslog 65b757b745b9 |
1139 $ hg obslog 65b757b745b9 --patch |
997 @ 65b757b745b9 (3) A2 |
1140 @ 65b757b745b9 (3) A2 |
998 | |
1141 | |
999 x 471f378eab4c (1) A0 |
1142 x 471f378eab4c (1) A0 |
1000 rewritten(description) by test (*) as 65b757b745b9 (glob) |
1143 rewritten(description) by test (*) as 65b757b745b9 (glob) |
|
1144 --- a/471f378eab4c-changeset-description |
|
1145 +++ b/65b757b745b9-changeset-description |
|
1146 @@ -1,1 +1,1 @@ |
|
1147 -A0 |
|
1148 +A2 |
|
1149 |
1001 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1150 rewritten(description) by test (*) as fdf9bde5129a (glob) |
|
1151 --- a/471f378eab4c-changeset-description |
|
1152 +++ b/fdf9bde5129a-changeset-description |
|
1153 @@ -1,1 +1,1 @@ |
|
1154 -A0 |
|
1155 +A1 |
|
1156 |
1002 |
1157 |
1003 Check that all option show all of them |
1158 Check that all option show all of them |
1004 $ hg obslog 65b757b745b9 -a |
1159 $ hg obslog 65b757b745b9 -a --patch |
1005 @ 65b757b745b9 (3) A2 |
1160 @ 65b757b745b9 (3) A2 |
1006 | |
1161 | |
1007 | o fdf9bde5129a (2) A1 |
1162 | o fdf9bde5129a (2) A1 |
1008 |/ |
1163 |/ |
1009 x 471f378eab4c (1) A0 |
1164 x 471f378eab4c (1) A0 |
1010 rewritten(description) by test (*) as 65b757b745b9 (glob) |
1165 rewritten(description) by test (*) as 65b757b745b9 (glob) |
|
1166 --- a/471f378eab4c-changeset-description |
|
1167 +++ b/65b757b745b9-changeset-description |
|
1168 @@ -1,1 +1,1 @@ |
|
1169 -A0 |
|
1170 +A2 |
|
1171 |
1011 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1172 rewritten(description) by test (*) as fdf9bde5129a (glob) |
|
1173 --- a/471f378eab4c-changeset-description |
|
1174 +++ b/fdf9bde5129a-changeset-description |
|
1175 @@ -1,1 +1,1 @@ |
|
1176 -A0 |
|
1177 +A1 |
|
1178 |
1012 |
1179 |
1013 Check that debugobshistory on the both diverged revision show a coherent |
1180 Check that debugobshistory on the both diverged revision show a coherent |
1014 graph |
1181 graph |
1015 $ hg obslog '65b757b745b9+fdf9bde5129a' |
1182 $ hg obslog '65b757b745b9+fdf9bde5129a' --patch |
1016 @ 65b757b745b9 (3) A2 |
1183 @ 65b757b745b9 (3) A2 |
1017 | |
1184 | |
1018 | o fdf9bde5129a (2) A1 |
1185 | o fdf9bde5129a (2) A1 |
1019 |/ |
1186 |/ |
1020 x 471f378eab4c (1) A0 |
1187 x 471f378eab4c (1) A0 |
1021 rewritten(description) by test (*) as 65b757b745b9 (glob) |
1188 rewritten(description) by test (*) as 65b757b745b9 (glob) |
|
1189 --- a/471f378eab4c-changeset-description |
|
1190 +++ b/65b757b745b9-changeset-description |
|
1191 @@ -1,1 +1,1 @@ |
|
1192 -A0 |
|
1193 +A2 |
|
1194 |
1022 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1195 rewritten(description) by test (*) as fdf9bde5129a (glob) |
|
1196 --- a/471f378eab4c-changeset-description |
|
1197 +++ b/fdf9bde5129a-changeset-description |
|
1198 @@ -1,1 +1,1 @@ |
|
1199 -A0 |
|
1200 +A1 |
|
1201 |
1023 |
1202 |
1024 $ hg obslog '65b757b745b9+fdf9bde5129a' --no-graph -Tjson | python -m json.tool |
1203 $ hg obslog '65b757b745b9+fdf9bde5129a' --no-graph -Tjson | python -m json.tool |
1025 [ |
1204 [ |
1026 { |
1205 { |
1027 "debugobshistory.markers": [], |
1206 "debugobshistory.markers": [], |
1149 |
1328 |
1150 Actual test |
1329 Actual test |
1151 ----------- |
1330 ----------- |
1152 |
1331 |
1153 Check that debugobshistory on head show a coherent graph |
1332 Check that debugobshistory on head show a coherent graph |
1154 $ hg obslog eb5a0daa2192 |
1333 $ hg obslog eb5a0daa2192 --patch |
1155 @ eb5a0daa2192 (4) C0 |
1334 @ eb5a0daa2192 (4) C0 |
1156 |\ |
1335 |\ |
1157 x | 471f378eab4c (1) A0 |
1336 x | 471f378eab4c (1) A0 |
1158 / rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
1337 / rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
|
1338 | --- a/471f378eab4c-changeset-description |
|
1339 | +++ b/eb5a0daa2192-changeset-description |
|
1340 | @@ -1,1 +1,1 @@ |
|
1341 | -A0 |
|
1342 | +C0 |
|
1343 | |
|
1344 | diff -r 471f378eab4c -r eb5a0daa2192 B0 |
|
1345 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1346 | +++ b/B0 Thu Jan 01 00:00:00 1970 +0000 |
|
1347 | @@ -0,0 +1,1 @@ |
|
1348 | +B0 |
|
1349 | |
1159 | |
1350 | |
1160 x b7ea6d14e664 (3) B1 |
1351 x b7ea6d14e664 (3) B1 |
1161 | rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
1352 | rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
|
1353 | (No patch available yet, changesets rebased) |
1162 | |
1354 | |
1163 x 0dec01379d3b (2) B0 |
1355 x 0dec01379d3b (2) B0 |
1164 rewritten(description) by test (*) as b7ea6d14e664 (glob) |
1356 rewritten(description) by test (*) as b7ea6d14e664 (glob) |
|
1357 --- a/0dec01379d3b-changeset-description |
|
1358 +++ b/b7ea6d14e664-changeset-description |
|
1359 @@ -1,1 +1,1 @@ |
|
1360 -B0 |
|
1361 +B1 |
|
1362 |
1165 |
1363 |
1166 Check that obslog on ROOT with all option show everything |
1364 Check that obslog on ROOT with all option show everything |
1167 $ hg obslog 1 --hidden --all |
1365 $ hg obslog 1 --hidden --all --patch |
1168 @ eb5a0daa2192 (4) C0 |
1366 @ eb5a0daa2192 (4) C0 |
1169 |\ |
1367 |\ |
1170 x | 471f378eab4c (1) A0 |
1368 x | 471f378eab4c (1) A0 |
1171 / rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
1369 / rewritten(description, content) by test (*) as eb5a0daa2192 (glob) |
|
1370 | --- a/471f378eab4c-changeset-description |
|
1371 | +++ b/eb5a0daa2192-changeset-description |
|
1372 | @@ -1,1 +1,1 @@ |
|
1373 | -A0 |
|
1374 | +C0 |
|
1375 | |
|
1376 | diff -r 471f378eab4c -r eb5a0daa2192 B0 |
|
1377 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1378 | +++ b/B0 Thu Jan 01 00:00:00 1970 +0000 |
|
1379 | @@ -0,0 +1,1 @@ |
|
1380 | +B0 |
|
1381 | |
1172 | |
1382 | |
1173 x b7ea6d14e664 (3) B1 |
1383 x b7ea6d14e664 (3) B1 |
1174 | rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
1384 | rewritten(description, parent, content) by test (*) as eb5a0daa2192 (glob) |
|
1385 | (No patch available yet, changesets rebased) |
1175 | |
1386 | |
1176 x 0dec01379d3b (2) B0 |
1387 x 0dec01379d3b (2) B0 |
1177 rewritten(description) by test (*) as b7ea6d14e664 (glob) |
1388 rewritten(description) by test (*) as b7ea6d14e664 (glob) |
|
1389 --- a/0dec01379d3b-changeset-description |
|
1390 +++ b/b7ea6d14e664-changeset-description |
|
1391 @@ -1,1 +1,1 @@ |
|
1392 -B0 |
|
1393 +B1 |
|
1394 |
1178 |
1395 |
1179 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool |
1396 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool |
1180 [ |
1397 [ |
1181 { |
1398 { |
1182 "debugobshistory.markers": [], |
1399 "debugobshistory.markers": [], |
1361 (run 'hg heads' to see heads, 'hg merge' to merge) |
1590 (run 'hg heads' to see heads, 'hg merge' to merge) |
1362 working directory parent is obsolete! (471f378eab4c) |
1591 working directory parent is obsolete! (471f378eab4c) |
1363 (use 'hg evolve' to update to its successor: 7a230b46bf61) |
1592 (use 'hg evolve' to update to its successor: 7a230b46bf61) |
1364 Check that debugobshistory works with markers pointing to missing local |
1593 Check that debugobshistory works with markers pointing to missing local |
1365 changectx |
1594 changectx |
1366 $ hg obslog 7a230b46bf61 |
1595 $ hg obslog 7a230b46bf61 --patch |
1367 o 7a230b46bf61 (2) A2 |
1596 o 7a230b46bf61 (2) A2 |
1368 | |
1597 | |
1369 x fdf9bde5129a |
1598 x fdf9bde5129a |
1370 | rewritten(description) by test (*) as 7a230b46bf61 (glob) |
1599 | rewritten(description) by test (*) as 7a230b46bf61 (glob) |
|
1600 | (No patch available yet, context is not local) |
1371 | |
1601 | |
1372 @ 471f378eab4c (1) A0 |
1602 @ 471f378eab4c (1) A0 |
1373 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1603 rewritten(description) by test (*) as fdf9bde5129a (glob) |
1374 |
1604 (No patch available yet, succ is unknown locally) |
1375 $ hg obslog 7a230b46bf61 --color=debug |
1605 |
|
1606 $ hg obslog 7a230b46bf61 --color=debug --patch |
1376 o [evolve.node|7a230b46bf61] [evolve.rev|(2)] [evolve.short_description|A2] |
1607 o [evolve.node|7a230b46bf61] [evolve.rev|(2)] [evolve.short_description|A2] |
1377 | |
1608 | |
1378 x [evolve.node evolve.missing_change_ctx|fdf9bde5129a] |
1609 x [evolve.node evolve.missing_change_ctx|fdf9bde5129a] |
1379 | [evolve.verb|rewritten](description) by [evolve.user|test] [evolve.date|(*)] as [evolve.node|7a230b46bf61] (glob) |
1610 | [evolve.verb|rewritten](description) by [evolve.user|test] [evolve.date|(*)] as [evolve.node|7a230b46bf61] (glob) |
|
1611 | (No patch available yet, context is not local) |
1380 | |
1612 | |
1381 @ [evolve.node|471f378eab4c] [evolve.rev|(1)] [evolve.short_description|A0] |
1613 @ [evolve.node|471f378eab4c] [evolve.rev|(1)] [evolve.short_description|A0] |
1382 [evolve.verb|rewritten](description) by [evolve.user|test] [evolve.date|(*)] as [evolve.node|fdf9bde5129a] (glob) |
1614 [evolve.verb|rewritten](description) by [evolve.user|test] [evolve.date|(*)] as [evolve.node|fdf9bde5129a] (glob) |
1383 |
1615 (No patch available yet, succ is unknown locally) |
|
1616 |