##// END OF EJS Templates
relnotes: elaborate on the side effects of hooks having HGPLAIN=1...
Matt Harbison -
r47180:38d76908 stable
parent child Browse files
Show More
@@ -1,66 +1,70
1 1 == New Features ==
2 2
3 3 * There is a new config section for templates used by hg commands. It
4 4 is called `[command-templates]`. Some existing config options have
5 5 been deprecated in favor of config options in the new
6 6 section. These are: `ui.logtemplate` to `command-templates.log`,
7 7 `ui.graphnodetemplate` to `command-templates.graphnode`,
8 8 `ui.mergemarkertemplate` to `command-templates.mergemarker`,
9 9 `ui.pre-merge-tool-output-template` to
10 10 `command-templates.pre-merge-tool-output`.
11 11
12 12 * There is a new set of config options for the template used for the
13 13 one-line commit summary displayed by various commands, such as `hg
14 14 rebase`. The main one is `command-templates.oneline-summary`. That
15 15 can be overridden per command with
16 16 `command-templates.oneline-summary.<command>`, where `<command>`
17 17 can be e.g. `rebase`. As part of this effort, the default format
18 18 from `hg rebase` was reorganized a bit.
19 19
20 20 * `hg strip`, from the strip extension, is now a core command, `hg
21 21 debugstrip`. The extension remains for compatibility.
22 22
23 23 * `hg diff` and `hg extdiff` now support `--from <rev>` and `--to <rev>`
24 24 arguments as clearer alternatives to `-r <revs>`. `-r <revs>` has been
25 25 deprecated.
26 26
27 27 * The memory footprint per changeset during pull/unbundle
28 28 operations has been further reduced.
29 29
30 30 * There is a new internal merge tool called `internal:mergediff` (can
31 31 be set as the value for the `merge` config in the `[ui]`
32 32 section). It resolves merges the same was as `internal:merge` and
33 33 `internal:merge3`, but it shows conflicts differently. Instead of
34 34 showing 2 or 3 snapshots of the conflicting pieces of code, it
35 35 shows one snapshot and a diff. This may be useful when at least one
36 36 side of the conflict is similar to the base. The new marker style
37 37 is also supported by "premerge" as
38 38 `merge-tools.<tool>.premerge=keep-mergediff`.
39 39
40 * External hooks are now called with `HGPLAIN=1` preset.
40 * External hooks are now called with `HGPLAIN=1` preset. This has the side
41 effect of ignoring aliases, templates, revsetaliases, and a few other config
42 options in any `hg` command spawned by the hook. The previous behavior
43 can be restored by setting HGPLAINEXCEPT appropriately in the parent process.
44 See `hg help environment` for the list of items, and how to set it.
41 45
42 46 * The `branchmap` cache is updated more intelligently and can be
43 47 significantly faster for repositories with many branches and changesets.
44 48
45 49
46 50 == New Experimental Features ==
47 51
48 52 * `experimental.single-head-per-branch:public-changes-only` can be used
49 53 restrict the single head check to public revision. This is useful for
50 54 overlay repository that have both a publishing and non-publishing view
51 55 of the same storage.
52 56
53 57
54 58 == Bug Fixes ==
55 59
56 60
57 61
58 62 == Backwards Compatibility Changes ==
59 63
60 64 * `--force-lock` and `--force-wlock` options on `hg debuglock` command are
61 65 renamed to `--force-free-lock` and `--force-free-wlock` respectively.
62 66
63 67
64 68 == Internal API Changes ==
65 69
66 70
General Comments 0
You need to be logged in to leave comments. Login now