| 1 |
# Mercurial 6.5 (2023-07-06) |
| 2 |
|
| 3 |
## Mercurial 6.5.3 |
| 4 |
|
| 5 |
- "hgweb: pass strings in WSGI environment correctly from wsgicgi" |
| 6 |
- "perf: introduce more cache invalidation option in perf::tags" |
| 7 |
- "perf: add a `--clear-fnode-cache-rev` argument to perf::tags" |
| 8 |
- "perf: add a --update-last flag to perf::tags" |
| 9 |
- "blackbox: add a option to duplicate output to stderr too" |
| 10 |
- "tags: avoid expensive access to repo.changelog in a loop" |
| 11 |
- "revlog: fix a bug where NULL_NODE failed to be resolved to NULL_REV" |
| 12 |
- "httppeer: fix static-http: scheme autodetection (issue6833)" |
| 13 |
- "tests: backed out changeset 8037ddacad47" |
| 14 |
- "stream-clone: fix a crash when a repo with an empty revlog is cloned" |
| 15 |
- "censor: accept censored revision during upgrade" |
| 16 |
- "revlog: avoid opening and closing the file for each cloned revision" |
| 17 |
|
| 18 |
## Mercurial 6.5.2 |
| 19 |
|
| 20 |
- hgweb: encode WSGI environment using the ISO-8859-1 codec |
| 21 |
- rhg: fix the bug where sparse config is interpreted as relglob instead of glob |
| 22 |
- gpg: fix an UnboundLocalError whenever using --force |
| 23 |
- transaction: fix __repr__() and make the default name bytes |
| 24 |
- setup: make the error "Unable to find a working hg binary" more informative |
| 25 |
- tests: avoid test environment affecting setup.py |
| 26 |
- run-tests: detect HGWITHRUSTEXT value |
| 27 |
|
| 28 |
## Mercurial 6.5.1 |
| 29 |
|
| 30 |
- A bunch of improvements to Python 3.12 compatibility |
| 31 |
- repoview: fix the filter created by `extrafilter` |
| 32 |
- Improve portability of the test suite |
| 33 |
- fncache: fix a bug that corrupts the fncache after transaction rollback |
| 34 |
- revlog: fix the naming scheme use by split temporary file |
| 35 |
- perf: fix perf::tags |
| 36 |
|
| 37 |
## Mercurial 6.5 |
| 38 |
|
| 39 |
As usual, a lot of patches don't make it to this list since they're more internal. |
| 40 |
|
| 41 |
### New Features |
| 42 |
|
| 43 |
- Improved Python 3.12 compatiblity |
| 44 |
- configitems: enable changegroup3 by default (unless using infinitepush) |
| 45 |
- extras: expose 'retained_extras' for extensions to extend |
| 46 |
- stabletailgraph: implement stable-tail sort |
| 47 |
- stabletailgraph: naive version of leap computation |
| 48 |
- bundle: introduce a "v3" spec |
| 49 |
- clone-bundles: add a basic first version of automatic bundle generation |
| 50 |
- clone-bundles: garbage collect older bundle when generating new ones |
| 51 |
- clone-bundles: only regenerate the clone bundle when cached ration is low |
| 52 |
- clone-bundles: also control automation based on absolute number of revisions |
| 53 |
- clone-bundles: add a configuration to control auto-generation on changes |
| 54 |
- clone-bundles: introduce a command to refresh bundle |
| 55 |
- clone-bundles: add a command to clear all bundles |
| 56 |
- clone-bundles: add an option to generate bundles in the background |
| 57 |
- clonebundles: add support for inline (streaming) clonebundles |
| 58 |
- clonebundles: adds a auto-generate.serve-inline option |
| 59 |
- match: add `filepath:` pattern to match an exact filepath relative to the root |
| 60 |
- hgweb: add "children" into the JSON template for a changeset |
| 61 |
- hgweb: add support to explicitly access hidden changesets |
| 62 |
- pull: add --remote-hidden option and pass it through peer creation |
| 63 |
- hidden: add support for --remote-hidden to HTTP peer |
| 64 |
- hidden: support passing --hidden with `serve --stdio` |
| 65 |
- hidden: add support to explicitly access hidden changesets with SSH peers |
| 66 |
- perf: introduce a `perf::stream-locked-section` command |
| 67 |
- perf: add a function to find a stream version generator |
| 68 |
- perf: add support for stream-v3 during benchmark |
| 69 |
- perf: add a perf::stream-generate command |
| 70 |
- perf: add a perf::stream-consume |
| 71 |
- cli: make debugnodemap capable of inspecting an arbitrary nodemap |
| 72 |
- rust: configure MSRV in Clippy |
| 73 |
- rhg: make `rhg files` work if `ui.relative-files=true` is specified |
| 74 |
- rhg: support `rhg files` with `ui.relative-paths=false` |
| 75 |
- rhg: support `status --print0` |
| 76 |
- tree-manifest: allow `debugupgraderepo` to run on tree manifest repo |
| 77 |
- library: enable runpy invocation on mercurial package |
| 78 |
- library: incorporate demandimport into runpy invocation |
| 79 |
- exchange: allow passing no includes/excludes to `pull()` |
| 80 |
|
| 81 |
### New Experimental Features |
| 82 |
|
| 83 |
- stream-clone: add an experimental v3 version of the protocol |
| 84 |
- stream-clone: support streamv3 on the cli [hg bundle] |
| 85 |
|
| 86 |
### Bug Fixes |
| 87 |
|
| 88 |
- mail: add a missing argument to properly override starttls |
| 89 |
- bundle: include required phases when saving a bundle (issue6794) |
| 90 |
- outgoing: fix common-heads computation from `missingroots` argument |
| 91 |
- strip: do not include internal changeset in the strip backup |
| 92 |
- bundle: abort if the user request bundling of internal changesets |
| 93 |
- bundle: prevent implicit bundling of internal changeset |
| 94 |
- encoding: avoid quadratic time complexity when json-encoding non-UTF8 strings |
| 95 |
- sha1dc: Make sure SHA1DC_BIGENDIAN is set on Darwin/PowerPC |
| 96 |
- zstd: hack include order to ensure that our zstd.h is found |
| 97 |
- dirstate: better error messages when dirstate is corrupted |
| 98 |
- stream-clone: avoid opening a revlog in case we do not need it |
| 99 |
- treemanifest: make `updatecaches` update the nodemaps for all directories |
| 100 |
- rust-hg-core: move from `ouroboros` to `self_cell` |
| 101 |
- rust-dependencies: switch from `users` to `whoami` |
| 102 |
- dirstate-v2: actually fix the dirstate-v2 upgrade race |
| 103 |
- dirstate: avoid leaking disk space in `hg debugrebuilddirstate` |
| 104 |
- clonebundles: add warning if auto-generate is enabled without formats |
| 105 |
- win32mbcs: unbyteify some strings for py3 support |
| 106 |
- rust-revlog: fix incorrect results with NULL_NODE prefixes |
| 107 |
- rust-revlog: fix RevlogEntry.data() for NULL_REVISION |
| 108 |
|
| 109 |
### Backwards Compatibility Changes |
| 110 |
|
| 111 |
- infinitepush: aggressively deprecated infinite push |
| 112 |
- narrow: indicated the default of 'Yes' when confirming auto-remove-includes |
| 113 |
|
| 114 |
### Internal API Changes |
| 115 |
|
| 116 |
- Store walk was reworked to fix small race conditions in stream-clone and |
| 117 |
greatly improve its API robustness and flexibility. |
| 118 |
|
| 119 |
### Miscellaneous |
| 120 |
|
| 121 |
- Typechecking support was improved in a lot of places |
| 122 |
- Removed more useless compat code for now unsupported Python versions |
| 123 |
- Sped up zstd usage in Rust contexts |
| 124 |
- revlog: add an exception hint when processing LFS flags without the extension |
| 125 |
- ui: keep the progress bar around when writing if stdout is not a tty |
| 126 |
- transaction: use a ".bck" extension for all backup file |