diff tests/test-revset.t @ 21893:e967c3b08705

revset: replace _missingancestors optimization with only revset (::a - ::b) is equivalent to only(a, b).
author Siddharth Agarwal <sid0@fb.com>
date Sat, 12 Jul 2014 00:31:36 -0700
parents dd716807fd23
children 7142e04b438e
line wrap: on
line diff
--- a/tests/test-revset.t	Sat Jun 28 01:42:39 2014 +0200
+++ b/tests/test-revset.t	Sat Jul 12 00:31:36 2014 -0700
@@ -562,7 +562,7 @@
   5
   8
 
-check that conversion to _missingancestors works
+check that conversion to only works
   $ try --optimize '::3 - ::1'
   (minus
     (dagrangepre
@@ -571,7 +571,7 @@
       ('symbol', '1')))
   * optimized:
   (func
-    ('symbol', '_missingancestors')
+    ('symbol', 'only')
     (list
       ('symbol', '3')
       ('symbol', '1')))
@@ -586,7 +586,7 @@
       ('symbol', '3')))
   * optimized:
   (func
-    ('symbol', '_missingancestors')
+    ('symbol', 'only')
     (list
       ('symbol', '1')
       ('symbol', '3')))
@@ -599,7 +599,7 @@
       ('symbol', '6')))
   * optimized:
   (func
-    ('symbol', '_missingancestors')
+    ('symbol', 'only')
     (list
       ('symbol', '6')
       ('symbol', '2')))
@@ -618,7 +618,7 @@
         ('symbol', '4'))))
   * optimized:
   (func
-    ('symbol', '_missingancestors')
+    ('symbol', 'only')
     (list
       ('symbol', '6')
       ('symbol', '4')))