tests/test-command-template.t
changeset 29059 8eba4cdcfd81
parent 28958 77e566fe31ec
child 29085 df838803c1d4
equal deleted inserted replaced
29058:dbed4c4f48ae 29059:8eba4cdcfd81
  3766 Unparsable alias:
  3766 Unparsable alias:
  3767 
  3767 
  3768   $ hg debugtemplate --config templatealias.bad='x(' -v '{bad}'
  3768   $ hg debugtemplate --config templatealias.bad='x(' -v '{bad}'
  3769   (template
  3769   (template
  3770     ('symbol', 'bad'))
  3770     ('symbol', 'bad'))
  3771   abort: failed to parse the definition of template alias "bad": at 2: not a prefix: end
  3771   abort: bad definition of template alias "bad": at 2: not a prefix: end
  3772   [255]
  3772   [255]
  3773   $ hg log --config templatealias.bad='x(' -T '{bad}'
  3773   $ hg log --config templatealias.bad='x(' -T '{bad}'
  3774   abort: failed to parse the definition of template alias "bad": at 2: not a prefix: end
  3774   abort: bad definition of template alias "bad": at 2: not a prefix: end
  3775   [255]
  3775   [255]
  3776 
  3776 
  3777   $ cd ..
  3777   $ cd ..
  3778 
  3778 
  3779 Set up repository for non-ascii encoding tests:
  3779 Set up repository for non-ascii encoding tests: