Mercurial > public > mercurial-scm > hg
diff relnotes/next @ 44545: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 | 6a34e438461b |
children | 05654ea5137c |
line wrap: on
line diff
--- a/relnotes/next Sat Feb 29 12:58:13 2020 +0530 +++ b/relnotes/next Sat Feb 29 12:58:38 2020 +0530 @@ -3,6 +3,9 @@ * `hg purge`/`hg clean` can now delete ignored files instead of untracked files, with the new -i flag. + * `hg pull` now has a `--confirm` flag to prompt before applying changes. + Config option `pull.confirm` is also added for that. + * `hg log` now defaults to using an '%' symbol for commits involved in unresolved merge conflicts. That includes unresolved conflicts caused by e.g. `hg update --merge` and `hg graft`. '@' still takes