Mercurial > hg-stable
changeset 42564:44e99811bea7
tweakdefaults: make hg resolve require --re-merge flag to re-merge
Pulkit suggested it in https://phab.mercurial-scm.org/D4379, and a
discussion with Octobus people reminded me that people still use the
error-prone default behavior of `hg resolve`.
Differential Revision: https://phab.mercurial-scm.org/D6610
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Sat, 06 Jul 2019 19:55:29 -0400 |
parents | 70f1a84d0794 |
children | 4764e8436b2a |
files | mercurial/ui.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/ui.py Thu Jul 04 21:29:28 2019 +0530 +++ b/mercurial/ui.py Sat Jul 06 19:55:29 2019 -0400 @@ -68,6 +68,8 @@ update.check = noconflict # Show conflicts information in `hg status` status.verbose = True +# Make `hg resolve` with no action (like `-m`) fail instead of re-merging. +resolve.explicit-re-merge = True [diff] git = 1