Mercurial > evolve
comparison tests/test-obsolete.t @ 3559:d166b3dc5e8a
tests: do not glob out fixed dates
Perhaps these dates historically have not been fixed, but they seem to
be now. I got tired of not being able to use "run-tests.py -i".
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 12 Mar 2018 23:26:25 -0700 |
parents | 2823c82ad8a4 |
children | d5adce52cef4 1e103c7f7663 |
comparison
equal
deleted
inserted
replaced
3558:cec6e21b3bcf | 3559:d166b3dc5e8a |
---|---|
33 $ getid 3 | 33 $ getid 3 |
34 0d3f46688ccc6e756c7e96cf64c391c411309597 | 34 0d3f46688ccc6e756c7e96cf64c391c411309597 |
35 $ hg debugobsolete 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 | 35 $ hg debugobsolete 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 |
36 obsoleted 1 changesets | 36 obsoleted 1 changesets |
37 $ hg debugobsolete | 37 $ hg debugobsolete |
38 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (*) {'user': 'test'} (glob) | 38 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
39 | 39 |
40 | 40 |
41 Test hidden() revset | 41 Test hidden() revset |
42 | 42 |
43 $ qlog -r 'hidden()' --hidden | 43 $ qlog -r 'hidden()' --hidden |
658 user: test | 658 user: test |
659 date: Thu Jan 01 00:00:00 1970 +0000 | 659 date: Thu Jan 01 00:00:00 1970 +0000 |
660 summary: add a | 660 summary: add a |
661 | 661 |
662 $ hg debugobsolete | grep -v 33d458d86621f3186c40bfccd77652f4a122743e | 662 $ hg debugobsolete | grep -v 33d458d86621f3186c40bfccd77652f4a122743e |
663 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (*) {'user': 'test'} (glob) | 663 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
664 0d3f46688ccc6e756c7e96cf64c391c411309597 725c380fe99b5e76613493f0903e8d11ddc70d54 0 (*) {'user': 'test'} (glob) | 664 0d3f46688ccc6e756c7e96cf64c391c411309597 725c380fe99b5e76613493f0903e8d11ddc70d54 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
665 a7a6f2b5d8a54b81bc7aa2fba2934ad6d700a79e 95de7fc6918dea4c9c8d5382f50649794b474c4a 0 (*) {'user': 'test'} (glob) | 665 a7a6f2b5d8a54b81bc7aa2fba2934ad6d700a79e 95de7fc6918dea4c9c8d5382f50649794b474c4a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
666 95de7fc6918dea4c9c8d5382f50649794b474c4a 909a0fb57e5d909f353d89e394ffd7e0890fec88 0 (*) {'user': 'test'} (glob) | 666 95de7fc6918dea4c9c8d5382f50649794b474c4a 909a0fb57e5d909f353d89e394ffd7e0890fec88 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
667 909a0fb57e5d909f353d89e394ffd7e0890fec88 159dfc9fa5d334d7e03a0aecfc7f7ab4c3431fea 0 (*) {'user': 'test'} (glob) | 667 909a0fb57e5d909f353d89e394ffd7e0890fec88 159dfc9fa5d334d7e03a0aecfc7f7ab4c3431fea 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
668 1f0dee641bb7258c56bd60e93edfa2405381c41e 83b5778897adafb967ef2f75be3aaa4fce49a4cc 0 (*) {'user': 'test'} (glob) | 668 1f0dee641bb7258c56bd60e93edfa2405381c41e 83b5778897adafb967ef2f75be3aaa4fce49a4cc 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
669 83b5778897adafb967ef2f75be3aaa4fce49a4cc 0 (*) {'user': 'test'} (glob) | 669 83b5778897adafb967ef2f75be3aaa4fce49a4cc 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
670 0d3f46688ccc6e756c7e96cf64c391c411309597 2033b4e494742365851fac84d276640cbf52833e 0 (*) {'ef1': '*', 'user': 'test'} (glob) | 670 0d3f46688ccc6e756c7e96cf64c391c411309597 2033b4e494742365851fac84d276640cbf52833e 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
671 159dfc9fa5d334d7e03a0aecfc7f7ab4c3431fea 9468a5f5d8b2c5d91e17474e95ae4791e9718fdf 0 (*) {'ef1': '*', 'user': 'test'} (glob) | 671 159dfc9fa5d334d7e03a0aecfc7f7ab4c3431fea 9468a5f5d8b2c5d91e17474e95ae4791e9718fdf 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
672 9468a5f5d8b2c5d91e17474e95ae4791e9718fdf 6db5e282cb91df5c43ff1f1287c119ff83230d42 0 (*) {'user': 'test'} (glob) | 672 9468a5f5d8b2c5d91e17474e95ae4791e9718fdf 6db5e282cb91df5c43ff1f1287c119ff83230d42 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
673 0b1b6dd009c037985363e2290a0b579819f659db 705ab2a6b72e2cd86edb799ebe15f2695f86143e 0 (*) {'ef1': '*', 'user': 'test'} (glob) | 673 0b1b6dd009c037985363e2290a0b579819f659db 705ab2a6b72e2cd86edb799ebe15f2695f86143e 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
674 #no produced by 2.3 | 674 #no produced by 2.3 |
675 33d458d86621f3186c40bfccd77652f4a122743e 3734a65252e69ddcced85901647a4f335d40de1e 0 {'date': '* *', 'user': 'test'} (glob) | 675 33d458d86621f3186c40bfccd77652f4a122743e 3734a65252e69ddcced85901647a4f335d40de1e 0 {'date': '* *', 'user': 'test'} (glob) |
676 | 676 |
677 Check divergence detection (note: multiple successors is sorted by changeset hash) | 677 Check divergence detection (note: multiple successors is sorted by changeset hash) |
678 | 678 |
715 [4] add obsol_c' | 715 [4] add obsol_c' |
716 [10] add obsol_c | 716 [10] add obsol_c |
717 [2] | 717 [2] |
718 $ hg olog | 718 $ hg olog |
719 @ 0d3f46688ccc (3) add obsol_c | 719 @ 0d3f46688ccc (3) add obsol_c |
720 | rewritten(parent) as 2033b4e49474 using rebase by test (*) (glob) | 720 | rewritten(parent) as 2033b4e49474 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
721 | rewritten as 725c380fe99b by test (*) (glob) | 721 | rewritten as 725c380fe99b by test (Thu Jan 01 00:00:00 1970 +0000) |
722 | | 722 | |
723 x 4538525df7e2 (2) add c | 723 x 4538525df7e2 (2) add c |
724 rewritten as 0d3f46688ccc by test (*) (glob) | 724 rewritten as 0d3f46688ccc by test (Thu Jan 01 00:00:00 1970 +0000) |
725 | 725 |
726 | 726 |
727 Check import reports new unstable changeset: | 727 Check import reports new unstable changeset: |
728 | 728 |
729 $ hg up --hidden 2 | 729 $ hg up --hidden 2 |
855 | 855 |
856 | 856 |
857 Simple rewrite | 857 Simple rewrite |
858 | 858 |
859 $ hg --hidden debugobsolete --rev 3 | 859 $ hg --hidden debugobsolete --rev 3 |
860 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (*) {'user': 'test'} (glob) | 860 4538525df7e2b9f09423636c61ef63a4cb872a2d 0d3f46688ccc6e756c7e96cf64c391c411309597 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
861 | 861 |
862 simple rewrite with a prune attached to it | 862 simple rewrite with a prune attached to it |
863 | 863 |
864 $ hg debugobsolete --rev 15 | 864 $ hg debugobsolete --rev 15 |
865 a7a6f2b5d8a54b81bc7aa2fba2934ad6d700a79e 50f11e5e3a63806e678c734e525502f522d37e38 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 865 a7a6f2b5d8a54b81bc7aa2fba2934ad6d700a79e 50f11e5e3a63806e678c734e525502f522d37e38 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
866 | 866 |
867 Transitive rewrite | 867 Transitive rewrite |
868 | 868 |
869 $ hg --hidden debugobsolete --rev 8 | 869 $ hg --hidden debugobsolete --rev 8 |
870 909a0fb57e5d909f353d89e394ffd7e0890fec88 159dfc9fa5d334d7e03a0aecfc7f7ab4c3431fea 0 (*) {'user': 'test'} (glob) | 870 909a0fb57e5d909f353d89e394ffd7e0890fec88 159dfc9fa5d334d7e03a0aecfc7f7ab4c3431fea 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
871 95de7fc6918dea4c9c8d5382f50649794b474c4a 909a0fb57e5d909f353d89e394ffd7e0890fec88 0 (*) {'user': 'test'} (glob) | 871 95de7fc6918dea4c9c8d5382f50649794b474c4a 909a0fb57e5d909f353d89e394ffd7e0890fec88 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
872 a7a6f2b5d8a54b81bc7aa2fba2934ad6d700a79e 95de7fc6918dea4c9c8d5382f50649794b474c4a 0 (*) {'user': 'test'} (glob) | 872 a7a6f2b5d8a54b81bc7aa2fba2934ad6d700a79e 95de7fc6918dea4c9c8d5382f50649794b474c4a 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
873 | 873 |