diff tests/test-strip.t @ 42491:1474f5d84662

strip: use bailifchanged() instead of reimplementing it This also means that we get the standard error messages (see changed test cases). Differential Revision: https://phab.mercurial-scm.org/D6535
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 17 Jun 2019 10:19:41 -0700
parents 1acaa9f37377
children 12243f15d53e
line wrap: on
line diff
--- a/tests/test-strip.t	Mon Jun 17 10:40:24 2019 -0700
+++ b/tests/test-strip.t	Mon Jun 17 10:19:41 2019 -0700
@@ -551,7 +551,7 @@
 
   $ echo c > b
   $ hg strip tip
-  abort: local changes found
+  abort: uncommitted changes
   [255]
   $ hg strip tip --keep
   saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob)
@@ -703,7 +703,7 @@
   $ echo a > a
   $ hg add a
   $ hg strip -B B
-  abort: local changes found
+  abort: uncommitted changes
   [255]
   $ hg bookmarks
    * B                         6:ff43616e5d0f