tests/test-revset.t
changeset 28423 0d79d91ba7e3
parent 28394 dcb4209bd30d
child 28424 534f968d33e5
equal deleted inserted replaced
28422:e2c6092ad422 28423:0d79d91ba7e3
   167   (minus
   167   (minus
   168     ('symbol', 'b')
   168     ('symbol', 'b')
   169     ('symbol', 'a'))
   169     ('symbol', 'a'))
   170   * set:
   170   * set:
   171   <filteredset
   171   <filteredset
   172     <baseset [1]>>
   172     <baseset [1]>,
       
   173     <not
       
   174       <baseset [0]>>>
   173   1
   175   1
   174   $ try _a_b_c_
   176   $ try _a_b_c_
   175   ('symbol', '_a_b_c_')
   177   ('symbol', '_a_b_c_')
   176   * set:
   178   * set:
   177   <baseset [6]>
   179   <baseset [6]>
   180   (minus
   182   (minus
   181     ('symbol', '_a_b_c_')
   183     ('symbol', '_a_b_c_')
   182     ('symbol', 'a'))
   184     ('symbol', 'a'))
   183   * set:
   185   * set:
   184   <filteredset
   186   <filteredset
   185     <baseset [6]>>
   187     <baseset [6]>,
       
   188     <not
       
   189       <baseset [0]>>>
   186   6
   190   6
   187   $ try .a.b.c.
   191   $ try .a.b.c.
   188   ('symbol', '.a.b.c.')
   192   ('symbol', '.a.b.c.')
   189   * set:
   193   * set:
   190   <baseset [7]>
   194   <baseset [7]>
   193   (minus
   197   (minus
   194     ('symbol', '.a.b.c.')
   198     ('symbol', '.a.b.c.')
   195     ('symbol', 'a'))
   199     ('symbol', 'a'))
   196   * set:
   200   * set:
   197   <filteredset
   201   <filteredset
   198     <baseset [7]>>
   202     <baseset [7]>,
       
   203     <not
       
   204       <baseset [0]>>>
   199   7
   205   7
   200 
   206 
   201 names that should be caught by fallback mechanism
   207 names that should be caught by fallback mechanism
   202 
   208 
   203   $ try -- '-a-b-c-'
   209   $ try -- '-a-b-c-'
   276   (minus
   282   (minus
   277     ('string', '-a-b-c-')
   283     ('string', '-a-b-c-')
   278     ('symbol', 'a'))
   284     ('symbol', 'a'))
   279   * set:
   285   * set:
   280   <filteredset
   286   <filteredset
   281     <baseset [4]>>
   287     <baseset [4]>,
       
   288     <not
       
   289       <baseset [0]>>>
   282   4
   290   4
   283 
   291 
   284   $ log '1 or 2'
   292   $ log '1 or 2'
   285   1
   293   1
   286   2
   294   2