tests/test-command-template.t
branchstable
changeset 24886 10a13da8840d
parent 24853 6518880de1b3
child 24903 09124cce913f
equal deleted inserted replaced
24885:eea3977e6fca 24886:10a13da8840d
  2618   [255]
  2618   [255]
  2619 
  2619 
  2620   $ hg log -Gv -R a --template "{word('0', desc, 'o', 'h', 'b', 'o', 'y')}"
  2620   $ hg log -Gv -R a --template "{word('0', desc, 'o', 'h', 'b', 'o', 'y')}"
  2621   hg: parse error: word expects two or three arguments, got 7
  2621   hg: parse error: word expects two or three arguments, got 7
  2622   [255]
  2622   [255]
       
  2623 
       
  2624 Test word for invalid numbers
       
  2625 
       
  2626   $ hg log -Gv -R a --template "{word(2, desc)}"
       
  2627   hg: parse error: Use strings like '3' for numbers passed to word function
       
  2628   [255]