relnotes/6.2
author Pierre-Yves DAVID <pierre-yves.david@octobus.net>
Sun, 05 Jun 2022 07:16:29 +0200
changeset 49463 5acbc550d987
parent 49369 cf566b57107c
child 49472 f64261762f3d
permissions -rw-r--r--
compare-disco: support for `file` nodes specification This leverage the `nodefromfile` feature in core. This make it possible for callers to no longer pay the subset computation cost (and to make sure the subset is the right one, even when the base repository is different)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49369
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     1
= Mercurial 6.2rc0 =
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     2
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     3
'''This is the first release to support Python 3.6+ ''only'''''
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     4
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     5
== New Features ==
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     6
 * Introduce a way to auto-upgrade a repo for certain requirements (see `hg help config.format`)
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     7
 * filemerge: add support for partial conflict resolution by external tool
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     8
 * contrib: add a partial-merge tool for sorted lists (such as Python imports)
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
     9
 * revlog: reorder p1 and p2 when p1 is null and p2 is not while respecting issue6528
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    10
 * rhg: add support for ignoring all extensions
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    11
 * completion: install completers to conventional locations
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    12
 * revert: ask user to confirm before tracking new file when interactive
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    13
 * Rust implementation now uses the new dirstate API
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    14
 * sslutil: be less strict about which ciphers are allowed when using --insecure
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    15
 * sslutil: support TLSV1_ALERT_PROTOCOL_VERSION reason code
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    16
 * absorb: make `--edit-lines` imply `--apply-changes`
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    17
 * diff: add help text to highlight the ability to do merge diffs
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    18
 * censor: make rhg fall back to python when encountering a censored node
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    19
 * clone: use better names for temp files
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    20
 * debuglock: make the command more useful in non-interactive mode
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    21
 * debugdeltachain: distinct between snapshot and other diffs
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    22
 * debugindex: rename to debugindex debug-revlog-index
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    23
 * Make debug-revlog-index give out more information
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    24
 * sparse: use the rust code even when sparse is present
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    25
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    26
== Bug Fixes ==
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    27
 * Python 3 bugfixes
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    28
 * Windows bugfixes
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    29
 * templates: make `firstline` filter not keep '\v', '\f' and similar
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    30
 * rhg: sort unsupported extensions in error message
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    31
 * Improve performance of all functions that extract the first line of a text
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    32
 * crecord: avoid duplicating lines when reverting noeol->eol change
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    33
 * Some config.path options are now discoverable via config
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    34
 * mail: don't complain about a multi-word email.method
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    35
 * bundlespec: do not overwrite bundlespec value with the config one
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    36
 * bundlespec: do not check for `-` in the params portion of the bundlespec
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    37
 * bundlespec: handle the presence of obsmarker part
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    38
 * sparse: start moving away from the global variable for detection of usage
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    39
 * rust-changelog: don't skip empty lines when iterating over changeset lines
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    40
 * narrow: support debugupgraderepo
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    41
 * bundle: quick fix to ludicrous performance penalty
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    42
 * followlines: don't put Unicode directly into the .js file (issue6559)
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    43
 * manifest: improve error message in case for tree manifest
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    44
 * revlog: use %d to format int instead of %lu (issue6565)
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    45
 * revlog: use appropriate format char for int ("i" instead of I")
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    46
 * worker: stop relying on garbage collection to release memoryview
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    47
 * worker: implement _blockingreader.readinto() (issue6444)
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    48
 * worker: avoid potential partial write of pickled data
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    49
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    50
== Backwards Compatibility Changes ==
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    51
 * '''Removed Python 2 support''': this includes a lot of cleanup in our codebase, automation, testing, etc.
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    52
 * debugindex: rename to debugindex debug-revlog-index
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    53
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    54
== Miscellaneous ==
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    55
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    56
 * Fix typos and add missing items from documentation
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    57
 * dirstate-tree: optimize HashMap lookups with raw_entry_mut
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    58
 * Rust dependencies have been upgraded
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    59
 * revlog: rank computation is done by Rust when available
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    60
 * Improve discovery test tooling
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    61
 * Audit the number of queries done in discovery
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    62
 * Improved .hgignore of the mercurial-devel repository itself
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    63
 * Improve test coverage of dirstate-v2
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    64
 * rust-requirements: allow loading repos with `bookmarksinstore` requirement
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    65
 * Various Rust refactorings to help with revlog management
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    66
 * Improve debugability of Rust structs
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    67
 * Improve unit testing of the Rust dirstatemap
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    68
 * Improve robustness of the Rust dirstatemap to corruption
cf566b57107c relnotes: add 6.2rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    69
 * Improve changelog-v2 upgrade system