Page MenuHomePhabricator

absorb: be more specific when erroring out on merge commit
ClosedPublic

Authored by martinvonz on May 9 2019, 12:25 AM.

Details

Summary

When you have a merge commit checked out and run hg absorb, it would
tell you

abort: no mutable changeset to change

That makes it sound like the problem is public commits when isn't
really. Let's be more specific in this case.

There was already a test case that test this, so that now prints the
new message. I added a new test case that shows the old message (when
a public commit is checked out).

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.May 9 2019, 12:25 AM
pulkit accepted this revision.May 9 2019, 5:25 AM
This revision was automatically updated to reflect the committed changes.