##// END OF EJS Templates
relnotes: do 6.4
Raphaël Gomès -
r51253:f14864ff 6.4 stable
parent child Browse files
Show More
@@ -1,144 +1,169 b''
1 = Mercurial 6.4rc0 =
1 = Mercurial 6.4 =
2 2
3 3 == New Features ==
4 4
5 5 * There is a new internal merge tool called `internal:union-other-first`.
6 6 It works like `internal:union` but add other side on top of local.
7 7 * Pullbundles are enabled by default
8 8 * delta-find: add a way to control the number of bases tested at the same time
9 9 * changelog-v2: add a configuration to disable rank computation
10 10 * debug: add an option to display statistic about a bundling operation
11 11 * debug: add an option to display statistic about a unbundling operation
12 12 * delta-find: add a delta-reuse policy that blindly accepts incoming deltas
13 13 * debug: add debug-revlog-stats command
14 14 * dirstate: add narrow support to `verify`
15 15 * verify: also check dirstate
16 16 * commit: add --draft option to use draft phase
17 17 * amend: add a --draft option to set phase to draft
18 18 * debug: add a config to abort update early
19 19 * rhg: implement checkexec to support weird filesystems
20 20 * debugshell: allow commands to be specified as a CLI argument
21 21 * rhg-files: add support for narrow when specifying a revision
22 22 * rust-narrow: enable narrow support for plain `rhg files`
23 23
24 24 == Bug Fixes ==
25 25
26 26 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.
27 27
28 28 * lfs: improve an exception message for blob corruption detected on transfer
29 29 * revlog: use the user facing filename as the display_id for filelogs
30 30 * rust-status: query fs traversal metadata lazily
31 31 * shelve: add Shelf.changed_files for resolving changed files in a plugin
32 32 * demandimport: ensure lazyloaderex sets loader attributes (issue6725)
33 33 * typing: fix a syntax error in mercurial/cext/bdiff.pyi
34 34 * cffi: fix a bytes vs str issue on macOS when listing directories
35 35 * changelog-v2: fix the docket `struct`
36 36 * schemes: fix a broken check for drive letter conflicts
37 37 * worker: avoid reading 1 byte at a time from the OS pipe
38 38 * rust-narrow: fix loop that never loops
39 39 * setup: Ensure target directory exists with building rust extension
40 40 * dirstate: invalidate changes when parent-change fails
41 41 * dirstate: warn about non-explicitly rolledback parent-change
42 42 * dirstate: write dirstate on successful exit of changing_parents context
43 43 * largefile: make sure we hold the lock when updating the second dirstate
44 44 * dirstate: enforce holding the lock while doing any changes
45 45 * run-tests: stop ignoring venv-installed packages
46 46 * transaction: run abort callback in all cases
47 47 * transaction: quietly rollback if no other changes than temporary files
48 48 * debugrebuilddirstate: double check that no transaction is open
49 49 * dirstate: do not write an empty dirstate just for backup
50 50 * locking: take the `wlock` for the full `hg add` duration
51 51 * locking: take the `wlock` for the full `hg remove` duration
52 52 * locking: take the `wlock` for the full `hg forget` duration
53 53 * locking: take the `wlock` for the full `hg addremove` duration
54 54 * locking: grab the wlock before touching the dirstate in `perfdirstatewrite`
55 55 * locking: hold the wlock for the full duration of the "keyword demo"
56 56 * mq: properly take the wlock during the full qfold operation
57 57 * dirstate: invalidate the dirstate change on transaction failure
58 58 * status: fix post status writing
59 59 * status: fix post status invalidation
60 60 * dirstate: avoid transaction backup/restore if we do not hold the lock
61 61 * rollback: explicitly skip dirstate rollback when applicable
62 62 * dirstate-guard: remove the feature
63 63 * dirstate: make `restorebackup` more robust when it is a noop
64 64 * dirstate: generalize the dirstate's invalidation on transaction abort
65 65 * dirstate: detect potential fishy transaction patterns while changing
66 66 * mq: write the dirstate before stripping
67 67 * dirstate: explicitly backup the datafile
68 68 * localrepo: enforce a clean dirstate when the transaction open
69 69 * localrepo: "blindly" do a dirstate backup at the end of the transaction
70 70 * dirstate: remove the dedicated backup logic
71 71 * rhg: fix a bug in path_encode
72 72 * dirstate: invalidate on all exceptions
73 73 * large-files: make sure we write newly initialized standin file early
74 74 * dirstate: warn if dirty when starting an edition
75 75 * dirstate: track that changes are pending in a transaction
76 76 * dirstate: distinct transaction callback from largefile
77 77 * automv: lock the repository before searching for renames
78 78 * dirstate: only reload the dirstate when it may have changed
79 79 * dirstate: cleanup the `_map` property cache
80 80 * status: invalidate dirstate on LockError
81 81 * dirstate: check that dirstate is clean at the initial context opening
82 82 * dirstate: have `running_status` write the dirstate when holding the lock
83 83 * dirstate: have `running_status` warn when exiting with a dirty dirstate
84 84 * narrow: widden the lock context in `tracking`
85 85 * narrow: enforce that narrow spec is written within a transaction
86 86 * transaction: no longer explicitly cache phaseroots
87 87 * transaction: no longer explicitly cache bookmarks
88 88 * transaction: use the standard transaction mechanism to backup branch
89 89 * bundlerepo: handle changegroup induced phase movement in the associated method
90 90 * bundlerepo: apply phase data stored in the bundle instead of assuming `draft`
91 91 * config-item: declare undeclared path suboption
92 92 * narrow: read pending file when applicable
93 * rust: fix building on macOS (issue6801)
94 * run-tests: fix a crash when using the coverage options
95 * undo-files: also remove the undo.backupfiles
96 * undo-files: cleanup backup when cleaning undos
97 * undo-files: clean existing files up before writing new one
98 * undo-files: cleanup legacy files when applicable
99 * dirstate-v2: fix an incorrect handling of readdir errors
100 * rust: update zstd dependency
101 * rust: upgrade `rayon` dependency
102 * dirstate: fix the bug in [status] dealing with committed&ignored directories
103 * dirstate: fix a potential traceback when in `copy` and `rename`
104 * histedit: fix diff colors
105 * cext: fix for PyLong refactoring in CPython 3.12
106 * py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
107 * statprof: with Python 3.12, lineno is (more) often None
108 * transaction: properly clean up backup file outside of .hg/store/
109 * transaction: raise on backup restoration error
110 * revlog: improve the robustness of the splitting process
111 * debugdeltachain: stop summing the same chain over and over
112 * url: don't ignore timeout for https connections
113 * py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
114 * tests: accept a test output change in [tests/test-serve.t]
115 * rust: fix thread cap (for real this time)
116 * dirstate: try refreshing the changelog when parent are unknown
117 * hooks: invalidate the repo after the hooks
93 118
94 119 == Backwards Compatibility Changes ==
95 120 * rust: upgrade supported Rust toolchain version
96 121 * rust: move all crates in the main workspace to edition 2021
97 122 * hg-core: upgrade `zstd` dependency
98 123 * hg-core: upgrade `clap` dependency
99 124 * hg-core: upgrade all remaining dependencies
100 125 * hg-cpython: upgrade dependencies
101 126 * rhg: upgrade `clap` dependency
102 127 * rhg: upgrade the remainder of the dependencies
103 128
104 129 == Internal API Changes ==
105 130
106 131 * Many APIs around the dirstate have been made much stricter with regards to
107 132 locking and transaction handling
108 133 * Some dirstate APIs have been renamed/removed
109 134 * In both cases, you should get loud complaints in your tests if you do
110 135 something wrong.
111 136
112 137 == Miscellaneous ==
113 138
114 139 * pullbundle support no longer requires setting a server-side option,
115 140 providing a .hg/pullbundles.manifest according to the syntax specified in
116 141 'hg help -e clonebundles' is enough.
117 142 * debug-delta-find: add a --source option
118 143 * delta-find: add debug information about reuse of cached data
119 144 * delta-find: set the default candidate chunk size to 10
120 145 * attr: vendor 22.1.0
121 146 * configitems: add a default value for "merge-tools.xxx.regappend"
122 147 * debugrevlog: display total stored information
123 148 * emitrevision: if we need to compute a delta on the fly, try p1 or p2 first
124 149 * emitrevision: consider ancestors revision to emit as available base
125 150 * find-delta: pass the cache-delta usage policy alongside the cache-delta
126 151 * delta-find: use a smarter object for snapshot caching
127 152 * delta-find: use sets instead of list in the snapshot cache
128 153 * delta-find: make sure we only use newer full snapshot as candidate
129 154 * delta-find: use a single snapshot cache when applying a group to an object
130 155 * bundleoperation: optionnaly record the `remote` that produced the bundle
131 156 * bundle: when forcing acceptance of incoming delta also accept snapshot
132 157 * bundle: emit full snapshot as is, without doing a redelta
133 158 * pathutil: slightly faster path audit in the common case
134 159 * merge: don't pay for pathconflicts if there are none
135 160 * merge: short-circuit the _checkfs loop upon getting ENOENT
136 161 * merge: disable the whole filesystem access loop if [_realfs] is false
137 162 * merge: cache the fs checks made during [_checkunknownfiles]
138 163 * rust: use `logging_timer` instead of `micro_timer`
139 164 * rust: run `cargo clippy`
140 165 * makefile: add `cargo clippy` to tests if cargo is available
141 166 * heptapod-ci: add `clippy` to the CI
142 167 * convert: use a priority queue for sorting commits, to make sorting faster
143 168 * delta-find: adjust the default candidate group chunk size
144 169 * delta-find: declare the "paths..*:pulled-delta-reuse-policy option No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now