comparison tests/test-topic.t @ 2798:2280461343e5 mercurial-4.2

test-compat: merge mercurial-4.2 with the new stable branch content
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 25 Jul 2017 03:41:15 +0200
parents 9fd6c8efda5b
children 13c4d518327a 67b59d1657cf
comparison
equal deleted inserted replaced
2797:74456bc055ae 2798:2280461343e5
824 t2: gamma 824 t2: gamma
825 t1: start on fran 825 t1: start on fran
826 t0^ Add file delta (base) 826 t0^ Add file delta (base)
827 827
828 $ hg topics --age 828 $ hg topics --age
829 * changewut (1970-01-01) 829 * changewut (*) (glob)
830 830
831 $ cd .. 831 $ cd ..
832 832
833 Testing the new config knob to forbid untopiced commit 833 Testing the new config knob to forbid untopiced commit
834 ====================================================== 834 ======================================================
867 $ hg topic topic1970 --rev 0 867 $ hg topic topic1970 --rev 0
868 switching to topic topic1970 868 switching to topic topic1970
869 changed topic on 1 changes 869 changed topic on 1 changes
870 $ hg add b 870 $ hg add b
871 $ hg topic topic1990 871 $ hg topic topic1990
872 $ hg ci -m "Added b" --config devel.default-date="631152000 0" 872 $ hg ci -m "Added b" --config devel.default-date="631152000 0" --date "631152000 0"
873 $ hg add c 873 $ hg add c
874 $ hg topic topic2010 874 $ hg topic topic2010
875 $ hg ci -m "Added c" --config devel.default-date="1262304000 0" 875 $ hg ci -m "Added c" --config devel.default-date="1262304000 0" --date "1262304000 0"
876 $ hg log 876 $ hg log
877 changeset: 3:9048b194797d 877 changeset: 3:9048b194797d
878 tag: tip 878 tag: tip
879 topic: topic2010 879 topic: topic2010
880 user: test 880 user: test
897 $ hg topics 897 $ hg topics
898 topic1970 898 topic1970
899 topic1990 899 topic1990
900 * topic2010 900 * topic2010
901 $ hg topics --age 901 $ hg topics --age
902 topic1970 (*) (glob)
902 * topic2010 (2010-01-01) 903 * topic2010 (2010-01-01)
903 topic1990 (1990-01-01) 904 topic1990 (1990-01-01)
904 topic1970 (1970-01-01)
905 $ hg up topic1970 905 $ hg up topic1970
906 switching to topic topic1970 906 switching to topic topic1970
907 0 files updated, 0 files merged, 2 files removed, 0 files unresolved 907 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
908 $ hg topics --age 908 $ hg topics --age
909 * topic1970 (*) (glob)
909 topic2010 (2010-01-01) 910 topic2010 (2010-01-01)
910 topic1990 (1990-01-01) 911 topic1990 (1990-01-01)
911 * topic1970 (1970-01-01)
912 912
913 $ cd .. 913 $ cd ..