test: issue a clarifying graph print in tests/test-stack-branch.t
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 07 Sep 2017 19:18:05 +0200
changeset 2920 ef4832faaf09
parent 2919 5b514ab2ab4e
child 2921 23c9600607e7
test: issue a clarifying graph print in tests/test-stack-branch.t
tests/test-stack-branch.t
--- 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)