tests/test-command-template.t
branchstable
changeset 20857 6eb55310fcbc
parent 20663 5ab28a2e9962
child 20860 81d6dc8c3c63
equal deleted inserted replaced
20826:dd2e25e49862 20857:6eb55310fcbc
  1414 
  1414 
  1415   $ hg tip --template '{author|email|date}\n'
  1415   $ hg tip --template '{author|email|date}\n'
  1416   abort: template filter 'datefilter' is not compatible with keyword 'author'
  1416   abort: template filter 'datefilter' is not compatible with keyword 'author'
  1417   [255]
  1417   [255]
  1418 
  1418 
       
  1419 Thrown an error if a template function doesn't exist
       
  1420 
       
  1421   $ hg tip --template '{foo()}\n'
       
  1422   hg: parse error: unknown function 'foo'
       
  1423   [255]
       
  1424 
  1419   $ cd ..
  1425   $ cd ..
  1420 
  1426 
  1421 
  1427 
  1422 latesttag:
  1428 latesttag:
  1423 
  1429