Mercurial > public > mercurial-scm > hg-stable
diff tests/test-rebase-interruptions.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 | 4f18e80d9c30 |
children | ef1eb6df7071 |
line wrap: on
line diff
--- a/tests/test-rebase-interruptions.t Tue Jun 02 15:04:39 2015 -0400 +++ b/tests/test-rebase-interruptions.t Mon Jun 01 18:05:38 2015 +0000 @@ -258,7 +258,7 @@ Abort the rebasing: $ hg rebase --abort - warning: can't clean up immutable changesets 45396c49d53b + warning: can't clean up public changesets 45396c49d53b rebase aborted $ hg tglogp