Show More
@@ -1,66 +1,70 | |||||
1 | == New Features == |
|
1 | == New Features == | |
2 |
|
2 | |||
3 | * There is a new config section for templates used by hg commands. It |
|
3 | * There is a new config section for templates used by hg commands. It | |
4 | is called `[command-templates]`. Some existing config options have |
|
4 | is called `[command-templates]`. Some existing config options have | |
5 | been deprecated in favor of config options in the new |
|
5 | been deprecated in favor of config options in the new | |
6 | section. These are: `ui.logtemplate` to `command-templates.log`, |
|
6 | section. These are: `ui.logtemplate` to `command-templates.log`, | |
7 | `ui.graphnodetemplate` to `command-templates.graphnode`, |
|
7 | `ui.graphnodetemplate` to `command-templates.graphnode`, | |
8 | `ui.mergemarkertemplate` to `command-templates.mergemarker`, |
|
8 | `ui.mergemarkertemplate` to `command-templates.mergemarker`, | |
9 | `ui.pre-merge-tool-output-template` to |
|
9 | `ui.pre-merge-tool-output-template` to | |
10 | `command-templates.pre-merge-tool-output`. |
|
10 | `command-templates.pre-merge-tool-output`. | |
11 |
|
11 | |||
12 | * There is a new set of config options for the template used for the |
|
12 | * There is a new set of config options for the template used for the | |
13 | one-line commit summary displayed by various commands, such as `hg |
|
13 | one-line commit summary displayed by various commands, such as `hg | |
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 |
|
19 | |||
20 | * `hg strip`, from the strip extension, is now a core command, `hg |
|
20 | * `hg strip`, from the strip extension, is now a core command, `hg | |
21 | debugstrip`. The extension remains for compatibility. |
|
21 | debugstrip`. The extension remains for compatibility. | |
22 |
|
22 | |||
23 | * `hg diff` and `hg extdiff` now support `--from <rev>` and `--to <rev>` |
|
23 | * `hg diff` and `hg extdiff` now support `--from <rev>` and `--to <rev>` | |
24 | arguments as clearer alternatives to `-r <revs>`. `-r <revs>` has been |
|
24 | arguments as clearer alternatives to `-r <revs>`. `-r <revs>` has been | |
25 | deprecated. |
|
25 | deprecated. | |
26 |
|
26 | |||
27 | * The memory footprint per changeset during pull/unbundle |
|
27 | * The memory footprint per changeset during pull/unbundle | |
28 | operations has been further reduced. |
|
28 | operations has been further reduced. | |
29 |
|
29 | |||
30 | * There is a new internal merge tool called `internal:mergediff` (can |
|
30 | * There is a new internal merge tool called `internal:mergediff` (can | |
31 | be set as the value for the `merge` config in the `[ui]` |
|
31 | be set as the value for the `merge` config in the `[ui]` | |
32 | section). It resolves merges the same was as `internal:merge` and |
|
32 | section). It resolves merges the same was as `internal:merge` and | |
33 | `internal:merge3`, but it shows conflicts differently. Instead of |
|
33 | `internal:merge3`, but it shows conflicts differently. Instead of | |
34 | showing 2 or 3 snapshots of the conflicting pieces of code, it |
|
34 | showing 2 or 3 snapshots of the conflicting pieces of code, it | |
35 | shows one snapshot and a diff. This may be useful when at least one |
|
35 | shows one snapshot and a diff. This may be useful when at least one | |
36 | side of the conflict is similar to the base. The new marker style |
|
36 | side of the conflict is similar to the base. The new marker style | |
37 | is also supported by "premerge" as |
|
37 | is also supported by "premerge" as | |
38 | `merge-tools.<tool>.premerge=keep-mergediff`. |
|
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 | * The `branchmap` cache is updated more intelligently and can be |
|
46 | * The `branchmap` cache is updated more intelligently and can be | |
43 | significantly faster for repositories with many branches and changesets. |
|
47 | significantly faster for repositories with many branches and changesets. | |
44 |
|
48 | |||
45 |
|
49 | |||
46 | == New Experimental Features == |
|
50 | == New Experimental Features == | |
47 |
|
51 | |||
48 | * `experimental.single-head-per-branch:public-changes-only` can be used |
|
52 | * `experimental.single-head-per-branch:public-changes-only` can be used | |
49 | restrict the single head check to public revision. This is useful for |
|
53 | restrict the single head check to public revision. This is useful for | |
50 | overlay repository that have both a publishing and non-publishing view |
|
54 | overlay repository that have both a publishing and non-publishing view | |
51 | of the same storage. |
|
55 | of the same storage. | |
52 |
|
56 | |||
53 |
|
57 | |||
54 | == Bug Fixes == |
|
58 | == Bug Fixes == | |
55 |
|
59 | |||
56 |
|
60 | |||
57 |
|
61 | |||
58 | == Backwards Compatibility Changes == |
|
62 | == Backwards Compatibility Changes == | |
59 |
|
63 | |||
60 | * `--force-lock` and `--force-wlock` options on `hg debuglock` command are |
|
64 | * `--force-lock` and `--force-wlock` options on `hg debuglock` command are | |
61 | renamed to `--force-free-lock` and `--force-free-wlock` respectively. |
|
65 | renamed to `--force-free-lock` and `--force-free-wlock` respectively. | |
62 |
|
66 | |||
63 |
|
67 | |||
64 | == Internal API Changes == |
|
68 | == Internal API Changes == | |
65 |
|
69 | |||
66 |
|
70 |
General Comments 0
You need to be logged in to leave comments.
Login now