comparison tests/test-stack-branch.t @ 2682:a6e3c2fcb1d7

topic: don't abort if there is no current topic in stack() revset Named branches support has been added and we should not abort if there is no active topic.
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 29 Jun 2017 02:21:09 +0530
parents f5d52fa1cd55
children 90e11985d0cc
comparison
equal deleted inserted replaced
2681:aa4db71a6224 2682:a6e3c2fcb1d7
137 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 137 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
138 138
139 Also test the revset: 139 Also test the revset:
140 140
141 $ hg log -r 'stack()' 141 $ hg log -r 'stack()'
142 abort: no active topic to list 142 2 foo {} draft c_c
143 [255] 143 7 foo {} draft c_d
144 4 foo {} draft c_e
145 5 foo {} draft c_f
144 146
145 Case with multiple heads on the topic 147 Case with multiple heads on the topic
146 ------------------------------------- 148 -------------------------------------
147 149
148 Make things linear again 150 Make things linear again