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