Mercurial > public > mercurial-scm > hg
diff tests/test-command-template.t @ 29059:8eba4cdcfd81
parser: shorten prefix of alias parsing errors
These messages seemed to be a bit long. We should try making them fit to
80-col console.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 17 Apr 2016 12:31:06 +0900 |
parents | 77e566fe31ec |
children | df838803c1d4 |
line wrap: on
line diff
--- a/tests/test-command-template.t Sun Apr 17 12:20:57 2016 +0900 +++ b/tests/test-command-template.t Sun Apr 17 12:31:06 2016 +0900 @@ -3768,10 +3768,10 @@ $ hg debugtemplate --config templatealias.bad='x(' -v '{bad}' (template ('symbol', 'bad')) - abort: failed to parse the definition of template alias "bad": at 2: not a prefix: end + abort: bad definition of template alias "bad": at 2: not a prefix: end [255] $ hg log --config templatealias.bad='x(' -T '{bad}' - abort: failed to parse the definition of template alias "bad": at 2: not a prefix: end + abort: bad definition of template alias "bad": at 2: not a prefix: end [255] $ cd ..