##// END OF EJS Templates
relnotes: add release notes for 6.1.2
Raphaël Gomès -
r50055:4420e06c stable
parent child Browse files
Show More
@@ -1,78 +1,96 b''
1 1 '''This is the last release to support Python 2. Mercurial is Python 3 only starting with 6.2'''
2 2
3 = Mercurial 6.1.2 =
4
5 * Improve Windows test suite
6 * Fix `debuglock` not ignoring a missing lockfile when forcing a lock
7 * Improve help of `ui.large-file-limit`
8 * Set the large-file-limit to 10MB (from 10MiB) for clarity
9 * While rewriting desc hashes, ignore ambiguous prefix "hashes"
10 * Fix a crash in partial amend with copies
11 * Fix a py3 compatiblity bug
12 * Fix incorrect metadata causing dirstate-v2 data loss in edge case
13 * Fix cleanup of old dirstate-v2 data files when using `rhg`
14 * Make reference to `.hg/last_message.txt` relative in commit
15 * Fix an infinite hang when `rhg` is used in the background
16 * Fix Python DLL loading bug in Windows
17 * Add `--docket` flag to `debugstate` to check out dirstate-v2 metadata
18 * Remove `debugdirstateignorepatternhash` in favor of `debugstate --docket`
19 * Fix incorrect metadata causing systematic complete dirstate-v2 rewrite
20
3 21 = Mercurial 6.1.1 =
4 22
5 23 * Fix Rust compilation on `aarcch64`
6 24 * Fix Rust compilation on architectures where `char` is unsigned
7 25 * When the merge tool uses `$output`, don't leave markers in `$local`
8 26 * Improve test suite support on big-endian platforms
9 27 * Cap the number of concurrent threads to 16 in Rust `hg status` to prevent huge speed regression at higher thread counts
10 28 * Fix `amend` with copies in extras
11 29 * Abort if commit we're trying to `unamend` was not created by `hg [un]amend`
12 30 * Fix file name in the pullbundle help text
13 31 * Fix an issue with data not being correctly reset in the C implementation of dirstate-v2
14 32 * Fix issue6673 where some tags were missing from cache after a merge
15 33 * Fix stream-cloning a repo with empty requirements
16 34 * Fix a false warning about content-divergence creation
17 35 * Fix silly blackbox entries when hg is interrupted
18 36 * Fix unsoundness (no known exploits) in Rust extensions (see cfd270d83169 and dd6b67d5c256)
19 37 * Fix Rust dirstate counters not being updated correctly leading to some potential bugs (none known)
20 38 * Stop relying on a compiler implementation detail in Rust HgPath
21 39
22 40 = Mercurial 6.1 =
23 41
24 42 == New Features ==
25 43 * Added a way of specifying required extensions that prevent Mercurial from starting if they are not found. See `hg help config.extensions`.
26 44 * Merge conflict markers have been made clearer (see backwards compatibility below)
27 45 * Improve detailed error codes
28 46 * Added a hint about mangled whitespace on bad patch
29 47 * Explain which order the commits are presented in `chistedit`
30 48 * Introduce a `dirstate-tracked-hint` feature to help automation keep track of changes to tracked files. See `hg help config.use-dirstate-tracked-hint`.
31 49 * Shared repositories can be upgraded if the upgrade is specific to the share. For now, this only applies to `dirstate-v2` and `dirstate-tracked-hint`.
32 50 * When using the `narrow` extension, non-conflicting changes to files outside of the narrow specification can now be merged.
33 51 * When cloning a repository using stream-clone, the client can now control the repository format variants to use as long as the stream content does not restrict that variant.
34 52
35 53 == Default Format Change ==
36 54
37 55 These changes affect newly created repositories (or new clones) done with Mercurial 6.1.
38 56
39 57 * The `share-safe` format variant is now enabled by default. It makes configuration and requirements more consistent across repository and their shares. This introduces a behavior change as shares from a repository using the new format will also use their main repository's configuration. See `hg help config.format.use-share-safe` for details about the feature and the available options for auto-upgrading existing shares.
40 58
41 59
42 60 == New Experimental Features ==
43 61 * The pure Rust version of Mercurial called `rhg` added support for most common invocations of `hg status`. See `hg help rust.rhg` for details on how to try it out.
44 62 * `rhg` supports narrow clones and sparse checkouts.
45 63
46 64 == Bug Fixes ==
47 65
48 66 * '''Obsolete revisions are skipped while computing heads. In conjunction with the `evolve` extension >= 10.5.0, this leads to massive exchange (push/pull) speedups in repositories with a lot of heads and/or obsolete revisions.'''
49 67 * Stream-clones now properly advertise all requirements needed. This can result in the stream-clone feature being disabled for some clients using < 6.0.2. A small bugfix patch for these older client is available if necessary.
50 68 * The `--no-check` and `--no-merge` flags now properly overwrite the behavior from `commands.update.check`
51 69 * `rhg`'s fallback detection is more robust in general in the presence of more advanced configs
52 70 * `rhg`'s `blackbox` now supports milliseconds by default and uses the same ISO 8601 format as the Python implementation
53 71 * Fix `rhg` crash on non-generaldelta revlogs
54 72 * The `lfs`, `largefiles` and `sparse` extensions now correctly take the appropriate lock before writing requirements
55 73 * The `notify` extension does not produce errors anymore if a revision is not found
56 74 * Remove unnecessary and overly strict check for divergence in `hg fix`
57 75 * Windows compatibility improvements
58 76 * Miscellaneous Python 3 and typing improvements
59 77 * Many other small or internal fixes
60 78
61 79 == Backwards Compatibility Changes ==
62 80
63 81 * The use of `share-safe`, means shares (of new repositories) will also use their main repository's configuration see the `Default Format Change` section for details.
64 82 * The fix to stream-clone requirements advertising means some requirements previously (wrongly) omitted are now sent. This can confuse client using a Mercurial version < 6.0.2. The client would consider these requirements unsupported even if it actually know them. If you encounter this, either upgrade your client or apply the necessary patch.
65 83 * The labels passed to merge tools have changed slightly. Merge tools can get labels passed to them if you include `$labellocal`, `$labelbase`, and/or `$labelother` in the `merge-tool.<tool name>.args` configuration. These labels used to have some space-padding, and truncation to fit within 72 columns. Both the padding and the truncation has been removed.
66 84 * Some of the text in labels passed to merge tools has changed. For example, in conflicts while running `hg histedit`, the labels used to be "local", "base", and "histedit". They are now "already edited", "parent of current change", and "current change", respectively.
67 85 * The computation of namedbranch heads now ignores obsolete revisions. User of the Changeset Evolution feature may see a change in location and numbers of heads of each named branches (and topic).
68 86 * The remotefilelog extension now requires an appropriate excludepattern for subrepositories.
69 87 * `debugsparse`'s interface has been reworked to be more flexible. Since it's a debug command it is not actually a breaking change, but it is worth noting here.
70 88 * Temporary files for merges are now all inside a `hgmerge` directory instead of at the root of `TMPDIR`. The corresponding experimental `mergetempdirprefix` config option has been removed.
71 89
72 90 == Internal API Changes ==
73 91
74 92 * The dirstate API received minor modifications.
75 93
76 94 == Miscellaneous ==
77 95
78 96 * Removed exchange-v2. It was a prototype that had never been in a working state and had been left untouched since 2017.
General Comments 0
You need to be logged in to leave comments. Login now