diff tests/test-split.t @ 45876:568c05d8f3d2

errors: raise InputError in `hg split` Differential Revision: https://phab.mercurial-scm.org/D9338
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 17 Nov 2020 15:51:09 -0800
parents 8357e0e81bb7
children ac362d5a7893
line wrap: on
line diff
--- a/tests/test-split.t	Tue Nov 17 15:42:42 2020 -0800
+++ b/tests/test-split.t	Tue Nov 17 15:51:09 2020 -0800
@@ -51,7 +51,7 @@
   $ hg commit -m empty --config ui.allowemptycommit=1
   $ hg split
   abort: cannot split an empty revision
-  [255]
+  [10]
 
   $ rm -rf .hg
   $ hg init
@@ -60,7 +60,7 @@
 
   $ hg split -r 'wdir()'
   abort: cannot split working directory
-  [255]
+  [10]
 
 Generate some content.  The sed filter drop CR on Windows, which is dropped in
 the a > b line.
@@ -103,7 +103,7 @@
 
   $ hg split 'all()'
   abort: cannot split multiple revisions
-  [255]
+  [10]
 
 This function splits a bit strangely primarily to avoid changing the behavior of
 the test after a bug was fixed with how split/commit --interactive handled