Mercurial > evolve
comparison tests/test-topic.t @ 4303:78700a59192a
topic: merge _showlasttouched logic into _listtopics
Makes --age work with --verbose.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 03 Dec 2018 14:41:03 +0800 |
parents | d5a2cc19903f |
children | 41f38bf15b4c |
comparison
equal
deleted
inserted
replaced
4302:8e9940f1ae56 | 4303:78700a59192a |
---|---|
817 ### target: default (branch), ambiguous rebase destination - branch 'default' has 2 heads | 817 ### target: default (branch), ambiguous rebase destination - branch 'default' has 2 heads |
818 s1: start on fran | 818 s1: start on fran |
819 s0^ Add file delta (base current) | 819 s0^ Add file delta (base current) |
820 | 820 |
821 $ hg topics --age | 821 $ hg topics --age |
822 * fran (1970-01-01 by test) | 822 * fran (1970-01-01 by test, 1 changesets) |
823 | 823 |
824 $ cd .. | 824 $ cd .. |
825 | 825 |
826 Testing the new config knob to forbid untopiced commit | 826 Testing the new config knob to forbid untopiced commit |
827 ====================================================== | 827 ====================================================== |
901 topic1970 (1 changesets) | 901 topic1970 (1 changesets) |
902 topic1990 (1 changesets) | 902 topic1990 (1 changesets) |
903 * topic2010 (1 changesets) | 903 * topic2010 (1 changesets) |
904 | 904 |
905 $ hg topics --age | 905 $ hg topics --age |
906 * topic2010 (2010-01-01 by bar) | 906 * topic2010 (2010-01-01 by bar, 1 changesets) |
907 topic1990 (1990-01-01 by foo) | 907 topic1990 (1990-01-01 by foo, 1 changesets) |
908 topic1970 (1970-01-01 by test) | 908 topic1970 (1970-01-01 by test, 1 changesets) |
909 | |
910 $ hg topics --age --verbose | |
911 * topic2010 (2010-01-01 by bar, on branch: default, 1 changesets) | |
912 topic1990 (1990-01-01 by foo, on branch: default, 1 changesets) | |
913 topic1970 (1970-01-01 by test, on branch: default, 1 changesets) | |
909 | 914 |
910 $ hg up topic1970 | 915 $ hg up topic1970 |
911 switching to topic topic1970 | 916 switching to topic topic1970 |
912 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | 917 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
913 | 918 |
914 $ hg topics --age | 919 $ hg topics --age |
915 topic2010 (2010-01-01 by bar) | 920 topic2010 (2010-01-01 by bar, 1 changesets) |
916 topic1990 (1990-01-01 by foo) | 921 topic1990 (1990-01-01 by foo, 1 changesets) |
917 * topic1970 (1970-01-01 by test) | 922 * topic1970 (1970-01-01 by test, 1 changesets) |
918 | 923 |
919 $ hg topics --age random | 924 $ hg topics --age random |
920 abort: cannot use --age while setting a topic | 925 abort: cannot use --age while setting a topic |
921 [255] | 926 [255] |
922 $ cd .. | 927 $ cd .. |