obsolescence cycle are bad and should be avoided as possible. hg commit --amend make it easy to create cycle. Very similar to Bug 3664
Fixed by http://selenic.com/repo/hg/rev/358c23e8f1c6 Pierre-Yves David <pierre-yves.david@logilab.fr> histedit: record histedit source (issue3681) Have histedit record the hex of the original changeset as already done by: - graft - commit --amend - rebase My main motivation for adding this is to prevent the creation of obsolescence cycle (see issue3681). Note that commit created during edit are not affected yet. (please test the fix)
Fixed by http://selenic.com/repo/hg/rev/35513c59f376 Pierre-Yves David <pierre-yves.david@logilab.fr> histedit: proper phase conservation (issue3724) Before this changeset, histedit created all new changesets according phases.new-commit option without any regards for the phases of the original changesets. This changeset fix that using the phase of rewritten changeset to decide the phase of the resulting changeset. In case of reordering or folding, we keep secret item secret as it seems the safer path. temporary commit creation are not affected. They are head only and stripped at the end of the histedit. As for the resolution of issue3681 (obsolescence cycle prevention), we do not handle changesets created by edit command. (please test the fix)