diff tests/test-split.t @ 43935:2349a60f33db

split: use rewriteutil.precheck() instead of reimplementing it As you can see from the patch, I disagree with most of the comment saying that `rewriteutil.precheck()` is not worthwhile. Differential Revision: https://phab.mercurial-scm.org/D7686
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 17 Dec 2019 11:09:22 -0800
parents 3cf091843b4f
children f90a5c211251
line wrap: on
line diff
--- a/tests/test-split.t	Wed Dec 18 09:18:02 2019 +0300
+++ b/tests/test-split.t	Tue Dec 17 11:09:22 2019 -0800
@@ -77,7 +77,7 @@
 
   $ hg phase --public -r 'all()'
   $ hg split .
-  abort: cannot split public changeset
+  abort: cannot split public changesets
   (see 'hg help phases' for details)
   [255]
 
@@ -466,7 +466,7 @@
   $ cd $TESTTMP/d
 #if obsstore-off
   $ runsplit -r 1 --no-rebase
-  abort: cannot split changeset with children without rebase
+  abort: cannot split changeset with children
   [255]
 #else
   $ runsplit -r 1 --no-rebase >/dev/null
@@ -517,7 +517,7 @@
   $ eval `hg tags -T '{tag}={node}\n'`
   $ rm .hg/localtags
   $ hg split $B --config experimental.evolution=createmarkers
-  abort: split would leave orphaned changesets behind
+  abort: cannot split changeset with children
   [255]
   $ cat > $TESTTMP/messages <<EOF
   > Split B