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
Showing
- mercurial/commands.py 2 additions, 0 deletionsmercurial/commands.py
- mercurial/configitems.py 3 additions, 0 deletionsmercurial/configitems.py
- mercurial/exchange.py 28 additions, 0 deletionsmercurial/exchange.py
- relnotes/next 3 additions, 0 deletionsrelnotes/next
- tests/test-completion.t 1 addition, 1 deletiontests/test-completion.t
- tests/test-obsolete-distributed.t 26 additions, 1 deletiontests/test-obsolete-distributed.t
- tests/test-obsolete.t 40 additions, 2 deletionstests/test-obsolete.t
- tests/test-phases-exchange.t 7 additions, 1 deletiontests/test-phases-exchange.t
- tests/test-pull-r.t 48 additions, 1 deletiontests/test-pull-r.t
Loading
Please register or sign in to comment