branch | stable |
changeset 3088 | b3efdd407f30 |
parent 3085 | 3eca2cbdc498 |
child 3100 | ccfcacc5ee7c |
child 3225 | 28fb347a5bf8 |
3077:b76fe277cef2 | 3088:b3efdd407f30 |
---|---|
1 $ . "$TESTDIR/testlib/topic_setup.sh" |
1 $ . "$TESTDIR/testlib/topic_setup.sh" |
2 |
2 |
3 $ hg init pinky --traceback |
3 $ hg init pinky |
4 $ cd pinky |
4 $ cd pinky |
5 $ cat <<EOF >> .hg/hgrc |
5 $ cat <<EOF >> .hg/hgrc |
6 > [phases] |
6 > [phases] |
7 > publish=false |
7 > publish=false |
8 > EOF |
8 > EOF |
130 HG: changed alpha |
130 HG: changed alpha |
131 abort: empty commit message |
131 abort: empty commit message |
132 [255] |
132 [255] |
133 $ hg revert alpha |
133 $ hg revert alpha |
134 $ hg topic |
134 $ hg topic |
135 * topicflag |
135 * topicflag (0 changesets) |
136 |
136 |
137 Make a topic |
137 Make a topic |
138 |
138 |
139 $ hg topic narf |
139 $ hg topic narf |
140 $ hg topics |
140 $ hg topics |
141 * narf |
141 * narf (0 changesets) |
142 $ hg topics -v |
142 $ hg topics -v |
143 * narf (on branch: default, 0 changesets) |
143 * narf (on branch: default, 0 changesets) |
144 $ hg stack |
144 $ hg stack |
145 ### topic: narf |
145 ### topic: narf |
146 ### target: default (branch) |
146 ### target: default (branch) |
147 (stack is empty) |
147 (stack is empty) |
148 t0^ Add file delta (base) |
148 t0^ Add file delta (base current) |
149 |
149 |
150 Add commits to topic |
150 Add commits to topic |
151 |
151 |
152 $ echo topic work >> alpha |
152 $ echo topic work >> alpha |
153 $ hg ci -m 'start on narf' |
153 $ hg ci -m 'start on narf' |
155 $ hg co .^ |
155 $ hg co .^ |
156 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
156 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
157 $ hg topic fran |
157 $ hg topic fran |
158 marked working directory as topic: fran |
158 marked working directory as topic: fran |
159 $ hg topics |
159 $ hg topics |
160 * fran |
160 * fran (0 changesets) |
161 narf |
161 narf (1 changesets) |
162 $ hg topics --current |
162 $ hg topics --current |
163 fran |
163 fran |
164 $ echo >> fran work >> beta |
164 $ echo >> fran work >> beta |
165 $ hg ci -m 'start on fran' |
165 $ hg ci -m 'start on fran' |
166 active topic 'fran' grew its first changeset |
166 active topic 'fran' grew its first changeset |
167 $ hg co narf |
167 $ hg co narf |
168 switching to topic narf |
168 switching to topic narf |
169 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
169 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
170 $ hg topic |
170 $ hg topic |
171 fran |
171 fran (1 changesets) |
172 * narf |
172 * narf (1 changesets) |
173 $ hg log -r . -T '{topics}\n' |
173 $ hg log -r . -T '{topics}\n' |
174 narf |
174 narf |
175 $ echo 'narf!!!' >> alpha |
175 $ echo 'narf!!!' >> alpha |
176 $ hg ci -m 'narf!' |
176 $ hg ci -m 'narf!' |
177 $ hg log -G |
177 $ hg log -G |
371 | date: Thu Jan 01 00:00:00 1970 +0000 |
371 | date: Thu Jan 01 00:00:00 1970 +0000 |
372 | summary: start on narf |
372 | summary: start on narf |
373 | |
373 | |
374 |
374 |
375 $ hg topics |
375 $ hg topics |
376 * query |
376 * query (1 changesets) |
377 $ cd ../pinky |
377 $ cd ../pinky |
378 $ hg co query |
378 $ hg co query |
379 switching to topic query |
379 switching to topic query |
380 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
380 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
381 $ echo answer >> alpha |
381 $ echo answer >> alpha |
390 $ hg resolve -m alpha |
390 $ hg resolve -m alpha |
391 (no more unresolved files) |
391 (no more unresolved files) |
392 $ hg topic narf |
392 $ hg topic narf |
393 $ hg ci -m 'Finish narf' |
393 $ hg ci -m 'Finish narf' |
394 $ hg topics |
394 $ hg topics |
395 fran |
395 fran (1 changesets) |
396 * narf |
396 * narf (2 changesets) |
397 query |
397 query (2 changesets) |
398 $ hg debugnamecomplete # branch:topic here is a buggy side effect |
398 $ hg debugnamecomplete # branch:topic here is a buggy side effect |
399 default |
399 default |
400 default:fran |
400 default:fran |
401 default:narf |
401 default:narf |
402 default:query |
402 default:query |
409 |
409 |
410 POSSIBLE BUG: narf topic stays alive even though we just made all |
410 POSSIBLE BUG: narf topic stays alive even though we just made all |
411 narf commits public: |
411 narf commits public: |
412 |
412 |
413 $ hg topics |
413 $ hg topics |
414 fran |
414 fran (1 changesets) |
415 * narf |
415 * narf (0 changesets) |
416 $ hg log -Gl 6 |
416 $ hg log -Gl 6 |
417 @ changeset: 9:ae074045b7a7 |
417 @ changeset: 9:ae074045b7a7 |
418 |\ tag: tip |
418 |\ tag: tip |
419 | | parent: 8:54c943c1c167 |
419 | | parent: 8:54c943c1c167 |
420 | | parent: 6:7c34953036d6 |
420 | | parent: 6:7c34953036d6 |
452 | summary: start on narf |
452 | summary: start on narf |
453 | |
453 | |
454 |
454 |
455 $ cd ../brain |
455 $ cd ../brain |
456 $ hg topics |
456 $ hg topics |
457 * query |
457 * query (1 changesets) |
458 $ hg pull ../pinky -r narf |
458 $ hg pull ../pinky -r narf |
459 pulling from ../pinky |
459 pulling from ../pinky |
460 abort: unknown revision 'narf'! |
460 abort: unknown revision 'narf'! |
461 [255] |
461 [255] |
462 $ hg pull ../pinky -r default |
462 $ hg pull ../pinky -r default |
464 searching for changes |
464 searching for changes |
465 adding changesets |
465 adding changesets |
466 adding manifests |
466 adding manifests |
467 adding file changes |
467 adding file changes |
468 added 3 changesets with 3 changes to 1 files |
468 added 3 changesets with 3 changes to 1 files |
469 new changesets 7c34953036d6:ae074045b7a7 |
|
469 active topic 'query' is now empty |
470 active topic 'query' is now empty |
470 (run 'hg update' to get a working copy) |
471 (run 'hg update' to get a working copy) |
471 $ hg topics |
472 $ hg topics |
472 * query |
473 * query (0 changesets) |
473 |
474 |
474 We can pull in the draft-phase change and we get the new topic |
475 We can pull in the draft-phase change and we get the new topic |
475 |
476 |
476 $ hg pull ../pinky |
477 $ hg pull ../pinky |
477 pulling from ../pinky |
478 pulling from ../pinky |
478 searching for changes |
479 searching for changes |
479 adding changesets |
480 adding changesets |
480 adding manifests |
481 adding manifests |
481 adding file changes |
482 adding file changes |
482 added 1 changesets with 1 changes to 1 files (+1 heads) |
483 added 1 changesets with 1 changes to 1 files (+1 heads) |
484 new changesets 0469d521db49 |
|
483 (run 'hg heads' to see heads) |
485 (run 'hg heads' to see heads) |
484 $ hg topics |
486 $ hg topics |
485 fran |
487 fran (1 changesets) |
486 * query |
488 * query (0 changesets) |
487 $ hg log -Gr 'draft()' |
489 $ hg log -Gr 'draft()' |
488 o changeset: 9:0469d521db49 |
490 o changeset: 9:0469d521db49 |
489 | tag: tip |
491 | tag: tip |
490 | topic: fran |
492 | topic: fran |
491 | parent: 3:a53952faf762 |
493 | parent: 3:a53952faf762 |
498 disappear: |
500 disappear: |
499 |
501 |
500 $ hg topics --clear |
502 $ hg topics --clear |
501 clearing empty topic "query" |
503 clearing empty topic "query" |
502 $ hg topics |
504 $ hg topics |
503 fran |
505 fran (1 changesets) |
504 |
|
505 --clear when we don't have an active topic isn't an error: |
|
506 |
|
507 $ hg topics --clear |
|
508 |
506 |
509 Topic revset |
507 Topic revset |
510 $ hg log -r 'topic()' -G |
508 $ hg log -r 'topic()' -G |
511 o changeset: 9:0469d521db49 |
509 o changeset: 9:0469d521db49 |
512 | tag: tip |
510 | tag: tip |
589 | summary: start on fran |
587 | summary: start on fran |
590 | |
588 | |
591 |
589 |
592 Match current topic: |
590 Match current topic: |
593 $ hg topic |
591 $ hg topic |
594 fran |
592 fran (1 changesets) |
595 $ hg log -r 'topic(.)' |
593 $ hg log -r 'topic(.)' |
596 (no output is expected) |
594 (no output is expected) |
597 $ hg co fran |
595 $ hg co fran |
598 switching to topic fran |
596 switching to topic fran |
599 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
597 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
607 summary: start on fran |
605 summary: start on fran |
608 |
606 |
609 |
607 |
610 Deactivate the topic. |
608 Deactivate the topic. |
611 $ hg topics |
609 $ hg topics |
612 * fran |
610 * fran (1 changesets) |
613 $ hg topics --clear |
611 $ hg topics --clear |
614 $ echo fran? >> beta |
612 $ echo fran? >> beta |
615 $ hg ci -m 'fran?' |
613 $ hg ci -m 'fran?' |
616 created new head |
614 created new head |
617 $ hg log -Gr 'draft()' |
615 $ hg log -Gr 'draft()' |
626 | parent: 3:a53952faf762 |
624 | parent: 3:a53952faf762 |
627 | user: test |
625 | user: test |
628 | date: Thu Jan 01 00:00:00 1970 +0000 |
626 | date: Thu Jan 01 00:00:00 1970 +0000 |
629 | summary: start on fran |
627 | summary: start on fran |
630 | |
628 | |
631 $ hg topics |
629 |
632 fran |
630 $ hg topics |
633 Changing topic fails if we don't give a topic |
631 fran (1 changesets) |
634 $ hg topic --rev 9 |
|
635 abort: changing topic requires a topic name or --clear |
|
636 [255] |
|
637 |
|
638 Can't change topic of a public change |
|
639 $ hg topic --rev 1:: --clear |
|
640 abort: can't change topic of a public change |
|
641 [255] |
|
642 |
|
643 Can clear topics |
|
644 $ hg topic --rev 9 --clear |
|
645 changed topic on 1 changes |
|
646 $ hg log -Gr 'draft() and not obsolete()' |
|
647 o changeset: 11:0beca5ab56c3 |
|
648 | tag: tip |
|
649 | parent: 3:a53952faf762 |
|
650 | user: test |
|
651 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
652 | summary: start on fran |
|
653 | |
|
654 | @ changeset: 10:4073470c35e1 |
|
655 | | user: test |
|
656 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
657 | | trouble: unstable |
|
658 | | summary: fran? |
|
659 | | |
|
660 |
|
661 Normally you'd do this with evolve, but we'll use rebase to avoid |
|
662 bonus deps in the testsuite. |
|
663 |
|
664 $ hg rebase -d tip -s . |
|
665 rebasing 10:4073470c35e1 "fran?" |
|
666 |
|
667 Can add a topic to an existing change |
|
668 $ hg topic |
|
669 $ hg sum |
|
670 parent: 12:18b70b8de1f0 tip |
|
671 fran? |
|
672 branch: default |
|
673 commit: (clean) |
|
674 update: 5 new changesets, 2 branch heads (merge) |
|
675 phases: 2 draft |
|
676 $ hg topic --rev 11 wat |
|
677 changed topic on 1 changes |
|
678 $ hg log -r . |
|
679 changeset: 12:18b70b8de1f0 |
|
680 user: test |
|
681 date: Thu Jan 01 00:00:00 1970 +0000 |
|
682 trouble: unstable |
|
683 summary: fran? |
|
684 |
|
685 $ hg sum |
|
686 parent: 12:18b70b8de1f0 (unstable) |
|
687 fran? |
|
688 branch: default |
|
689 commit: (clean) |
|
690 update: 5 new changesets, 2 branch heads (merge) |
|
691 phases: 3 draft |
|
692 unstable: 1 changesets |
|
693 $ hg topic |
|
694 wat |
|
695 $ hg log -Gr 'draft() and not obsolete()' |
|
696 o changeset: 13:686a642006db |
|
697 | tag: tip |
|
698 | topic: wat |
|
699 | parent: 3:a53952faf762 |
|
700 | user: test |
|
701 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
702 | summary: start on fran |
|
703 | |
|
704 | @ changeset: 12:18b70b8de1f0 |
|
705 | | user: test |
|
706 | | date: Thu Jan 01 00:00:00 1970 +0000 |
|
707 | | trouble: unstable |
|
708 | | summary: fran? |
|
709 | | |
|
710 |
|
711 Normally you'd do this with evolve, but we'll use rebase to avoid |
|
712 bonus deps in the testsuite. |
|
713 |
|
714 $ hg topic |
|
715 wat |
|
716 $ hg rebase -d tip -s . |
|
717 rebasing 12:18b70b8de1f0 "fran?" |
|
718 switching to topic wat |
|
719 $ hg topic |
|
720 wat |
|
721 |
|
722 $ hg log -Gr 'draft()' |
|
723 @ changeset: 14:45358f7a5892 |
|
724 | tag: tip |
|
725 | user: test |
|
726 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
727 | summary: fran? |
|
728 | |
|
729 o changeset: 13:686a642006db |
|
730 | topic: wat |
|
731 | parent: 3:a53952faf762 |
|
732 | user: test |
|
733 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
734 | summary: start on fran |
|
735 | |
|
736 |
|
737 Amend a topic |
|
738 |
|
739 $ hg topic watwat |
|
740 marked working directory as topic: watwat |
|
741 $ hg ci --amend |
|
742 active topic 'watwat' grew its first changeset |
|
743 $ hg log -Gr 'draft()' |
|
744 @ changeset: 16:6c40a4c21bbe |
|
745 | tag: tip |
|
746 | topic: watwat |
|
747 | parent: 13:686a642006db |
|
748 | user: test |
|
749 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
750 | summary: fran? |
|
751 | |
|
752 o changeset: 13:686a642006db |
|
753 | topic: wat |
|
754 | parent: 3:a53952faf762 |
|
755 | user: test |
|
756 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
757 | summary: start on fran |
|
758 | |
|
759 |
|
760 Clear and amend: |
|
761 |
|
762 $ hg topic --clear |
|
763 $ hg ci --amend |
|
764 $ hg log -r . |
|
765 changeset: 18:0f9cd5070654 |
|
766 tag: tip |
|
767 parent: 13:686a642006db |
|
768 user: test |
|
769 date: Thu Jan 01 00:00:00 1970 +0000 |
|
770 summary: fran? |
|
771 |
|
772 Reading the same topic with topic --rev should work: |
|
773 $ hg topic --rev . watwat |
|
774 switching to topic watwat |
|
775 changed topic on 1 changes |
|
776 |
|
777 Testing issue5441 |
|
778 $ hg co 19 |
|
779 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
780 $ hg log -Gr 'draft()' |
|
781 @ changeset: 19:980a0f608481 |
|
782 | tag: tip |
|
783 | topic: watwat |
|
784 | parent: 13:686a642006db |
|
785 | user: test |
|
786 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
787 | summary: fran? |
|
788 | |
|
789 o changeset: 13:686a642006db |
|
790 | topic: wat |
|
791 | parent: 3:a53952faf762 |
|
792 | user: test |
|
793 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
794 | summary: start on fran |
|
795 | |
|
796 |
|
797 Using the current flag |
|
798 |
|
799 $ hg topic changewat |
|
800 $ hg topics --rev '13::19' --current |
|
801 active topic 'changewat' grew its 2 first changesets |
|
802 changed topic on 2 changes |
|
803 |
|
804 $ hg log -Gr 'draft()' |
|
805 @ changeset: 21:56c83be6105f |
|
806 | tag: tip |
|
807 | topic: changewat |
|
808 | user: test |
|
809 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
810 | summary: fran? |
|
811 | |
|
812 o changeset: 20:ceba5be9d56f |
|
813 | topic: changewat |
|
814 | parent: 3:a53952faf762 |
|
815 | user: test |
|
816 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
817 | summary: start on fran |
|
818 | |
|
819 |
|
820 Case with branching: |
|
821 |
|
822 $ hg up changewat |
|
823 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
824 $ hg up t1 |
|
825 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
826 $ echo gamma >> gamma |
|
827 $ hg ci -m gamma |
|
828 |
|
829 $ hg log -Gr 'draft()' |
|
830 @ changeset: 22:0d3d805542b4 |
|
831 | tag: tip |
|
832 | topic: changewat |
|
833 | parent: 20:ceba5be9d56f |
|
834 | user: test |
|
835 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
836 | summary: gamma |
|
837 | |
|
838 | o changeset: 21:56c83be6105f |
|
839 |/ topic: changewat |
|
840 | user: test |
|
841 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
842 | summary: fran? |
|
843 | |
|
844 o changeset: 20:ceba5be9d56f |
|
845 | topic: changewat |
|
846 | parent: 3:a53952faf762 |
|
847 | user: test |
|
848 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
849 | summary: start on fran |
|
850 | |
|
851 |
|
852 $ hg topics --rev 't1::' changewut |
|
853 switching to topic changewut |
|
854 active topic 'changewat' is now empty |
|
855 changed topic on 3 changes |
|
856 |
|
857 $ hg log -Gr 'draft()' |
|
858 @ changeset: 25:729ed5717393 |
|
859 | tag: tip |
|
860 | topic: changewut |
|
861 | parent: 23:62e49f09f883 |
|
862 | user: test |
|
863 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
864 | summary: gamma |
|
865 | |
|
866 | o changeset: 24:369c6e2e5474 |
|
867 |/ topic: changewut |
|
868 | user: test |
|
869 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
870 | summary: fran? |
|
871 | |
|
872 o changeset: 23:62e49f09f883 |
|
873 | topic: changewut |
|
874 | parent: 3:a53952faf762 |
|
875 | user: test |
|
876 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
877 | summary: start on fran |
|
878 | |
|
879 |
632 |
880 Testing for updating to t0 |
633 Testing for updating to t0 |
881 ========================== |
634 ========================== |
882 |
635 |
636 $ hg up fran |
|
637 switching to topic fran |
|
638 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
883 $ hg stack |
639 $ hg stack |
884 ### topic: changewut (2 heads) |
640 ### topic: fran |
885 ### target: default (branch), 5 behind |
641 ### target: default (branch), ambigious rebase destination - branch 'default' has 2 heads |
886 t3: fran? |
642 t1@ start on fran (current) |
887 t1^ start on fran (base) |
643 t0^ Add file delta (base) |
888 t2@ gamma (current) |
644 |
645 $ hg up t0 |
|
646 preserving the current topic 'fran' |
|
647 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
648 |
|
649 $ hg topic |
|
650 * fran (1 changesets) |
|
651 $ hg stack |
|
652 ### topic: fran |
|
653 ### target: default (branch), ambigious rebase destination - branch 'default' has 2 heads |
|
889 t1: start on fran |
654 t1: start on fran |
890 t0^ Add file delta (base) |
655 t0^ Add file delta (base current) |
891 |
|
892 $ hg up t0 |
|
893 preserving the current topic 'changewut' |
|
894 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
895 |
|
896 $ hg topic |
|
897 * changewut |
|
898 $ hg stack |
|
899 ### topic: changewut (2 heads) |
|
900 ### target: default (branch), 5 behind |
|
901 t3: fran? |
|
902 t1^ start on fran (base) |
|
903 t2: gamma |
|
904 t1: start on fran |
|
905 t0^ Add file delta (base) |
|
906 |
656 |
907 $ hg topics --age |
657 $ hg topics --age |
908 * changewut (1970-01-01 by test) |
658 * fran (1970-01-01 by test) |
909 |
659 |
910 $ cd .. |
660 $ cd .. |
911 |
661 |
912 Testing the new config knob to forbid untopiced commit |
662 Testing the new config knob to forbid untopiced commit |
913 ====================================================== |
663 ====================================================== |
918 > [phases] |
668 > [phases] |
919 > publish=false |
669 > publish=false |
920 > EOF |
670 > EOF |
921 $ cat <<EOF >> $HGRCPATH |
671 $ cat <<EOF >> $HGRCPATH |
922 > [experimental] |
672 > [experimental] |
923 > enforce-topic = yes |
673 > topic-mode = enforce |
924 > EOF |
674 > EOF |
925 $ touch a b c d |
675 $ touch a b c d |
926 $ hg add a |
676 $ hg add a |
927 $ hg ci -m "Added a" |
677 $ hg ci -m "Added a" |
928 abort: no active topic |
678 abort: no active topic |
929 (set a current topic or use '--config experimental.enforce-topic=no' to commit without a topic) |
679 (see 'hg help -e topic.topic-mode' for details) |
930 [255] |
680 [255] |
931 |
681 |
932 (same test, checking we abort before the editor) |
682 (same test, checking we abort before the editor) |
933 |
683 |
934 $ EDITOR=cat hg ci -m "Added a" --edit |
684 $ EDITOR=cat hg ci -m "Added a" --edit |
935 abort: no active topic |
685 abort: no active topic |
936 (set a current topic or use '--config experimental.enforce-topic=no' to commit without a topic) |
686 (see 'hg help -e topic.topic-mode' for details) |
937 [255] |
687 [255] |
938 $ hg ci -m "added a" --config experimental.enforce-topic=no |
688 $ hg ci -m "added a" --config experimental.topic-mode=off |
939 $ hg log |
689 $ hg log |
940 changeset: 0:a154386e50d1 |
690 changeset: 0:a154386e50d1 |
941 tag: tip |
691 tag: tip |
942 user: test |
692 user: test |
943 date: Thu Jan 01 00:00:00 1970 +0000 |
693 date: Thu Jan 01 00:00:00 1970 +0000 |
944 summary: added a |
694 summary: added a |
945 |
695 |
696 |
|
946 Testing the --age flag for `hg topics` |
697 Testing the --age flag for `hg topics` |
947 ====================================== |
698 ====================================== |
948 |
699 |
949 $ hg topic topic1970 --rev 0 |
700 $ hg topic topic1970 --rev 0 |
950 switching to topic topic1970 |
701 switching to topic topic1970 |
979 user: test |
730 user: test |
980 date: Thu Jan 01 00:00:00 1970 +0000 |
731 date: Thu Jan 01 00:00:00 1970 +0000 |
981 summary: added a |
732 summary: added a |
982 |
733 |
983 $ hg topics |
734 $ hg topics |
984 topic1970 |
735 topic1970 (1 changesets) |
985 topic1990 |
736 topic1990 (1 changesets) |
986 * topic2010 |
737 * topic2010 (1 changesets) |
987 |
738 |
988 $ hg topics --age |
739 $ hg topics --age |
989 * topic2010 (2010-01-01 by bar) |
740 * topic2010 (2010-01-01 by bar) |
990 topic1990 (1990-01-01 by foo) |
741 topic1990 (1990-01-01 by foo) |
991 topic1970 (1970-01-01 by test) |
742 topic1970 (1970-01-01 by test) |