Mercurial > hg
diff mercurial/configitems.py @ 39393:56469d475341
resolve: add config to make hg resolve not re-merge by default
Before this, calling 'hg resolve' with neither -m, -u or -l will
re-merge. This is highly error prone (it's easy to forget to forget a
-m), and pretty bad when it happens (many people have no idea 'hg
resolve' can re-merge, and end up redoing the work of resolving all
the conflicts, because they have no idea there was a backup of their
work).
Differential Revision: https://phab.mercurial-scm.org/D4379
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Sun, 26 Aug 2018 16:42:28 -0400 |
parents | 7a9f15ed3b96 |
children | b66ea3fc3a86 |
line wrap: on
line diff
--- a/mercurial/configitems.py Sun Aug 26 15:52:34 2018 -0400 +++ b/mercurial/configitems.py Sun Aug 26 16:42:28 2018 -0400 @@ -193,6 +193,9 @@ coreconfigitem('commands', 'resolve.confirm', default=False, ) +coreconfigitem('commands', 'resolve.explicit-re-merge', + default=False, +) coreconfigitem('commands', 'resolve.mark-check', default='none', )