Mercurial > hg
annotate relnotes/6.7 @ 52117:db1980a361cb
rev-branch-cache: disable mmapping by default on Windows
See the inline comment for why. The commands work, other than leaving extra
files laying around.
Perhaps there's some way to get this to work like on posix with some
`CreateFile` magic (though it already uses `FILE_SHARE_DELETE`, so I'm not sure
offhand what else we can do). However big picture- it seems wrong that the old
file is left mmapped, a new one moved into place, and the mapping left over the
old file instead of retargeted to the new file. That's got to be a bug on posix
too, in a long running process like chg, right? If the memory is read again for
some reason, it will be stale data.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 18 Oct 2024 13:21:23 -0400 |
parents | a1a011d4b148 |
children |
rev | line source |
---|---|
51639
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
1 = Mercurial 6.7.4 = |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
2 |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
3 Exceptional release following a critical regression causing possible data loss |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
4 in certain conditions: |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
5 |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
6 * inline-changelog: fix a critical bug in write_pending that delete data (3cf9e52f5e27) |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
7 * inline-changelog: fix pending transaction visibility when splitting (1721d983dd6d) |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
8 |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
9 Other changes in this release: |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
10 |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
11 * exchange: fix locking to actually be scoped |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
12 * chistedit: change action for the correct item |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
13 * rust-status: sort the failed matches when printing them |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
14 * hooks: add a prewlock and a prelock hooks |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
15 * bookmark: fix remote bookmark deletion when the push is raced |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
16 |
51620 | 17 = Mercurial 6.7.3 = |
18 | |
51639
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
19 /!\ This release contains a bug causing possible data loss, use 6.7.4 instead. |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
20 |
51620 | 21 * setup: display return code information about failed `hg` call |
22 * bundle-spec: properly identify changegroup-less bundle | |
23 * bundle-spec: properly parse boolean configuration as boolean | |
24 * matchers: fix the bug in rust PatternMatcher that made it cut off early | |
25 * match: fix the "visitdir" method on "rootfilesin" matchers | |
26 * match: fix the rust-side bug in visit_children_set for rootfilesin matchers | |
27 * match: strengthen visit_children_set invariant, Recursive means "all files" | |
28 * wireprotoserver: ensure that output stream gets flushed on exception | |
29 * re2: make errors quiet | |
30 * dirstate-v2: add check of parent/child nodes being related when writing | |
31 * dirstate-v2: check that root nodes are at the root before writing | |
32 * rust-cpython: don't swallow the dirstate error message | |
33 * rust: blanket implementation of Graph for Graph references | |
34 * Various fixes to `admin::verify` | |
35 | |
51540 | 36 = Mercurial 6.7.2 = |
37 | |
51639
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
38 /!\ This release contains a bug causing possible data loss, use 6.7.4 instead. |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
39 |
51540 | 40 Exceptional release following a large performance regression when cloning. |
41 | |
42 We are setting up automated benchmarks to reduce the likelihood of regressions | |
43 of the sort from happening in the future. | |
44 | |
45 * phases: avoid a potentially costly dictionary interation in some case | |
46 * phases: update the phase set as we go during retract boundary | |
47 * bundle2: make the "hgtagsfnodes" part advisory | |
48 | |
51512 | 49 = Mercurial 6.7.1 = |
50 | |
51639
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
51 /!\ This release contains a bug causing possible data loss, use 6.7.4 instead. |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
52 |
51512 | 53 Exceptional release following a crash found in delta code that can be triggered |
54 with complex repository shapes. | |
55 | |
56 * delta-search: fix crash caused by unbound variable | |
57 * sshpeer: fix path when handling invalid url exception | |
58 * subrepo: fix normalizing paths with scheme | |
59 | |
51504 | 60 = Mercurial 6.7 = |
51440 | 61 |
51639
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
62 /!\ This release contains a bug causing possible data loss, use 6.7.4 instead. |
a1a011d4b148
relnotes: add 6.7.4 and warn about 6.7.{1,2,3}
Raphaël Gomès <rgomes@octobus.net>
parents:
51620
diff
changeset
|
63 |
51440 | 64 As usual, a *lot* of patches don't make it to this list. |
65 | |
66 == New Features == | |
67 | |
68 * JSON templates can now use structured diffstat data | |
69 * Support rhg status --rev --rev | |
70 * The index for REVLOGv1 now has a Rust implementation | |
71 * Improved `hg censor`'s output | |
72 * censor: add a command flag to skip the head checks | |
73 * censor: accept multiple revision in a single call | |
74 * usage: add a `usage.repository-role` config | |
75 * branchmap: use mmap for faster revbranchcache loading | |
76 * crecord: enable search hotkeys (issue6834) | |
77 * hg-core: separate timestamp and extra methods | |
78 * annotate: limit output to range of lines | |
79 * unbundle: faster computation of changed heads | |
80 * Large improvements of some of the phases code (23950e39281f) | |
51504 | 81 * rust-filepatterns: export glob_to_re function |
51440 | 82 |
83 == New Experimental Features == | |
84 | |
85 * Introduce `hg admin::chainsaw-update` for automation and *advanced* users | |
86 | |
87 == Bug Fixes == | |
88 | |
89 * templatekw: fix inconsistency of diffstat with diff.merge | |
90 * The endless stream of Python 3 cleanups continues | |
91 * Improved setup.py robustness | |
92 * Improved test suite robustness | |
93 * add: don't attempt to add back removed files unless explicitly listed | |
94 * statprof: handle `lineno == None` in more cases | |
95 * rust: fix cargo doc for hg-cpython | |
96 * rust-python-index: don't panic on a corrupted index when calling from Python | |
97 * debugindexstats: handle the lack of Rust support better | |
98 * matchers: use correct method for finding index in vector | |
99 * narrow: strip trailing `/` from manifest dir before matching it | |
100 * cext: fix potential memory leaks of list items appended with PyList_Append | |
101 * doc: document that labels must have a dot in them to have an effect | |
102 * debugformat: fix formatting for compression level | |
51504 | 103 * obsutil: sort metadata before comparing in geteffectflag() |
104 * crecord: drop calls to `curses.endwin()` | |
105 * rust-index: don't use mutable borrow for head-diff computation | |
106 * rust-index: don't use mutable borrow to computed filtered heads | |
107 | |
51440 | 108 |
109 == Backwards Compatibility Changes == | |
110 | |
111 Users of the Rust extensions and/or `rhg` should be aware that the new Rust | |
112 index can result in a performance degradation for push/pull on repositories | |
113 *not* using `persistent-nodemap` (see `hg help config.format.use-persistent-nodemap`). | |
114 | |
115 If this is something that matters to you, please reach out to us as this is not | |
116 an insurmountable obstacle. This is a choice base on the assumption that | |
117 there are few people in this situation and our time should be spent on more | |
118 pressing matters. | |
119 | |
120 == Internal API Changes == | |
121 | |
122 * 62913:498017baa34b "cleanup: remove some code scheduled to be removed after 5.9" | |
123 * 62914:88ef80210d67 "cleanup: drop `dirstate.is_changing_parent` deprecated since 6.5" | |
124 * 62915:591845f89ada "cleanup: drop `path.pushloc` deprecated since 6.5" | |
125 * 62916:d8f65fc72e7b "cleanup: drop deprecated config attribute on the revlog class" | |
126 * 62917:5c9c41273367 "cleanup: turn `pathsuboption` deprecation warning into an error" | |
127 * 62918:7b837fabc990 "cleanup: turn `wrappedfunction` deprecation warning into an error" | |
128 * 62919:eda075d7b2ac "cleanup: turn `wrapfunction` deprecation warning into an error" | |
129 * 62920:c845479fc64d "cleanup: drop the `bytes` compatibility for attribute related function" | |
130 * 63464:dcaa2df1f688 "changelog: never inline changelog" | |
131 * 63465:a93e52f0b6ff "changelog: disallow delayed write on inline changesets" | |
132 * 63825:79cd29d598af "dirstate: make the `transaction` argument of `setbranch` mandatory" | |
133 | |
134 == Miscellaneous == | |
135 | |
136 * perf: support --template on perf::phases | |
137 * perf: add a --as-push option to perf::unbundle | |
138 * debug: add a debug::unbundle command that simulate the unbundle from a push | |
139 * Lots of refactorings to prepare for performance improvements and remove tech debt |