diff 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
line wrap: on
line diff
--- a/tests/test-stack-branch.t	Thu Jun 29 01:58:26 2017 +0530
+++ b/tests/test-stack-branch.t	Thu Jun 29 02:21:09 2017 +0530
@@ -139,8 +139,10 @@
 Also test the revset:
 
   $ hg log -r 'stack()'
-  abort: no active topic to list
-  [255]
+  2 foo {} draft c_c
+  7 foo {} draft c_d
+  4 foo {} draft c_e
+  5 foo {} draft c_f
 
 Case with multiple heads on the topic
 -------------------------------------