Debian Codegraph @

relnotes/5.3

raw
1 # Mercurial 5.3 (2020-01-29)
2
3
4 ## Mercurial 5.3 release
5
6 This is an overview of the 5.3 release.
7
8 ### New Features
9
10 - Windows will process hgrc files in `%PROGRAMDATA%\Mercurial\hgrc.d`.
11
12 - The Phabricator extension will read `.arcconfig` in the repository root to assign
13 the `phabricator.callsign` and `phabricator.url` properties, if available.
14 This file will override the settings in the global or user level config
15 files, but is itself overridden by the config file for the repository (issue6243)
16
17 - Accept explicit -r 'wdir()' when adding new bookmarks (issue6218)
18
19 - `hg import` has a new --secret option for committing with the secret phase.
20
21
22 ### New Experimental Features
23
24 - The LFS extension adds `--no-lfs` to the `verify`, so that it won't attempt to
25 download missing blobs as part of the process.
26
27 ### Bug Fixes
28
29 - The `indent()` template function was documented to not indent empty lines,
30 but it still indented the first line even if it was empty. It no longer does
31 that.
32
33 - Avoid setting both parents to the same commit in some cases when evolving a merge (issue6098)
34
35 - Avoid spurious warnings with `hg verify --verbose` when there are renames in obsolete revisions (issue6172)
36
37 - Check for unfinished ops when using the experimental in-memory rebase (issue6214)
38
39 - Avoid corrupting dirstate if files are modified while the editor is open for an amend (issue6233)
40
41 - Ensure reviews are posted to Phabricator in topological order, regardless of the order specified on the command line (issue6241)
42
43 ### Backwards Compatibility Changes
44
45 - Changed bundled config file location in Windows .exe installers to `hgrc.d`,
46 from `default.d`. Consider using the new `%PROGRAMDATA%\Mercurial\hgrc.d`
47 directory instead of the installation directory if you need to add custom
48 config files globally.
49
50 - File patterns for the `fix` configuration are resolved against the repository
51 root, instead of `cwd`. This allows filesets to be resolved consistently,
52 regardless of `cwd`.
53
54 ### Internal API Changes
55
56 - Matcher instances no longer have a `explicitdir` property. Consider
57 rewriting your code to use `repo.wvfs.isdir()` and/or
58 `ctx.hasdir()` instead. Also, the `traversedir` property is now
59 also called when only `explicitdir` used to be called. That may
60 mean that you can simply remove the use of `explicitdir` if you
61 were already using `traversedir`.
62
63 - The `revlog.nodemap` object have been merged into the `revlog.index` object.
64 - `n in revlog.nodemap` becomes `revlog.index.has_node(n)`,
65 - `revlog.nodemap[n]` becomes `revlog.index.rev(n)`,
66 - `revlog.nodemap.get(n)` becomes `revlog.index.get_rev(n)`.
67
68 - `copies.duplicatecopies()` was renamed to
69 `copies.graftcopies()`. Its arguments changed from revision numbers
70 to context objects. It also lost its `repo` and `skip` arguments
71 (they should no longer be needed).