--- a/tests/test-stack-branch.t Sat Sep 09 22:32:50 2017 +0530
+++ b/tests/test-stack-branch.t Thu Sep 07 19:18:05 2017 +0200
@@ -261,6 +261,26 @@
Check that stack doesn't show draft changesets on a branch
----------------------------------------------------------
+ $ hg log --graph
+ o 15 foo {} draft c_h
+ |
+ o 14 foo {} draft c_g
+ |
+ @ 13 foo {} draft c_D
+ |
+ | o 9 foo {} draft c_f
+ | |
+ | o 8 foo {} draft c_e
+ | |
+ | x 7 foo {} draft c_d
+ |/
+ o 2 foo {} draft c_c
+ |
+ o 1 other {} public c_b
+ |
+ o 0 other {} public c_a
+
+
$ hg stack
### branch: foo (2 heads)
b6$ c_f (unstable)