Mercurial > hg
comparison relnotes/next @ 46368:bb3a5c0df06b
purge: move extension into core mercurial
The motivation is simple: it's nicer to avoid gating basic
functionality.
To reduce the risk of people shooting themselves in the feet, `--confirm` is now
the default, unless the extensions is loaded..
For review of the body of the purge command, use this instead of what
hg/phabricator will show (the block of code is modified, not just
moved):
Differential Revision: https://phab.mercurial-scm.org/D9820
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Mon, 18 Jan 2021 10:24:20 +0100 |
parents | c4b792fa109e |
children | cad17d50736c |
comparison
equal
deleted
inserted
replaced
46367:57370e7deb7b | 46368:bb3a5c0df06b |
---|---|
14 rebase`. The main one is `command-templates.oneline-summary`. That | 14 rebase`. The main one is `command-templates.oneline-summary`. That |
15 can be overridden per command with | 15 can be overridden per command with |
16 `command-templates.oneline-summary.<command>`, where `<command>` | 16 `command-templates.oneline-summary.<command>`, where `<command>` |
17 can be e.g. `rebase`. As part of this effort, the default format | 17 can be e.g. `rebase`. As part of this effort, the default format |
18 from `hg rebase` was reorganized a bit. | 18 from `hg rebase` was reorganized a bit. |
19 | |
20 * `hg purge` is now a core command using `--confirm` by default. | |
19 | 21 |
20 * `hg strip`, from the strip extension, is now a core command, `hg | 22 * `hg strip`, from the strip extension, is now a core command, `hg |
21 debugstrip`. The extension remains for compatibility. | 23 debugstrip`. The extension remains for compatibility. |
22 | 24 |
23 * `hg diff` and `hg extdiff` now support `--from <rev>` and `--to <rev>` | 25 * `hg diff` and `hg extdiff` now support `--from <rev>` and `--to <rev>` |