comparison tests/test-topic-tutorial.t @ 3914:96945ea908df stable

branching: merge default into stable The stable branch of Mercurial core now contains Mercurial 4.7 so evolve branch policy requires this merge. The @ bookmark is in the right location, so people doing clone will get to the latest release.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 31 Jul 2018 12:52:06 +0200
parents eb928f5728c4
children f3713d41b85b fbc51e98cf13
comparison
equal deleted inserted replaced
3901:f2b8429db565 3914:96945ea908df
152 > Oil 152 > Oil
153 > EOF 153 > EOF
154 154
155 $ hg commit -m "adding condiments" 155 $ hg commit -m "adding condiments"
156 active topic 'food' grew its first changeset 156 active topic 'food' grew its first changeset
157 (see 'hg help topics' for more information)
157 158
158 $ hg log --graph --rev 'topic("food")' 159 $ hg log --graph --rev 'topic("food")'
159 @ changeset: 1:13900241408b 160 @ changeset: 1:13900241408b
160 | tag: tip 161 | tag: tip
161 ~ topic: food 162 ~ topic: food
599 adding manifests 600 adding manifests
600 adding file changes 601 adding file changes
601 added 2 changesets with 2 changes to 1 files 602 added 2 changesets with 2 changes to 1 files
602 2 new obsolescence markers 603 2 new obsolescence markers
603 active topic 'food' is now empty 604 active topic 'food' is now empty
605 (use 'hg topic --clear' to clear it if needed)
604 606
605 $ hg topics 607 $ hg topics
606 * food (0 changesets) 608 * food (0 changesets)
607 609
608 The topic still exists, and any new commit will be in the topic. But 610 The topic still exists, and any new commit will be in the topic. But
751 $ hg topics tools 753 $ hg topics tools
752 marked working directory as topic: tools 754 marked working directory as topic: tools
753 $ echo hammer >> shopping 755 $ echo hammer >> shopping
754 $ hg commit -m 'Adding hammer' 756 $ hg commit -m 'Adding hammer'
755 active topic 'tools' grew its first changeset 757 active topic 'tools' grew its first changeset
758 (see 'hg help topics' for more information)
756 759
757 $ echo saw >> shopping 760 $ echo saw >> shopping
758 $ hg commit -m 'Adding saw' 761 $ hg commit -m 'Adding saw'
759 762
760 $ echo drill >> shopping 763 $ echo drill >> shopping
770 $ hg topics drinks 773 $ hg topics drinks
771 marked working directory as topic: drinks 774 marked working directory as topic: drinks
772 $ echo 'apple juice' >> shopping 775 $ echo 'apple juice' >> shopping
773 $ hg commit -m 'Adding apple juice' 776 $ hg commit -m 'Adding apple juice'
774 active topic 'drinks' grew its first changeset 777 active topic 'drinks' grew its first changeset
778 (see 'hg help topics' for more information)
775 779
776 $ echo 'orange juice' >> shopping 780 $ echo 'orange juice' >> shopping
777 $ hg commit -m 'Adding orange juice' 781 $ hg commit -m 'Adding orange juice'
778 782
779 We now have two topics: 783 We now have two topics: