changeset 2920:ef4832faaf09

test: issue a clarifying graph print in tests/test-stack-branch.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 07 Sep 2017 19:18:05 +0200
parents 5b514ab2ab4e
children 23c9600607e7
files tests/test-stack-branch.t
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)