comparison tests/test-topic.t @ 2935:6f7f8c6fcfb0

topics: add tests for cases when a topic is empty
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 01 Sep 2017 15:09:59 +0530
parents 06844693bb21
children 3a9303b7b648
comparison
equal deleted inserted replaced
2934:e16981ccfca9 2935:6f7f8c6fcfb0
132 $ hg revert alpha 132 $ hg revert alpha
133 $ hg topic 133 $ hg topic
134 * topicflag 134 * topicflag
135 135
136 Make a topic 136 Make a topic
137
137 $ hg topic narf 138 $ hg topic narf
138 $ hg topics 139 $ hg topics
139 * narf 140 * narf
141 $ hg topics -v
142 * narf (on branch: , 0 changesets)
143 $ hg stack
144 ### topic: narf
145 ### branch:
146
147 Add commits to topic
148
140 $ echo topic work >> alpha 149 $ echo topic work >> alpha
141 $ hg ci -m 'start on narf' 150 $ hg ci -m 'start on narf'
142 $ hg co .^ 151 $ hg co .^
143 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 152 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
144 $ hg topic fran 153 $ hg topic fran