tests/test-revset.t
branchstable
changeset 25094 8b99e9a8db05
parent 24904 b5c227f3e461
child 25102 bb2f543b48b5
child 25265 e16456831516
equal deleted inserted replaced
25070:bd98d073a34f 25094:8b99e9a8db05
   528   9
   528   9
   529   $ log '(7 + 9)%(5 + 2)'
   529   $ log '(7 + 9)%(5 + 2)'
   530   4
   530   4
   531   6
   531   6
   532   7
   532   7
       
   533   8
       
   534   9
       
   535 
       
   536 Test opreand of '%' is optimized recursively (issue4670)
       
   537 
       
   538   $ try --optimize '8:9-8%'
       
   539   (onlypost
       
   540     (minus
       
   541       (range
       
   542         ('symbol', '8')
       
   543         ('symbol', '9'))
       
   544       ('symbol', '8')))
       
   545   * optimized:
       
   546   (func
       
   547     ('symbol', 'only')
       
   548     (and
       
   549       (range
       
   550         ('symbol', '8')
       
   551         ('symbol', '9'))
       
   552       (not
       
   553         ('symbol', '8'))))
       
   554   * set:
       
   555   <baseset+ [8, 9]>
   533   8
   556   8
   534   9
   557   9
   535 
   558 
   536 Test the order of operations
   559 Test the order of operations
   537 
   560