diff tests/test-log-linerange.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 8d72e29ad1e0
children 0492002560f3
line wrap: on
line diff
--- a/tests/test-log-linerange.t	Fri Nov 20 14:43:21 2020 -0800
+++ b/tests/test-log-linerange.t	Mon Nov 16 16:00:50 2020 -0800
@@ -1142,7 +1142,7 @@
   $ cd ..
   $ hg log -f -L glob:*a*,1:2
   hg: parse error: line range pattern 'glob:*a*' must match exactly one file
-  [255]
+  [10]
 
 We get an error for removed files.