annotate relnotes/6.3 @ 50151:092db6464321

keyword: wrap dirstate mutation in `changing_files` context This is the way.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 22 Feb 2023 03:35:18 +0100
parents d5ca12dbfcde
children 8830004967ad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49843
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
1 = Mercurial 6.3.2 =
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
2
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
3 * [ecfc84b956a8] tests: expect the message from 1baf0fffd82f in test-hghave.t (issue6762)
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
4 * [5c095119bff4] tests: add the missing space to test-hghave.t (issue6762)
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
5 * [2c346c1c75ec] tests: use an all too familiar executable in test-run-tests.t (issue6661)
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
6 * [13c0e3b4fd35] tests: use `test -f` instead of `ls` to see if a file is present (issue6662)
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
7 * [8ced4ca30ea1] bisect: correct message about aborting an in-progress bisect (issue6527)
49844
d5ca12dbfcde relnotes: last-minute addition to 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49843
diff changeset
8 * filemerge: fix crash when using filesets in [partial-merge-tools]
49843
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
9 * help: fix a py3 error interpolating Set into b'%s'
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
10 * match: make the FLAG_RE pattern a raw string
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
11 * python-compat: adapt to Python 3.11 BC breakage with `random.sample`
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
12 * rust-status: fix thread count ceiling
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
13 * hg: show the correct message when cloning an LFS repo with extension disabled
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
14 * extensions: process disabled external paths when `hgext` package is in-memory
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
15 * emitrevision: consider ancestors revision to emit as available base
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
16 * make: add a target for building pyoxidizer tests on macOS
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
17 * run-tests: support --pyoxidized on macOS
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
18 * packaging: add dependencies to the PyOxidizer build on macOS
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
19 * Miscellaneous test fixes
ae7065c0cd4c relnotes: add 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents: 49624
diff changeset
20
49624
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
21 = Mercurial 6.3.1 =
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
22
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
23 * memory-usage: fix `hg log --follow --rev R F` space complexity (dcb2581e33be)
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
24 * Improve portability and robustness of test harness
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
25 * hg-core: relax dependencies pinning
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
26 * matcher: fix issues regex flag contained in pattern (issue6759)
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
27 * matcher: do not prepend '.*' to pattern using ^ after flags
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
28 * packaging: refresh dependency hashes (issue6750)
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
29 * cffi: fix a bytes vs str issue on macOS when listing directories
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
30 * commit: properly consider file include and exclude options when closing branch
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
31 * dirstate-v2: do not put the dirstate data file in a transaction
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
32
49584
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
33 = Mercurial 6.3 =
49531
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
34
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
35 == New Features ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
36
49584
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
37 * testlib: add `--raw-sha1` option to `f`
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
38 * rhg: add `config.rhg` helptext
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
39 * config: add alias from `hg help rhg` to `hg help rust`
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
40 * rhg: add a config option to fall back immediately
49531
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
41 * bundle: introduce a --exact option
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
42 * perf-bundle: add a new command to benchmark bundle creation time
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
43 * perf-bundle: accept --rev arguments
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
44 * perf-bundle: accept --type argument
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
45 * perf-unbundle: add a perf command to time the unbundle operation
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
46 * perf: introduce a benchmark for delta-find
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
47 * contrib: add support for rhel9
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
48 * phase-shelve: Implement a 'shelve.store' experimental config
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
49 * debug-delta-find: introduce a quiet mode
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
50 * sort-revset: introduce a `random` variant
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
51 * phase: introduce a dedicated requirement for the `archived` phase
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
52 * rebase: add boolean config item rebase.store-source
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
53 * rhg: make [rhg status -v] work when it needs no extra output
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
54 * rhg: support "!" syntax for disabling extensions
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
55 * rhg: add debugrhgsparse command to help figure out bugs in rhg
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
56 * rhg: add sparse support
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
57 * rhg-status: add support for narrow clones
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
58 * templates: add filter to reverse list
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
59 * contrib: add pull_logger extension
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
60 * revset: handle wdir() in `roots()`
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
61 * revset: handle wdir() in `sort(..., -topo)`
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
62 * rhg: support tweakdefaults
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
63 * rhg: parallellize computation of [unsure_is_modified]
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
64
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
65 == Default Format Change ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
66
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
67 These changes affect newly created repositories (or new clones) done with
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
68 Mercurial 6.3.
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
69
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
70 == New Experimental Features ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
71
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
72 == Bug Fixes ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
73
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
74 * shelve: demonstrate that the state is different across platforms (issue6735)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
75 * shelve: in test for trailing whitespace, strip commit (issue6735)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
76 * shelve: remove strip and rely on prior state (issue6735)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
77 * tests: fix http-bad-server expected errors for python 3.10 (issue6643)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
78 * status: let `--no-copies` override `ui.statuscopies`
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
79 * releasenotes: use re.MULTILINE mode when checking admonitions
49584
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
80 * rhg: fallback to slow path on invalid patterns in hgignore
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
81 * Fix a bunch of leftover str/bytes issues from Python 3 migration
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
82 * keepalive: ensure `close_all()` actually closes all cached connections
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
83 * lfs: fix blob corruption when tranferring with workers on posix
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
84 * lfs: avoid closing connections when the worker doesn't fork
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
85 * dirstate-v2: update constant that wasn't kept in sync
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
86 * dirstate-v2: fix edge case where entries aren't sorted
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
87 * upgrade: no longer keep all revlogs in memory at any point
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
88 * rust-status: save new dircache even if just invalidated
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
89 * dirstate-v2: hash the source of the ignore patterns as well
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
90 * rhg: fallback when encountering ellipsis revisions
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
91 * shelve: handle empty parents and nodestoremove in shelvedstate (issue6748)
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
92 * profile: prevent a crash when line number is unknown
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
93 * tags-fnode-cache: do not repeatedly open the filelog in a loop
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
94 * tags-fnode-cache: skip building a changectx in getfnode
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
95 * rust: create wrapper struct to reduce `regex` contention issues
49531
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
96
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
97 == Backwards Compatibility Changes ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
98
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
99 * chg worker processes will now correctly load per-repository configuration
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
100 when given a both a relative `--repository` path and an alternate working
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
101 directory via `--cwd`. A side-effect of this change is that these workers
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
102 will now return an error if hg cannot find the current working directory,
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
103 even when a different directory is specified via `--cwd`.
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
104 * phase: rename the requirement for internal-phase from `internal-phase` to `use-internal-phase` (see 74fb1842f8b962cf03d7cd5b841dbcf2ae065587)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
105
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
106 == Internal API Changes ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
107
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
108 == Miscellaneous ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
109
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
110 * sslutil: use proper attribute to select python 3.7+
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
111 * typing: suppress a few pyi-errors with more recent pytype
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
112 * ci: bump pytype to 2022.03.29
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
113 * bundlespec: add documentation about existing option
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
114 * subrepo: avoid opening console window for non-native subrepos on Windows
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
115 * setup: unconditionally enable the `long-paths-support` option on Windows
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
116 * setup: use the full executable manifest from `python.exe`
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
117 * tests: work around libmagic bug in svn subrepo tests
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
118 * packagelib: use python3 by default
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
119 * Improve `hg bisect` performance
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
120 * perf: properly process formatter option in perf::unbundle
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
121 * compare-disco: miscellaneous display improvements
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
122 * fsmonitor: better compatibility with newer Pythons
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
123 * revlog: finer computation of "issnapshot"
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
124 * rhg: don't fallback if `strip` or `rebase` are activated
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
125 * perf: make perf::bundle compatible before 61ba04693d65
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
126 * perf: make perf::bundle compatible down to 5.2
49584
684e0085fed7 relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents: 49531
diff changeset
127 * perf-unbundle: improve compatibility
49531
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
128 * run-tests: display the time it took to install Mercurial
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
129 * mergetools: don't let meld open all changed files on startup
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
130 * dirstate-v2: skip evaluation of hgignore regex on cached directories