diff tests/test-clone.t @ 45839:ebee234d952a

errors: set detailed exit code to 100 for some remote errors This is per https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan. Differential Revision: https://phab.mercurial-scm.org/D9309
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 22 Oct 2020 13:31:34 -0700
parents 8d72e29ad1e0
children d68618954ade
line wrap: on
line diff
--- a/tests/test-clone.t	Thu Nov 12 21:56:52 2020 -0800
+++ b/tests/test-clone.t	Thu Oct 22 13:31:34 2020 -0700
@@ -618,7 +618,7 @@
 
   $ hg clone http://invalid:url/a b
   abort: error: nonnumeric port: 'url'
-  [255]
+  [100]
 
 No remote source
 
@@ -629,7 +629,7 @@
 #else
   $ hg clone http://$LOCALIP:3121/a b
   abort: error: *refused* (glob)
-  [255]
+  [100]
 #endif
   $ rm -rf b # work around bug with http clone