tests/test-command-template.t
changeset 31886 bdda942f4b9c
parent 31885 d18b624c1c06
child 31887 f7b3677f66cd
equal deleted inserted replaced
31885:d18b624c1c06 31886:bdda942f4b9c
   142       ('symbol', 'foo')
   142       ('symbol', 'foo')
   143       (|
   143       (|
   144         ('symbol', 'bar')
   144         ('symbol', 'bar')
   145         ('symbol', 'baz'))))
   145         ('symbol', 'baz'))))
   146   hg: parse error: can't use a key-value pair in this context
   146   hg: parse error: can't use a key-value pair in this context
       
   147   [255]
       
   148 
       
   149 Call function which takes named arguments by filter syntax:
       
   150 
       
   151   $ hg debugtemplate '{" "|separate}'
       
   152   $ hg debugtemplate '{("not", "an", "argument", "list")|separate}'
       
   153   hg: parse error: unknown method 'list'
   147   [255]
   154   [255]
   148 
   155 
   149 Second branch starting at nullrev:
   156 Second branch starting at nullrev:
   150 
   157 
   151   $ hg update null
   158   $ hg update null