--- 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 .