HomePhabricator

absorb: prompt user to accept absorb changes by default

Authored by mbthomas.

Description

absorb: prompt user to accept absorb changes by default

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.

Differential Revision: https://phab.mercurial-scm.org/D4999

Details

Committed
mbthomasOct 12 2018, 1:48 PM
Differential Revision
D4999: absorb: prompt user to accept absorb changes by default
Parents
rHG9458dbfa7f33: templatefuncs: add truncate parameter to pad
Branches
Unknown
Tags
Unknown