Debian Codegraph @

relnotes/6.8

raw
1 # Mercurial 6.8 (2024-07-08)
2
3 ## Mercurial 6.8.2
4
5 This is the last version that supports Python 3.6 and 3.7.
6
7 - Compatibility for Python 3.12 and 3.13
8 - evolution: stop wrongly flagging unrelated part of a split as divergent
9 - histedit: create state and acquire locks earlier
10 - copytracing: fix a bug in an edge case in metadata.compute_all_files_changes
11 - rhg: ignore readonly FS error when saving dirstate
12 - merge: sort filemap only if requested by the caller
13 - windows: implement `util.cachestat` to fix numerous dirstate problems
14 - subrepo: propagate non-default path on outgoing
15 - import: fix erroneous comparison of str with bytes
16 - largefiles: fix check that ensures that --all-largefiles is only used locally
17 - profiling: improve 3.12 error message for calling lsprof twice
18 - profiling: use "stat" profiler to profile individual request
19 - module-policy: ignore empty module policy
20 - relnotes: skip the test if the source repository is not readable
21 - wireprototypes: fix exception handling code with a bad pytype suppression
22 - Many more type fixes and improvements
23 - Improvements to the test suite
24
25 ## Mercurial 6.8.1
26
27 - Python 3.12: fix an issue between `threading` and `demandimport`
28 - rhg: expand user and environment variable in paths to ignore in config and
29 includes
30 - `win32mbcs` extension: fix an encoding issue
31
32 ## Mercurial 6.8
33
34 As usual, a *lot* of patches don't make it to this list.
35
36 ### New Features or performance improvements
37
38 - Phases have been reworked to improve their general performance
39 - revset: stop serializing node when using "%ln"
40 - phases: convert remote phase root to node while reading them
41 - phases: use revision number in new_heads
42 - phases: use revision number in analyze_remote_phases
43 - phases: stop using `repo.set` in `remotephasessummary`
44 - phases: move RemotePhasesSummary to revision number
45 - phases: use revision number in `_pushdiscoveryphase`
46 - phases: introduce a performant efficient way to access revision in a set
47 - phases: rework the logic of _pushdiscoveryphase to bound complexity
48 - The Rust working copy code is being used by more places now:
49 - matchers: support patternmatcher in rust
50 - dirstate: remove the python-side whitelist of allowed matchers
51 - stream-clone: disable gc for `_entries_walk` duration
52 - stream-clone: disable gc for the initial section for the v3 format
53 - postincoming: avoid computing branchhead if no report will be posted
54 - stream-clone: disable gc for the entry listing section for the v2 format
55 - perf: allow profiling of more than one run
56 - perf: run the gc before each run
57 - perf: start recording total time after warming
58 - perf: clear vfs audit_cache before each run
59 - outgoing: rework the handling of the `missingroots` case to be faster
60 - outgoing: add a simple fastpath when there is no common
61 - tags-cache: skip the filternode step if we are not going to use it
62 - tags-cache: directly operate on rev-num warming hgtagsfnodescache
63 - tags-cache: directly perform a monimal walk for hgtagsfnodescache warming
64
65 ### New Experimental Features
66
67 - Introduce a new experimental branch cache "v3":
68 - branchcache: add more test for the logic around obsolescence and branch heads
69 - branchcache: skip entries that are topological heads in the on disk file
70 - branchcache: add a "pure topological head" fast path
71 - branchcache: allow to detect "pure topological case" for branchmap
72
73 ### Bug Fixes
74
75 - rust: use `cpython` 0.7.2 crate to add support for Python 3.12
76 - perf-stream-locked-section: actually use v1 generation when requested
77 - perf-stream-locked-section: fix the call to the v3 generator
78 - perf-stream-locked-section: advertise the right version key in the help
79 - stream: in v3, skip the "size" fast path if the entries have some unknown size
80 - stream-clone: stop getting the file size of all file in v3
81 - streamclone: stop listing files for entries that have no volatile files
82 - perf-stream-consume: use the source repository config when applying
83 - bundle: do no check the changegroup version if no changegroup is included
84 - perf: create the temporary target next to the source in stream-consume
85 - bundlespec: fix the "streamv2" and "streamv3-exp" variant
86 - push: rework the computation of fallbackheads to be correct
87 - profiler: flush after writing the profiler output
88 - base-revsets: use an author that actually exercises a lot of changesets
89 - hgrc: search XDG_CONFIG_HOME on mac
90 - clonebundles: add missing newline to legacy response
91 - narrow: add a test for linkrev computation done during widen
92 - Multiple fixes to guard against mmap issues
93 - portability: fix build on Solaris-derived systemd
94
95 ### Backwards Compatibility Changes
96
97 ### Internal API Changes
98
99 ### Miscellaneous
100
101 - obsolete: quote the feature name