31 $ getid 2 |
31 $ getid 2 |
32 4538525df7e2b9f09423636c61ef63a4cb872a2d |
32 4538525df7e2b9f09423636c61ef63a4cb872a2d |
33 $ getid 3 |
33 $ getid 3 |
34 0d3f46688ccc6e756c7e96cf64c391c411309597 |
34 0d3f46688ccc6e756c7e96cf64c391c411309597 |
35 $ hg debugobsolete 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 |
35 $ hg debugobsolete 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 |
36 obsoleted 1 changesets |
|
37 $ hg debugobsolete |
36 $ hg debugobsolete |
38 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (*) {'user': 'test'} (glob) |
37 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (*) {'user': 'test'} (glob) |
39 |
38 |
40 |
39 |
41 Test hidden() revset |
40 Test hidden() revset |
126 $ hg parents |
124 $ hg parents |
127 changeset: 3:0d3f46688ccc |
125 changeset: 3:0d3f46688ccc |
128 parent: 1:7c3bad9141dc |
126 parent: 1:7c3bad9141dc |
129 user: test |
127 user: test |
130 date: Thu Jan 01 00:00:00 1970 +0000 |
128 date: Thu Jan 01 00:00:00 1970 +0000 |
131 obsolete: rewritten as 725c380fe99b |
|
132 summary: add obsol_c |
129 summary: add obsol_c |
133 |
130 |
134 working directory parent is obsolete! (0d3f46688ccc) |
131 working directory parent is obsolete! (0d3f46688ccc) |
135 (use 'hg evolve' to update to its successor: 725c380fe99b) |
132 (use 'hg evolve' to update to its successor: 725c380fe99b) |
136 $ mkcommit d # 5 (on 3) |
133 $ mkcommit d # 5 (on 3) |
269 working directory parent is obsolete! (0d3f46688ccc) |
264 working directory parent is obsolete! (0d3f46688ccc) |
270 $ mkcommit "obsol_d'" # 7 |
265 $ mkcommit "obsol_d'" # 7 |
271 created new head |
266 created new head |
272 1 new unstable changesets |
267 1 new unstable changesets |
273 $ hg debugobsolete `getid 6` `getid 7` |
268 $ hg debugobsolete `getid 6` `getid 7` |
274 obsoleted 1 changesets |
|
275 $ hg pull -R ../other-new . |
269 $ hg pull -R ../other-new . |
276 pulling from . |
270 pulling from . |
277 searching for changes |
271 searching for changes |
278 adding changesets |
272 adding changesets |
279 adding manifests |
273 adding manifests |
280 adding file changes |
274 adding file changes |
281 added 1 changesets with 1 changes to [12] files \(\+1 heads\) (re) |
275 added 1 changesets with 1 changes to [12] files \(\+1 heads\) (re) |
282 1 new obsolescence markers |
276 1 new obsolescence markers |
283 obsoleted 1 changesets |
|
284 (run 'hg heads' to see heads, 'hg merge' to merge) |
277 (run 'hg heads' to see heads, 'hg merge' to merge) |
285 $ qlog -R ../other-new |
278 $ qlog -R ../other-new |
286 6 |
279 6 |
287 - 909a0fb57e5d |
280 - 909a0fb57e5d |
288 3 |
281 3 |
359 working directory parent is obsolete! (0d3f46688ccc) |
352 working directory parent is obsolete! (0d3f46688ccc) |
360 $ mkcommit "obsol_d''" |
353 $ mkcommit "obsol_d''" |
361 created new head |
354 created new head |
362 1 new unstable changesets |
355 1 new unstable changesets |
363 $ hg debugobsolete `getid 7` `getid 8` |
356 $ hg debugobsolete `getid 7` `getid 8` |
364 obsoleted 1 changesets |
|
365 $ cd ../other-new |
357 $ cd ../other-new |
366 $ hg up -q 3 |
358 $ hg up -q 3 |
367 $ hg pull ../local/ |
359 $ hg pull ../local/ |
368 pulling from ../local/ |
360 pulling from ../local/ |
369 searching for changes |
361 searching for changes |
370 adding changesets |
362 adding changesets |
371 adding manifests |
363 adding manifests |
372 adding file changes |
364 adding file changes |
373 added 1 changesets with 1 changes to [12] files \(\+1 heads\) (re) |
365 added 1 changesets with 1 changes to [12] files \(\+1 heads\) (re) |
374 1 new obsolescence markers |
366 1 new obsolescence markers |
375 obsoleted 1 changesets |
|
376 (run 'hg heads' to see heads, 'hg merge' to merge) |
367 (run 'hg heads' to see heads, 'hg merge' to merge) |
377 |
368 |
378 $ hg up -q 7 # to check rollback update behavior |
369 $ hg up -q 7 # to check rollback update behavior |
379 $ qlog |
370 $ qlog |
380 7 |
371 7 |
463 Check that auto update ignores hidden changeset |
453 Check that auto update ignores hidden changeset |
464 $ hg up 0 |
454 $ hg up 0 |
465 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
455 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
466 $ hg up |
456 $ hg up |
467 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
457 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
468 updated to "159dfc9fa5d3: add obsol_d''" |
|
469 1 other heads for branch "default" |
458 1 other heads for branch "default" |
470 $ hg id -n |
459 $ hg id -n |
471 8 |
460 8 |
472 |
461 |
473 Check that named update does too |
462 Check that named update does too |
548 adding changesets |
537 adding changesets |
549 adding manifests |
538 adding manifests |
550 adding file changes |
539 adding file changes |
551 added 2 changesets with 1 changes to [12] files (re) |
540 added 2 changesets with 1 changes to [12] files (re) |
552 3 new obsolescence markers |
541 3 new obsolescence markers |
553 obsoleted 1 changesets |
|
554 $ hg up -q 10 |
542 $ hg up -q 10 |
555 $ mkcommit "obsol_d'''" |
543 $ mkcommit "obsol_d'''" |
556 created new head |
544 created new head |
557 $ hg debugobsolete `getid 11` `getid 12` |
545 $ hg debugobsolete `getid 11` `getid 12` |
558 obsoleted 1 changesets |
|
559 $ hg push ../other-new --traceback |
546 $ hg push ../other-new --traceback |
560 pushing to ../other-new |
547 pushing to ../other-new |
561 searching for changes |
548 searching for changes |
562 adding changesets |
549 adding changesets |
563 adding manifests |
550 adding manifests |
564 adding file changes |
551 adding file changes |
565 added 1 changesets with 1 changes to 1 files (+1 heads) |
552 added 1 changesets with 1 changes to 1 files (+1 heads) |
566 1 new obsolescence markers |
553 1 new obsolescence markers |
567 obsoleted 1 changesets |
|
568 $ cd .. |
554 $ cd .. |
569 |
555 |
570 check bumped detection |
556 check bumped detection |
571 (make an obsolete changeset public) |
557 (make an obsolete changeset public) |
572 |
558 |
751 | | | summary: add f |
737 | | | summary: add f |
752 | | | |
738 | | | |
753 | | | x changeset: 14:33d458d86621 |
739 | | | x changeset: 14:33d458d86621 |
754 | | | | user: test |
740 | | | | user: test |
755 | | | | date: Thu Jan 01 00:00:00 1970 +0000 |
741 | | | | date: Thu Jan 01 00:00:00 1970 +0000 |
756 | | | | obsolete: pruned |
|
757 | | | | summary: temporary amend commit for 0b1b6dd009c0 |
742 | | | | summary: temporary amend commit for 0b1b6dd009c0 |
758 | | | | |
743 | | | | |
759 | | | x changeset: 13:0b1b6dd009c0 |
744 | | | x changeset: 13:0b1b6dd009c0 |
760 | | |/ parent: 10:2033b4e49474 |
745 | | |/ parent: 10:2033b4e49474 |
761 | | | user: test |
746 | | | user: test |
762 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
747 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
763 | | | obsolete: amended as 705ab2a6b72e |
|
764 | | | summary: add f |
748 | | | summary: add f |
765 | | | |
749 | | | |
766 | | | o changeset: 12:6db5e282cb91 |
750 | | | o changeset: 12:6db5e282cb91 |
767 | | |/ parent: 10:2033b4e49474 |
751 | | |/ parent: 10:2033b4e49474 |
768 | | | user: test |
752 | | | user: test |
783 | | |
767 | | |
784 | | x changeset: 9:83b5778897ad |
768 | | x changeset: 9:83b5778897ad |
785 | | parent: -1:000000000000 |
769 | | parent: -1:000000000000 |
786 | | user: test |
770 | | user: test |
787 | | date: Thu Jan 01 00:00:00 1970 +0000 |
771 | | date: Thu Jan 01 00:00:00 1970 +0000 |
788 | | obsolete: pruned |
|
789 | | summary: add toto |
772 | | summary: add toto |
790 | | |
773 | | |
791 | | x changeset: 8:159dfc9fa5d3 |
774 | | x changeset: 8:159dfc9fa5d3 |
792 | | | parent: 3:0d3f46688ccc |
775 | | | parent: 3:0d3f46688ccc |
793 | | | user: test |
776 | | | user: test |
794 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
777 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
795 | | | obsolete: rebased as 9468a5f5d8b2 |
|
796 | | | summary: add obsol_d'' |
778 | | | summary: add obsol_d'' |
797 | | | |
779 | | | |
798 | | | x changeset: 7:909a0fb57e5d |
780 | | | x changeset: 7:909a0fb57e5d |
799 | | |/ parent: 3:0d3f46688ccc |
781 | | |/ parent: 3:0d3f46688ccc |
800 | | | user: test |
782 | | | user: test |
801 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
783 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
802 | | | obsolete: rewritten as 159dfc9fa5d3 |
|
803 | | | summary: add obsol_d' |
784 | | | summary: add obsol_d' |
804 | | | |
785 | | | |
805 | | | x changeset: 6:95de7fc6918d |
786 | | | x changeset: 6:95de7fc6918d |
806 | | |/ parent: 3:0d3f46688ccc |
787 | | |/ parent: 3:0d3f46688ccc |
807 | | | user: test |
788 | | | user: test |
808 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
789 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
809 | | | obsolete: rewritten as 909a0fb57e5d |
|
810 | | | summary: add obsol_d |
790 | | | summary: add obsol_d |
811 | | | |
791 | | | |
812 | | | x changeset: 5:a7a6f2b5d8a5 |
792 | | | x changeset: 5:a7a6f2b5d8a5 |
813 | | |/ parent: 3:0d3f46688ccc |
793 | | |/ parent: 3:0d3f46688ccc |
814 | | | user: test |
794 | | | user: test |
815 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
795 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
816 | | | obsolete: rewritten as 95de7fc6918d |
|
817 | | | obsolete: rewritten as 50f11e5e3a63 |
|
818 | | | summary: add d |
796 | | | summary: add d |
819 | | | |
797 | | | |
820 | o | changeset: 4:725c380fe99b |
798 | o | changeset: 4:725c380fe99b |
821 | | | parent: 1:7c3bad9141dc |
799 | | | parent: 1:7c3bad9141dc |
822 | | | user: test |
800 | | | user: test |
825 | | | |
803 | | | |
826 | | x changeset: 3:0d3f46688ccc |
804 | | x changeset: 3:0d3f46688ccc |
827 | |/ parent: 1:7c3bad9141dc |
805 | |/ parent: 1:7c3bad9141dc |
828 | | user: test |
806 | | user: test |
829 | | date: Thu Jan 01 00:00:00 1970 +0000 |
807 | | date: Thu Jan 01 00:00:00 1970 +0000 |
830 | | obsolete: rewritten as 725c380fe99b |
|
831 | | obsolete: rebased as 2033b4e49474 |
|
832 | | summary: add obsol_c |
808 | | summary: add obsol_c |
833 | | |
809 | | |
834 x | changeset: 2:4538525df7e2 |
810 x | changeset: 2:4538525df7e2 |
835 |/ user: test |
811 |/ user: test |
836 | date: Thu Jan 01 00:00:00 1970 +0000 |
812 | date: Thu Jan 01 00:00:00 1970 +0000 |
837 | obsolete: rewritten as 0d3f46688ccc |
|
838 | summary: add c |
813 | summary: add c |
839 | |
814 | |
840 o changeset: 1:7c3bad9141dc |
815 o changeset: 1:7c3bad9141dc |
841 | user: test |
816 | user: test |
842 | date: Thu Jan 01 00:00:00 1970 +0000 |
817 | date: Thu Jan 01 00:00:00 1970 +0000 |