diff tests/test-histedit-obsolete.t @ 25411:d298805fb639

phases: rewrite "immutable changeset" to "public changeset" The phrase "cannot edit immutable changeset" is kind of tautological. Of course unchangeable things can't be changed. We instead mention "public" and provide a hint so that we can point to the actual problem. Even in cases where some operation other than edition cannot be performed, "public" gives the root cause that results in the "immutable" effect. There is a precedent for saying "public" instead of "immutable", for example, in `hg commit --amend`.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Mon, 01 Jun 2015 18:05:38 +0000
parents 3133e246c912
children 443d4635e630
line wrap: on
line diff
--- a/tests/test-histedit-obsolete.t	Tue Jun 02 15:04:39 2015 -0400
+++ b/tests/test-histedit-obsolete.t	Mon Jun 01 18:05:38 2015 +0000
@@ -219,7 +219,7 @@
   o  0:cb9a9f314b8b (public) a
   
   $ hg histedit -r '.~2'
-  abort: cannot edit immutable changeset: cb9a9f314b8b
+  abort: cannot edit public changeset: cb9a9f314b8b
   [255]