diff tests/test-revset.t @ 25819:be29d26e2949

revset: parse nullary ":" operator as "0:tip" This is necessary for compatibility with the old-style parser that will be removed by future patches.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 05 Jul 2015 12:15:54 +0900
parents d51dac68ec98
children 0203c50a589f 4f703dcc626f
line wrap: on
line diff
--- a/tests/test-revset.t	Mon Jul 06 22:01:41 2015 +0900
+++ b/tests/test-revset.t	Sun Jul 05 12:15:54 2015 +0900
@@ -117,6 +117,25 @@
   <spanset+ 0:1>
   0
   1
+  $ try --optimize :
+  (rangeall
+    None)
+  * optimized:
+  (range
+    ('string', '0')
+    ('string', 'tip'))
+  * set:
+  <spanset+ 0:9>
+  0
+  1
+  2
+  3
+  4
+  5
+  6
+  7
+  8
+  9
   $ try 3::6
   (dagrange
     ('symbol', '3')