tests/test-command-template.t
changeset 28958 77e566fe31ec
parent 28957 d813132ea361
child 29059 8eba4cdcfd81
equal deleted inserted replaced
28957:d813132ea361 28958:77e566fe31ec
  3754 
  3754 
  3755   $ hg branches -T '{pad(branch, 7)} {rn}\n'
  3755   $ hg branches -T '{pad(branch, 7)} {rn}\n'
  3756   default 6:d41e714fe50d
  3756   default 6:d41e714fe50d
  3757   foo     4:bbe44766e73d
  3757   foo     4:bbe44766e73d
  3758 
  3758 
       
  3759 Aliases should honor HGPLAIN:
       
  3760 
       
  3761   $ HGPLAIN= hg log -r0 -T 'nothing expanded:{rn}\n'
       
  3762   nothing expanded:
       
  3763   $ HGPLAINEXCEPT=templatealias hg log -r0 -T '{rn}\n'
       
  3764   0:1e4e1b8f71e0
       
  3765 
  3759 Unparsable alias:
  3766 Unparsable alias:
  3760 
  3767 
  3761   $ hg debugtemplate --config templatealias.bad='x(' -v '{bad}'
  3768   $ hg debugtemplate --config templatealias.bad='x(' -v '{bad}'
  3762   (template
  3769   (template
  3763     ('symbol', 'bad'))
  3770     ('symbol', 'bad'))