tests/test-command-template.t
changeset 26127 7012be5ab5bd
parent 26106 c568c4db036f
child 26128 51f6940d3b4f
equal deleted inserted replaced
26126:7b625baed995 26127:7012be5ab5bd
  2493 
  2493 
  2494   $ hg log -l 3 --template 'line: {date|escape}\n'
  2494   $ hg log -l 3 --template 'line: {date|escape}\n'
  2495   abort: template filter 'escape' is not compatible with keyword 'date'
  2495   abort: template filter 'escape' is not compatible with keyword 'date'
  2496   [255]
  2496   [255]
  2497 
  2497 
       
  2498   $ hg log -l 3 --template 'line: {extras|localdate}\n'
       
  2499   hg: parse error: localdate expects a date information
       
  2500   [255]
       
  2501 
  2498 Behind the scenes, this will throw ValueError
  2502 Behind the scenes, this will throw ValueError
  2499 
  2503 
  2500   $ hg tip --template '{author|email|date}\n'
  2504   $ hg tip --template '{author|email|date}\n'
  2501   hg: parse error: date expects a date information
  2505   hg: parse error: date expects a date information
  2502   [255]
  2506   [255]