tests/test-topic-stack-data.t
changeset 1994 10d10563e2a8
parent 1993 c8749ae18cd9
child 1995 54d6dff699f0
--- a/tests/test-topic-stack-data.t	Fri Aug 26 14:58:49 2016 +0200
+++ b/tests/test-topic-stack-data.t	Fri Aug 26 14:58:18 2016 +0200
@@ -235,3 +235,28 @@
     "troubledcount": 2
    }
   ]
+
+Also test this situation with 'hg stack'
+=======================================
+
+  $ hg stack bar
+  t5: add bar_c
+  t2^ add bar_b (base)
+  t4$ add bar_e (unstable)
+  t3: bar1_d
+  t2: add bar_b
+  t1: add bar_a
+    ^ add base_e
+  $ hg stack baz
+  t2: add baz_b
+  t1: add baz_a
+    ^ add base_c
+  $ hg stack foo
+  t2@ add foo_b (current)
+  t1: add foo_a
+    ^ add lake_a
+  $ hg stack fuz
+  t3$ add fuz_c (unstable)
+  t2$ add fuz_b (unstable)
+  t1: fuz1_a
+    ^ add base_d