tests/test-revset.t
changeset 29441 9e8d258708bb
parent 29408 785cadec2091
child 29766 5004ef47f437
child 29768 8e4841944e68
equal deleted inserted replaced
29440:009cc6c89d0f 29441:9e8d258708bb
   432   4
   432   4
   433   $ log 'date(2005) and 1::'
   433   $ log 'date(2005) and 1::'
   434   4
   434   4
   435   $ hg book -d date
   435   $ hg book -d date
   436 
   436 
       
   437 function name should be a symbol
       
   438 
       
   439   $ log '"date"(2005)'
       
   440   hg: parse error: not a symbol
       
   441   [255]
       
   442 
   437 keyword arguments
   443 keyword arguments
   438 
   444 
   439   $ log 'extra(branch, value=a)'
   445   $ log 'extra(branch, value=a)'
   440   0
   446   0
   441 
   447 
  2031       ('symbol', 'ancestors')
  2037       ('symbol', 'ancestors')
  2032       ('symbol', '1')))
  2038       ('symbol', '1')))
  2033   hg: parse error: missing argument
  2039   hg: parse error: missing argument
  2034   [255]
  2040   [255]
  2035 
  2041 
       
  2042 invalid function call should not be optimized to only()
       
  2043 
       
  2044   $ log '"ancestors"(6) and not ancestors(4)'
       
  2045   hg: parse error: not a symbol
       
  2046   [255]
       
  2047 
       
  2048   $ log 'ancestors(6) and not "ancestors"(4)'
       
  2049   hg: parse error: not a symbol
       
  2050   [255]
       
  2051 
  2036 we can use patterns when searching for tags
  2052 we can use patterns when searching for tags
  2037 
  2053 
  2038   $ log 'tag("1..*")'
  2054   $ log 'tag("1..*")'
  2039   abort: tag '1..*' does not exist!
  2055   abort: tag '1..*' does not exist!
  2040   [255]
  2056   [255]