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