diff tests/test-dispatch.t @ 48368:8c4881c07f57

errors: use detailed exit code for RepoLookupError Differential Revision: https://phab.mercurial-scm.org/D11829
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 19 Nov 2021 16:16:21 -0800
parents e4acdf5d94a2
children
line wrap: on
line diff
--- a/tests/test-dispatch.t	Fri Nov 19 15:40:56 2021 -0800
+++ b/tests/test-dispatch.t	Fri Nov 19 16:16:21 2021 -0800
@@ -127,20 +127,20 @@
 #if no-chg
   $ HGPLAIN=+strictflags hg log -b --config='hooks.pre-log=false' default
   abort: unknown revision '--config=hooks.pre-log=false'
-  [255]
+  [10]
   $ HGPLAIN=+strictflags hg log -b -R. default
   abort: unknown revision '-R.'
-  [255]
+  [10]
   $ HGPLAIN=+strictflags hg log -b --cwd=. default
   abort: unknown revision '--cwd=.'
-  [255]
+  [10]
 #endif
   $ HGPLAIN=+strictflags hg log -b --debugger default
   abort: unknown revision '--debugger'
-  [255]
+  [10]
   $ HGPLAIN=+strictflags hg log -b --config='alias.log=!echo pwned' default
   abort: unknown revision '--config=alias.log=!echo pwned'
-  [255]
+  [10]
 
   $ HGPLAIN=+strictflags hg log --config='hooks.pre-log=false' -b default
   abort: option --config may not be abbreviated