diff tests/test-glog-topological.t @ 23568:740ae54573a3

groupbranchiter: allow callers to select the first branch Instead of just bootstrapping the algorithm with the first revision we see, allow callers to pass revs that should be displayed first. All branches are retained until we can display such revision. Expected usage is to display the current working copy parent first.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 04 Sep 2014 19:28:17 +0200
parents 1f080c9c6a35
children 3ecbcffdeb0c
line wrap: on
line diff
--- a/tests/test-glog-topological.t	Thu Sep 04 19:05:36 2014 +0200
+++ b/tests/test-glog-topological.t	Thu Sep 04 19:28:17 2014 +0200
@@ -78,3 +78,24 @@
   o  0
   
 
+(begin) from the other branch
+
+  $ hg --config experimental.graph-topological=1 --config experimental.graph-topological.firstbranch=5 log -G
+  o  7
+  |
+  o  6
+  |
+  o  5
+  |
+  o  4
+  |
+  | o  8
+  | |
+  | o  3
+  | |
+  | o  2
+  | |
+  | o  1
+  |/
+  o  0
+