diff tests/test-glog-topological.t @ 30003:46825334f270

graphlog: preserve topo sort even if additional filter options specified Use ordered=revset.followorder instead. This change is logically the same as fa5e4f58dfbc.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 22 Sep 2016 20:53:53 +0900
parents 2188f170f5b6
children eb586ed5d8ce
line wrap: on
line diff
--- a/tests/test-glog-topological.t	Thu Sep 22 21:52:00 2016 +0900
+++ b/tests/test-glog-topological.t	Thu Sep 22 20:53:53 2016 +0900
@@ -60,6 +60,20 @@
   o  0
   
 
+(display nodes filtered by log options)
+
+  $ hg log -G -r 'sort(all(), topo)' -k '.3'
+  o  8
+  |
+  o  3
+  |
+  ~
+  o  7
+  |
+  o  6
+  |
+  ~
+
 (revset skipping nodes)
 
   $ hg log -G --rev 'sort(not (2+6), topo)'