comparison tests/test-glog-beautifygraph.t @ 45895:fc4fb2f17dd4

errors: use exit code 10 for parse errors Now that `ParseError`s raised while reading the config file has been converted into `ConfigError`s, the remaining parse errors should all be "input errors" (i.e. exit code 10), according to https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan. Differential Revision: https://phab.mercurial-scm.org/D9332
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 16 Nov 2020 16:00:50 -0800
parents 1f7c077e0640
children 95c4cca641f6
comparison
equal deleted inserted replaced
45894:9dc1351d0b5f 45895:fc4fb2f17dd4
1680 <filteredset 1680 <filteredset
1681 <spanset- 0:37>, 1681 <spanset- 0:37>,
1682 <date '2 0 to 4 0'>> 1682 <date '2 0 to 4 0'>>
1683 $ hg log -G -d 'brace ) in a date' 1683 $ hg log -G -d 'brace ) in a date'
1684 hg: parse error: invalid date: 'brace ) in a date' 1684 hg: parse error: invalid date: 'brace ) in a date'
1685 [255] 1685 [10]
1686 $ testlog --prune 31 --prune 32 1686 $ testlog --prune 31 --prune 32
1687 [] 1687 []
1688 (not 1688 (not
1689 (or 1689 (or
1690 (list 1690 (list