( )⚙ D4999 absorb: prompt user to accept absorb changes by default

This is an archive of the discontinued Mercurial Phabricator instance.

absorb: prompt user to accept absorb changes by default
ClosedPublic

Authored by mbthomas on Oct 12 2018, 11:52 AM.

Details

Summary

Change the default absorb behaviour to print the changes out and then prompt
the user if they want to absorb the changes or not.

Providing the -p option still prints the result and exits. A new -a option
is provided which applies the changes without printing them, giving the
equivalent of the old behaviour.

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

mbthomas created this revision.Oct 12 2018, 11:52 AM
indygreg accepted this revision.Oct 12 2018, 1:39 PM
indygreg added a subscriber: indygreg.

Niiice.

This revision is now accepted and ready to land.Oct 12 2018, 1:39 PM
indygreg requested changes to this revision.Oct 12 2018, 1:42 PM

This one failed to apply for some reason. Please resubmit.

This revision now requires changes to proceed.Oct 12 2018, 1:42 PM
mbthomas updated this revision to Diff 11940.Oct 12 2018, 1:54 PM

Rebase and fix conflicts

This revision was automatically updated to reflect the committed changes.