annotate relnotes/6.5 @ 50793:1fbae268ecae

wrapfunction: use sysstr instead of bytes as argument in "sqlitestore" This is as valid and simpler, it will help us to eventually get ride of `safehasattr`.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 03 Feb 2023 04:27:17 +0100
parents 3ffc7209bbae
children 787af4e0e8b7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50748
3ffc7209bbae relnotes: add 6.5 final
Raphaël Gomès <rgomes@octobus.net>
parents: 50720
diff changeset
1 = Mercurial 6.5 =
50720
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
2
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
3 As usual, a lot of patches don't make it to this list since they're more internal.
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
4
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
5 == New Features ==
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
6
50748
3ffc7209bbae relnotes: add 6.5 final
Raphaël Gomès <rgomes@octobus.net>
parents: 50720
diff changeset
7 * Improved Python 3.12 compatiblity
50720
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
8 * configitems: enable changegroup3 by default (unless using infinitepush)
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
9 * extras: expose 'retained_extras' for extensions to extend
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
10 * stabletailgraph: implement stable-tail sort
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
11 * stabletailgraph: naive version of leap computation
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
12 * bundle: introduce a "v3" spec
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
13 * clone-bundles: add a basic first version of automatic bundle generation
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
14 * clone-bundles: garbage collect older bundle when generating new ones
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
15 * clone-bundles: only regenerate the clone bundle when cached ration is low
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
16 * clone-bundles: also control automation based on absolute number of revisions
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
17 * clone-bundles: add a configuration to control auto-generation on changes
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
18 * clone-bundles: introduce a command to refresh bundle
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
19 * clone-bundles: add a command to clear all bundles
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
20 * clone-bundles: add an option to generate bundles in the background
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
21 * clonebundles: add support for inline (streaming) clonebundles
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
22 * clonebundles: adds a auto-generate.serve-inline option
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
23 * match: add `filepath:` pattern to match an exact filepath relative to the root
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
24 * hgweb: add "children" into the JSON template for a changeset
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
25 * hgweb: add support to explicitly access hidden changesets
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
26 * pull: add --remote-hidden option and pass it through peer creation
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
27 * hidden: add support for --remote-hidden to HTTP peer
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
28 * hidden: support passing --hidden with `serve --stdio`
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
29 * hidden: add support to explicitly access hidden changesets with SSH peers
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
30 * perf: introduce a `perf::stream-locked-section` command
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
31 * perf: add a function to find a stream version generator
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
32 * perf: add support for stream-v3 during benchmark
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
33 * perf: add a perf::stream-generate command
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
34 * perf: add a perf::stream-consume
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
35 * cli: make debugnodemap capable of inspecting an arbitrary nodemap
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
36 * rust: configure MSRV in Clippy
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
37 * rhg: make `rhg files` work if `ui.relative-files=true` is specified
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
38 * rhg: support `rhg files` with `ui.relative-paths=false`
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
39 * rhg: support `status --print0`
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
40 * tree-manifest: allow `debugupgraderepo` to run on tree manifest repo
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
41 * library: enable runpy invocation on mercurial package
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
42 * library: incorporate demandimport into runpy invocation
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
43 * exchange: allow passing no includes/excludes to `pull()`
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
44
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
45 == New Experimental Features ==
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
46
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
47 * stream-clone: add an experimental v3 version of the protocol
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
48 * stream-clone: support streamv3 on the cli [hg bundle]
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
49
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
50 == Bug Fixes ==
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
51
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
52 * mail: add a missing argument to properly override starttls
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
53 * bundle: include required phases when saving a bundle (issue6794)
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
54 * outgoing: fix common-heads computation from `missingroots` argument
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
55 * strip: do not include internal changeset in the strip backup
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
56 * bundle: abort if the user request bundling of internal changesets
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
57 * bundle: prevent implicit bundling of internal changeset
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
58 * encoding: avoid quadratic time complexity when json-encoding non-UTF8 strings
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
59 * sha1dc: Make sure SHA1DC_BIGENDIAN is set on Darwin/PowerPC
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
60 * zstd: hack include order to ensure that our zstd.h is found
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
61 * dirstate: better error messages when dirstate is corrupted
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
62 * stream-clone: avoid opening a revlog in case we do not need it
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
63 * treemanifest: make `updatecaches` update the nodemaps for all directories
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
64 * rust-hg-core: move from `ouroboros` to `self_cell`
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
65 * rust-dependencies: switch from `users` to `whoami`
50748
3ffc7209bbae relnotes: add 6.5 final
Raphaël Gomès <rgomes@octobus.net>
parents: 50720
diff changeset
66 * dirstate-v2: actually fix the dirstate-v2 upgrade race
3ffc7209bbae relnotes: add 6.5 final
Raphaël Gomès <rgomes@octobus.net>
parents: 50720
diff changeset
67 * dirstate: avoid leaking disk space in `hg debugrebuilddirstate`
3ffc7209bbae relnotes: add 6.5 final
Raphaël Gomès <rgomes@octobus.net>
parents: 50720
diff changeset
68 * clonebundles: add warning if auto-generate is enabled without formats
3ffc7209bbae relnotes: add 6.5 final
Raphaël Gomès <rgomes@octobus.net>
parents: 50720
diff changeset
69 * win32mbcs: unbyteify some strings for py3 support
3ffc7209bbae relnotes: add 6.5 final
Raphaël Gomès <rgomes@octobus.net>
parents: 50720
diff changeset
70 * rust-revlog: fix incorrect results with NULL_NODE prefixes
3ffc7209bbae relnotes: add 6.5 final
Raphaël Gomès <rgomes@octobus.net>
parents: 50720
diff changeset
71 * rust-revlog: fix RevlogEntry.data() for NULL_REVISION
50720
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
72
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
73 == Backwards Compatibility Changes ==
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
74
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
75 * infinitepush: aggressively deprecated infinite push
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
76 * narrow: indicated the default of 'Yes' when confirming auto-remove-includes
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
77
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
78 == Internal API Changes ==
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
79
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
80 * Store walk was reworked to fix small race conditions in stream-clone and
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
81 greatly improve its API robustness and flexibility.
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
82
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
83 == Miscellaneous ==
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
84
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
85 * Typechecking support was improved in a lot of places
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
86 * Removed more useless compat code for now unsupported Python versions
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
87 * Sped up zstd usage in Rust contexts
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
88 * revlog: add an exception hint when processing LFS flags without the extension
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
89 * ui: keep the progress bar around when writing if stdout is not a tty
bb42988c7e15 relnotes: add 6.5rc0
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
90 * transaction: use a ".bck" extension for all backup file