comparison tests/test-topic-tutorial.t @ 2988:62201935e1a7

topics/ui: detect and signal when an empty changeset becomes non-empty
author Aurélien Campéas
date Tue, 26 Sep 2017 12:39:11 +0200
parents 4746b92cc1f8
children a61634f52742
comparison
equal deleted inserted replaced
2987:d59d6413bb68 2988:62201935e1a7
149 > Vinegar 149 > Vinegar
150 > Oil 150 > Oil
151 > EOF 151 > EOF
152 152
153 $ hg commit -m "adding condiments" 153 $ hg commit -m "adding condiments"
154 active topic 'food' grew its first changeset
154 155
155 $ hg log --graph --rev 'topic("food")' 156 $ hg log --graph --rev 'topic("food")'
156 @ changeset: 1:13900241408b 157 @ changeset: 1:13900241408b
157 | tag: tip 158 | tag: tip
158 ~ topic: food 159 ~ topic: food
734 735
735 $ hg topics tools 736 $ hg topics tools
736 marked working directory as topic: tools 737 marked working directory as topic: tools
737 $ echo hammer >> shopping 738 $ echo hammer >> shopping
738 $ hg commit -m 'Adding hammer' 739 $ hg commit -m 'Adding hammer'
740 active topic 'tools' grew its first changeset
739 741
740 $ echo saw >> shopping 742 $ echo saw >> shopping
741 $ hg commit -m 'Adding saw' 743 $ hg commit -m 'Adding saw'
742 744
743 $ echo drill >> shopping 745 $ echo drill >> shopping
752 754
753 $ hg topics drinks 755 $ hg topics drinks
754 marked working directory as topic: drinks 756 marked working directory as topic: drinks
755 $ echo 'apple juice' >> shopping 757 $ echo 'apple juice' >> shopping
756 $ hg commit -m 'Adding apple juice' 758 $ hg commit -m 'Adding apple juice'
759 active topic 'drinks' grew its first changeset
757 760
758 $ echo 'orange juice' >> shopping 761 $ echo 'orange juice' >> shopping
759 $ hg commit -m 'Adding orange juice' 762 $ hg commit -m 'Adding orange juice'
760 763
761 We now have two topics: 764 We now have two topics: