tests/test-command-template.t
changeset 25696 c1cac25ad1a6
parent 25695 ce3d4b858420
child 25736 8854ca3fa675
equal deleted inserted replaced
25695:ce3d4b858420 25696:c1cac25ad1a6
  2878   > EOF
  2878   > EOF
  2879   $ cd latesttag
  2879   $ cd latesttag
  2880   $ hg log -r 2 --style ../escquotetmpl
  2880   $ hg log -r 2 --style ../escquotetmpl
  2881   " \" \" \\" head1
  2881   " \" \" \\" head1
  2882 
  2882 
  2883   $ hg log -r 2 -T esc --config templates.esc='{\"invalid\"}\n'
       
  2884   hg: parse error at 1: syntax error
       
  2885   [255]
       
  2886   $ hg log -r 2 -T esc --config templates.esc='"{\"valid\"}\n"'
  2883   $ hg log -r 2 -T esc --config templates.esc='"{\"valid\"}\n"'
  2887   valid
  2884   valid
  2888   $ hg log -r 2 -T esc --config templates.esc="'"'{\'"'"'valid\'"'"'}\n'"'"
  2885   $ hg log -r 2 -T esc --config templates.esc="'"'{\'"'"'valid\'"'"'}\n'"'"
  2889   valid
  2886   valid
  2890 
  2887