tests/test-uncommit.t
changeset 2788 554c069cdc85
parent 2776 4dd84054ebbb
child 2802 41c9a4df628e
child 2835 20c2499ce8bc
--- a/tests/test-uncommit.t	Sun Jul 23 21:20:46 2017 +0200
+++ b/tests/test-uncommit.t	Mon Jul 24 01:45:17 2017 +0200
@@ -13,7 +13,8 @@
 Cannot uncommit null changeset
 
   $ hg uncommit
-  abort: cannot rewrite immutable changeset
+  abort: cannot uncommit the null revision
+  (no changeset checked out)
   [255]
 
 Cannot uncommit public changeset
@@ -22,7 +23,8 @@
   $ hg ci -Am adda a
   $ hg phase --public .
   $ hg uncommit
-  abort: cannot rewrite immutable changeset
+  abort: cannot uncommit public changesets: 07f494440405
+  (see 'hg help phases' for details)
   [255]
   $ hg phase --force --draft .