diff tests/test-topic-stack.t @ 1995:54d6dff699f0

stack: add some header with the topic name This is the first step of a move to add more data about a stack in the command output.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 26 Aug 2016 14:14:04 +0200
parents ba79d23594d6
children 5c40dd2cf131
line wrap: on
line diff
--- a/tests/test-topic-stack.t	Fri Aug 26 14:58:18 2016 +0200
+++ b/tests/test-topic-stack.t	Fri Aug 26 14:14:04 2016 +0200
@@ -53,6 +53,7 @@
   switching to topic other
   0 files updated, 0 files merged, 4 files removed, 0 files unresolved
   $ hg topic --list
+  ### topic: other
   t2@ c_b (current)
   t1: c_a
   $ hg phase --public 'topic("other")'
@@ -68,6 +69,7 @@
   $ hg topic
    * foo
   $ hg stack
+  ### topic: foo
   t4@ c_f (current)
   t3: c_e
   t2: c_d
@@ -124,6 +126,7 @@
   o  0 default {} public c_a
   
   $ hg topic --list
+  ### topic: foo
   t4$ c_f (unstable)
   t3$ c_e (unstable)
   t2@ c_d (current)
@@ -192,6 +195,7 @@
 Test output
 
   $ hg top -l
+  ### topic: foo
   t6: c_f
   t5: c_e
   t2^ c_d (base)
@@ -234,6 +238,7 @@
   
 
   $ hg topic --list
+  ### topic: foo
   t6$ c_f (unstable)
   t5$ c_e (unstable)
   t2^ c_D (base)