tests/test-revset.t
branchstable
changeset 25995 4f703dcc626f
parent 25819 be29d26e2949
child 25996 b12e00a05d57
equal deleted inserted replaced
25925:23c4589fc678 25995:4f703dcc626f
  1228   <baseset+ [3, 5, 6]>
  1228   <baseset+ [3, 5, 6]>
  1229   3
  1229   3
  1230   5
  1230   5
  1231   6
  1231   6
  1232 
  1232 
       
  1233 no crash by empty group "()" while optimizing to "only()"
       
  1234 
       
  1235   $ try --optimize '::1 and ()'
       
  1236   (and
       
  1237     (dagrangepre
       
  1238       ('symbol', '1'))
       
  1239     (group
       
  1240       None))
       
  1241   * optimized:
       
  1242   (and
       
  1243     None
       
  1244     (func
       
  1245       ('symbol', 'ancestors')
       
  1246       ('symbol', '1')))
       
  1247   hg: parse error: missing argument
       
  1248   [255]
       
  1249 
  1233 we can use patterns when searching for tags
  1250 we can use patterns when searching for tags
  1234 
  1251 
  1235   $ log 'tag("1..*")'
  1252   $ log 'tag("1..*")'
  1236   abort: tag '1..*' does not exist!
  1253   abort: tag '1..*' does not exist!
  1237   [255]
  1254   [255]