annotate relnotes/6.4 @ 51685:0eb515c7bec8

typing: add trivial type hints to the convert extension's common modules This started as ensuring that the `encoding` and `orig_encoding` attributes has a type other than `Any`, so pytype can catch problems where it needs to be str for stdlib encoding and decoding. It turns out that adding the hint in `mercurial.encoding` is what was needed, but I picked a bunch of low hanging fruit while here. There's definitely more to do, and I see a problem where `shlex.shlex` is being fed bytes instead of str, but there are not enough type hints yet to make pytype notice.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 11 Jul 2024 20:54:06 -0400
parents 271a4ab29605
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50715
271a4ab29605 relnotes: add 6.4.5
Raphaël Gomès <rgomes@octobus.net>
parents: 50663
diff changeset
1 = Mercurial 6.4.5 =
271a4ab29605 relnotes: add 6.4.5
Raphaël Gomès <rgomes@octobus.net>
parents: 50663
diff changeset
2
271a4ab29605 relnotes: add 6.4.5
Raphaël Gomès <rgomes@octobus.net>
parents: 50663
diff changeset
3 * re2: fix reporting of availability in `hg debuginstall`
271a4ab29605 relnotes: add 6.4.5
Raphaël Gomès <rgomes@octobus.net>
parents: 50663
diff changeset
4 * ui: fix crash in `hg paths` when pulled-delta-reuse-policy is in use
271a4ab29605 relnotes: add 6.4.5
Raphaël Gomès <rgomes@octobus.net>
parents: 50663
diff changeset
5 * path: display proper user facing value for pulled-delta-reuse-policy
271a4ab29605 relnotes: add 6.4.5
Raphaël Gomès <rgomes@octobus.net>
parents: 50663
diff changeset
6
50663
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
7 = Mercurial 6.4.4 =
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
8
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
9 * clonebundles: filter out invalid schemes instead of failing on them
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
10 * doc: format argument for date uses strftime format string (issue6818)
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
11 * test: make test-contrib-perf.t more robust
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
12 * revlog: fix a bug in revlog splitting
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
13 * bundles: clarify streaming v2 bundle usage
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
14 * delta-find: fix pulled-delta-reuse-policy=forced behavior
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
15 * dirstate: fall back to v1 if reading v2 failed
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
16 * revlog: avoid possible collision between directory and temporary index
da372c745e0f relnotes: add 6.4.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50367
diff changeset
17
50367
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
18 = Mercurial 6.4.3 =
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
19
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
20 * chg: declare environ (issue6812)
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
21 * chg: set CHGHG before connecting to command server
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
22 * delta-find: never do anything fancy when general delta is off
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
23 * delta-find: add a simple safeguard to prevent bad non-general-delta
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
24 * debug-delta: add minimal documentation for `devel.bundle-delta` option
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
25 * fix: highlight the required configuration and behavior of the fixer tools
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
26 * rhg: don't print copy source when --no-status is passed
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
27 * rhg: correctly relativize copy source path
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
28 * repo-upgrade: write new requirement before upgrading the dirstate
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
29 * backup: fix issue when the backup end up in a different directory
fc445f8abcf9 relnotes: add 6.4.3
Raphaël Gomès <rgomes@octobus.net>
parents: 50351
diff changeset
30
50351
de2102390910 relnotes: add 6.4.2
Raphaël Gomès <rgomes@octobus.net>
parents: 50343
diff changeset
31 = Mercurial 6.4.2 =
de2102390910 relnotes: add 6.4.2
Raphaël Gomès <rgomes@octobus.net>
parents: 50343
diff changeset
32
de2102390910 relnotes: add 6.4.2
Raphaël Gomès <rgomes@octobus.net>
parents: 50343
diff changeset
33 Exceptional bugfix release due to a corruption bug that happens when using
de2102390910 relnotes: add 6.4.2
Raphaël Gomès <rgomes@octobus.net>
parents: 50343
diff changeset
34 clonebundles on repositories with large files.
de2102390910 relnotes: add 6.4.2
Raphaël Gomès <rgomes@octobus.net>
parents: 50343
diff changeset
35
de2102390910 relnotes: add 6.4.2
Raphaël Gomès <rgomes@octobus.net>
parents: 50343
diff changeset
36 * revlog-split: make sure the self._indexfile attribute is reset (issue6811)
de2102390910 relnotes: add 6.4.2
Raphaël Gomès <rgomes@octobus.net>
parents: 50343
diff changeset
37
de2102390910 relnotes: add 6.4.2
Raphaël Gomès <rgomes@octobus.net>
parents: 50343
diff changeset
38
50343
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
39 = Mercurial 6.4.1 =
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
40
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
41 * rhg: fix a bug in path encoding
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
42 * rhg: don't crash on empty directory names in path_encode, just in case
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
43 * commands: correct documentation of hg serve’s --ipv6 options
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
44 * run-tests: remove obsolete coverage check and packaging import (issue6805)
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
45 * chg: populate CHGHG if not set
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
46 * match: sort patterns before compiling them into a regex
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
47 * match: match explicit file using a set
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
48 * rebase: do not cleanup the working copy when --dry-run is used (issue6802)
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
49 * sslutil: set context security level for legacy tls testing (issue6760)
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
50
83ea6ce48b4f relnotes: add 6.4.1
Raphaël Gomès <rgomes@octobus.net>
parents: 50326
diff changeset
51
50326
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
52 = Mercurial 6.4 =
50272
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
53
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
54 == New Features ==
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
55
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
56 * There is a new internal merge tool called `internal:union-other-first`.
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
57 It works like `internal:union` but add other side on top of local.
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
58 * Pullbundles are enabled by default
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
59 * delta-find: add a way to control the number of bases tested at the same time
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
60 * changelog-v2: add a configuration to disable rank computation
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
61 * debug: add an option to display statistic about a bundling operation
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
62 * debug: add an option to display statistic about a unbundling operation
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
63 * delta-find: add a delta-reuse policy that blindly accepts incoming deltas
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
64 * debug: add debug-revlog-stats command
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
65 * dirstate: add narrow support to `verify`
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
66 * verify: also check dirstate
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
67 * commit: add --draft option to use draft phase
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
68 * amend: add a --draft option to set phase to draft
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
69 * debug: add a config to abort update early
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
70 * rhg: implement checkexec to support weird filesystems
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
71 * debugshell: allow commands to be specified as a CLI argument
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
72 * rhg-files: add support for narrow when specifying a revision
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
73 * rust-narrow: enable narrow support for plain `rhg files`
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
74
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
75 == Bug Fixes ==
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
76
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
77 Aside from the following (unordered) commits which made it through a manual filter, there are a bunch of typing improvements and fixes, removal of deprecated code and general code cleanup.
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
78
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
79 * lfs: improve an exception message for blob corruption detected on transfer
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
80 * revlog: use the user facing filename as the display_id for filelogs
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
81 * rust-status: query fs traversal metadata lazily
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
82 * shelve: add Shelf.changed_files for resolving changed files in a plugin
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
83 * demandimport: ensure lazyloaderex sets loader attributes (issue6725)
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
84 * typing: fix a syntax error in mercurial/cext/bdiff.pyi
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
85 * cffi: fix a bytes vs str issue on macOS when listing directories
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
86 * changelog-v2: fix the docket `struct`
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
87 * schemes: fix a broken check for drive letter conflicts
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
88 * worker: avoid reading 1 byte at a time from the OS pipe
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
89 * rust-narrow: fix loop that never loops
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
90 * setup: Ensure target directory exists with building rust extension
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
91 * dirstate: invalidate changes when parent-change fails
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
92 * dirstate: warn about non-explicitly rolledback parent-change
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
93 * dirstate: write dirstate on successful exit of changing_parents context
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
94 * largefile: make sure we hold the lock when updating the second dirstate
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
95 * dirstate: enforce holding the lock while doing any changes
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
96 * run-tests: stop ignoring venv-installed packages
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
97 * transaction: run abort callback in all cases
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
98 * transaction: quietly rollback if no other changes than temporary files
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
99 * debugrebuilddirstate: double check that no transaction is open
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
100 * dirstate: do not write an empty dirstate just for backup
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
101 * locking: take the `wlock` for the full `hg add` duration
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
102 * locking: take the `wlock` for the full `hg remove` duration
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
103 * locking: take the `wlock` for the full `hg forget` duration
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
104 * locking: take the `wlock` for the full `hg addremove` duration
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
105 * locking: grab the wlock before touching the dirstate in `perfdirstatewrite`
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
106 * locking: hold the wlock for the full duration of the "keyword demo"
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
107 * mq: properly take the wlock during the full qfold operation
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
108 * dirstate: invalidate the dirstate change on transaction failure
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
109 * status: fix post status writing
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
110 * status: fix post status invalidation
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
111 * dirstate: avoid transaction backup/restore if we do not hold the lock
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
112 * rollback: explicitly skip dirstate rollback when applicable
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
113 * dirstate-guard: remove the feature
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
114 * dirstate: make `restorebackup` more robust when it is a noop
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
115 * dirstate: generalize the dirstate's invalidation on transaction abort
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
116 * dirstate: detect potential fishy transaction patterns while changing
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
117 * mq: write the dirstate before stripping
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
118 * dirstate: explicitly backup the datafile
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
119 * localrepo: enforce a clean dirstate when the transaction open
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
120 * localrepo: "blindly" do a dirstate backup at the end of the transaction
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
121 * dirstate: remove the dedicated backup logic
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
122 * rhg: fix a bug in path_encode
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
123 * dirstate: invalidate on all exceptions
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
124 * large-files: make sure we write newly initialized standin file early
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
125 * dirstate: warn if dirty when starting an edition
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
126 * dirstate: track that changes are pending in a transaction
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
127 * dirstate: distinct transaction callback from largefile
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
128 * automv: lock the repository before searching for renames
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
129 * dirstate: only reload the dirstate when it may have changed
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
130 * dirstate: cleanup the `_map` property cache
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
131 * status: invalidate dirstate on LockError
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
132 * dirstate: check that dirstate is clean at the initial context opening
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
133 * dirstate: have `running_status` write the dirstate when holding the lock
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
134 * dirstate: have `running_status` warn when exiting with a dirty dirstate
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
135 * narrow: widden the lock context in `tracking`
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
136 * narrow: enforce that narrow spec is written within a transaction
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
137 * transaction: no longer explicitly cache phaseroots
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
138 * transaction: no longer explicitly cache bookmarks
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
139 * transaction: use the standard transaction mechanism to backup branch
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
140 * bundlerepo: handle changegroup induced phase movement in the associated method
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
141 * bundlerepo: apply phase data stored in the bundle instead of assuming `draft`
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
142 * config-item: declare undeclared path suboption
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
143 * narrow: read pending file when applicable
50326
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
144 * rust: fix building on macOS (issue6801)
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
145 * run-tests: fix a crash when using the coverage options
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
146 * undo-files: also remove the undo.backupfiles
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
147 * undo-files: cleanup backup when cleaning undos
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
148 * undo-files: clean existing files up before writing new one
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
149 * undo-files: cleanup legacy files when applicable
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
150 * dirstate-v2: fix an incorrect handling of readdir errors
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
151 * rust: update zstd dependency
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
152 * rust: upgrade `rayon` dependency
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
153 * dirstate: fix the bug in [status] dealing with committed&ignored directories
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
154 * dirstate: fix a potential traceback when in `copy` and `rename`
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
155 * histedit: fix diff colors
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
156 * cext: fix for PyLong refactoring in CPython 3.12
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
157 * py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
158 * statprof: with Python 3.12, lineno is (more) often None
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
159 * transaction: properly clean up backup file outside of .hg/store/
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
160 * transaction: raise on backup restoration error
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
161 * revlog: improve the robustness of the splitting process
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
162 * debugdeltachain: stop summing the same chain over and over
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
163 * url: don't ignore timeout for https connections
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
164 * py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
165 * tests: accept a test output change in [tests/test-serve.t]
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
166 * rust: fix thread cap (for real this time)
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
167 * dirstate: try refreshing the changelog when parent are unknown
f14864fffdca relnotes: do 6.4
Raphaël Gomès <rgomes@octobus.net>
parents: 50272
diff changeset
168 * hooks: invalidate the repo after the hooks
50272
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
169
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
170 == Backwards Compatibility Changes ==
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
171 * rust: upgrade supported Rust toolchain version
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
172 * rust: move all crates in the main workspace to edition 2021
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
173 * hg-core: upgrade `zstd` dependency
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
174 * hg-core: upgrade `clap` dependency
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
175 * hg-core: upgrade all remaining dependencies
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
176 * hg-cpython: upgrade dependencies
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
177 * rhg: upgrade `clap` dependency
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
178 * rhg: upgrade the remainder of the dependencies
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
179
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
180 == Internal API Changes ==
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
181
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
182 * Many APIs around the dirstate have been made much stricter with regards to
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
183 locking and transaction handling
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
184 * Some dirstate APIs have been renamed/removed
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
185 * In both cases, you should get loud complaints in your tests if you do
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
186 something wrong.
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
187
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
188 == Miscellaneous ==
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
189
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
190 * pullbundle support no longer requires setting a server-side option,
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
191 providing a .hg/pullbundles.manifest according to the syntax specified in
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
192 'hg help -e clonebundles' is enough.
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
193 * debug-delta-find: add a --source option
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
194 * delta-find: add debug information about reuse of cached data
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
195 * delta-find: set the default candidate chunk size to 10
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
196 * attr: vendor 22.1.0
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
197 * configitems: add a default value for "merge-tools.xxx.regappend"
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
198 * debugrevlog: display total stored information
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
199 * emitrevision: if we need to compute a delta on the fly, try p1 or p2 first
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
200 * emitrevision: consider ancestors revision to emit as available base
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
201 * find-delta: pass the cache-delta usage policy alongside the cache-delta
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
202 * delta-find: use a smarter object for snapshot caching
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
203 * delta-find: use sets instead of list in the snapshot cache
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
204 * delta-find: make sure we only use newer full snapshot as candidate
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
205 * delta-find: use a single snapshot cache when applying a group to an object
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
206 * bundleoperation: optionnaly record the `remote` that produced the bundle
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
207 * bundle: when forcing acceptance of incoming delta also accept snapshot
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
208 * bundle: emit full snapshot as is, without doing a redelta
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
209 * pathutil: slightly faster path audit in the common case
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
210 * merge: don't pay for pathconflicts if there are none
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
211 * merge: short-circuit the _checkfs loop upon getting ENOENT
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
212 * merge: disable the whole filesystem access loop if [_realfs] is false
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
213 * merge: cache the fs checks made during [_checkunknownfiles]
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
214 * rust: use `logging_timer` instead of `micro_timer`
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
215 * rust: run `cargo clippy`
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
216 * makefile: add `cargo clippy` to tests if cargo is available
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
217 * heptapod-ci: add `clippy` to the CI
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
218 * convert: use a priority queue for sorting commits, to make sorting faster
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
219 * delta-find: adjust the default candidate group chunk size
8a65b43457ab relnotes: add 6.4 and empty next
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
220 * delta-find: declare the "paths..*:pulled-delta-reuse-policy option