Mercurial > public > mercurial-scm > hg
diff tests/test-completion.t @ 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 | f82d2d4e71db |
children | 4a28f5e8408e |
line wrap: on
line diff
--- a/tests/test-completion.t Sat Feb 29 12:58:13 2020 +0530 +++ b/tests/test-completion.t Sat Feb 29 12:58:38 2020 +0530 @@ -345,7 +345,7 @@ parents: rev, style, template paths: template phase: public, draft, secret, force, rev - pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure + pull: update, force, confirm, rev, bookmark, branch, ssh, remotecmd, insecure push: force, rev, bookmark, branch, new-branch, pushvars, publish, ssh, remotecmd, insecure recover: verify remove: after, force, subrepos, include, exclude, dry-run