Mercurial > public > mercurial-scm > hg-stable
diff mercurial/configitems.py @ 44555:bd7b2c8d06cc
pull: add `--confirm` flag to confirm before writing changes
This introduces a new flag to pull command `--confirm` and also a config option
named `pull.confirm` which if used will prompt user describing changes which are
pulled and asking whether to accept them or not.
Differential Revision: https://phab.mercurial-scm.org/D8200
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 29 Feb 2020 12:58:38 +0530 |
parents | 64e2f603de9d |
children | 01b0805534bb |
line wrap: on
line diff
--- a/mercurial/configitems.py Sat Feb 29 12:58:13 2020 +0530 +++ b/mercurial/configitems.py Sat Feb 29 12:58:38 2020 +0530 @@ -1067,6 +1067,9 @@ b'progress', b'width', default=dynamicdefault, ) coreconfigitem( + b'pull', b'confirm', default=False, +) +coreconfigitem( b'push', b'pushvars.server', default=False, ) coreconfigitem(