equal
deleted
inserted
replaced
734 user: test |
734 user: test |
735 date: Thu Jan 01 00:00:00 1970 +0000 |
735 date: Thu Jan 01 00:00:00 1970 +0000 |
736 summary: start on fran |
736 summary: start on fran |
737 |
737 |
738 |
738 |
|
739 Using revsets in topic() |
|
740 $ tlog() { |
|
741 > hg log -T '{rev}: {topic}\n' -r "$1" |
|
742 > } |
|
743 |
|
744 $ tlog 'topic(head())' |
|
745 9: fran |
|
746 $ tlog 'topic(:)' |
|
747 9: fran |
|
748 $ tlog 'topic(all())' |
|
749 9: fran |
|
750 $ tlog 'topic(topic(fran))' |
|
751 9: fran |
|
752 $ tlog 'topic(wdir())' |
|
753 9: fran |
|
754 |
739 Deactivate the topic. |
755 Deactivate the topic. |
740 $ hg topics |
756 $ hg topics |
741 * fran (1 changesets) |
757 * fran (1 changesets) |
742 $ hg topics --clear |
758 $ hg topics --clear |
|
759 $ hg log -r 'topic(wdir())' |
743 $ echo fran? >> beta |
760 $ echo fran? >> beta |
744 $ hg ci -m 'fran?' |
761 $ hg ci -m 'fran?' |
745 created new head |
762 created new head |
746 (consider using topic for lightweight branches. See 'hg help topic') |
763 (consider using topic for lightweight branches. See 'hg help topic') |
747 $ hg log -Gr 'draft()' |
764 $ hg log -Gr 'draft()' |