diff tests/test-fold.t @ 2880:d17d193c4145

precheck: update the orphan message to something me generic This will help to reuse it for other commands.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 23 Jul 2017 19:45:28 +0200
parents 3e9c3119410a
children b5a48e4aeec6
line wrap: on
line diff
--- a/tests/test-fold.t
+++ b/tests/test-fold.t
@@ -163,11 +163,11 @@
   > evolution = createmarkers, allnewcommands
   > EOF
   $ hg fold --from 'desc("r4")'
-  abort: cannot fold chain not ending with a head or with branching
+  abort: fold will orphan 1 descendants
   (see 'hg help evolution.instability')
   [255]
   $ hg fold --from 'desc("r3")::desc("r11")'
-  abort: cannot fold chain not ending with a head or with branching
+  abort: fold will orphan 1 descendants
   (see 'hg help evolution.instability')
   [255]