diff tests/test-clone.t @ 45847:d68618954ade

errors: use InputError for some errors on `hg clone` Differential Revision: https://phab.mercurial-scm.org/D9329
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 12 Nov 2020 15:28:06 -0800
parents ebee234d952a
children 95c4cca641f6
line wrap: on
line diff
--- a/tests/test-clone.t	Thu Nov 12 13:22:40 2020 -0800
+++ b/tests/test-clone.t	Thu Nov 12 15:28:06 2020 -0800
@@ -73,7 +73,7 @@
 
   $ hg clone . ''
   abort: empty destination path is not valid
-  [255]
+  [10]
 
 No update, with debug option:
 
@@ -189,7 +189,7 @@
 
   $ hg clone --pull a ''
   abort: empty destination path is not valid
-  [255]
+  [10]
 
 Clone to '.':
 
@@ -676,7 +676,7 @@
   $ hg clone q
   destination directory: q
   abort: destination 'q' is not empty
-  [255]
+  [10]
 
 destination directory not empty
 
@@ -684,7 +684,7 @@
   $ echo stuff > a/a
   $ hg clone q a
   abort: destination 'a' is not empty
-  [255]
+  [10]
 
 
 #if unix-permissions no-root