Page MenuHomePhabricator

unamend: error out when running on merge commit

Authored by martinvonz on Jan 25 2022, 12:17 AM.



It's better to error out than to produce a bad commit. We do that same
in hg uncommit. I haven't looked into how much work it is to make
them work instead.

Diff Detail

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

Event Timeline

martinvonz created this revision.Jan 25 2022, 12:17 AM
Alphare accepted this revision.Jan 25 2022, 4:49 AM
Alphare added a subscriber: Alphare.

Agreed that this is strictly better. I'll queue both for stable

This revision is now accepted and ready to land.Jan 25 2022, 4:49 AM
This revision was automatically updated to reflect the committed changes.