652 ### target: default (branch), ambiguous rebase destination - branch 'default' has 2 heads |
652 ### target: default (branch), ambiguous rebase destination - branch 'default' has 2 heads |
653 t1: start on fran |
653 t1: start on fran |
654 t0^ Add file delta (base current) |
654 t0^ Add file delta (base current) |
655 |
655 |
656 $ hg topics --age |
656 $ hg topics --age |
657 * fran (1970-01-01 by test) |
657 * fran (* by test) (glob) |
658 |
658 |
659 $ cd .. |
659 $ cd .. |
660 |
660 |
661 Testing the new config knob to forbid untopiced commit |
661 Testing the new config knob to forbid untopiced commit |
662 ====================================================== |
662 ====================================================== |
700 switching to topic topic1970 |
700 switching to topic topic1970 |
701 changed topic on 1 changes |
701 changed topic on 1 changes |
702 |
702 |
703 $ hg add b |
703 $ hg add b |
704 $ hg topic topic1990 |
704 $ hg topic topic1990 |
705 $ hg ci -m "Added b" --config devel.default-date="631152000 0" --user "foo" |
705 $ hg ci -m "Added b" --config devel.default-date="631152000 0" --user "foo" --date "631152000 0" |
706 active topic 'topic1990' grew its first changeset |
706 active topic 'topic1990' grew its first changeset |
707 $ hg add c |
707 $ hg add c |
708 $ hg topic topic2010 |
708 $ hg topic topic2010 |
709 $ hg ci -m "Added c" --config devel.default-date="1262304000 0" --user "bar" |
709 $ hg ci -m "Added c" --config devel.default-date="1262304000 0" --user "bar" --date "1262304000 0" |
710 active topic 'topic2010' grew its first changeset |
710 active topic 'topic2010' grew its first changeset |
711 |
711 |
712 $ hg log -G |
712 $ hg log -G |
713 @ changeset: 3:76b16af75125 |
713 @ changeset: 3:76b16af75125 |
714 | tag: tip |
714 | tag: tip |
734 topic1970 (1 changesets) |
734 topic1970 (1 changesets) |
735 topic1990 (1 changesets) |
735 topic1990 (1 changesets) |
736 * topic2010 (1 changesets) |
736 * topic2010 (1 changesets) |
737 |
737 |
738 $ hg topics --age |
738 $ hg topics --age |
739 * topic2010 (2010-01-01 by bar) |
739 topic1970 (* by test) (glob) |
740 topic1990 (1990-01-01 by foo) |
740 * topic2010 (* by bar) (glob) |
741 topic1970 (1970-01-01 by test) |
741 topic1990 (* by foo) (glob) |
742 |
742 |
743 $ hg up topic1970 |
743 $ hg up topic1970 |
744 switching to topic topic1970 |
744 switching to topic topic1970 |
745 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
745 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
746 |
746 |
747 $ hg topics --age |
747 $ hg topics --age |
748 topic2010 (2010-01-01 by bar) |
748 * topic1970 (* by test) (glob) |
749 topic1990 (1990-01-01 by foo) |
749 topic2010 (* by bar) (glob) |
750 * topic1970 (1970-01-01 by test) |
750 topic1990 (* by foo) (glob) |
751 |
751 |
752 $ hg topics --age random |
752 $ hg topics --age random |
753 abort: cannot use --age while setting a topic |
753 abort: cannot use --age while setting a topic |
754 [255] |
754 [255] |
755 $ cd .. |
755 $ cd .. |