| 1 |
# Mercurial 6.3 (2022-11-09) |
| 2 |
|
| 3 |
## Mercurial 6.3.3 |
| 4 |
|
| 5 |
- tests: filter out PEP 657 error locations in tracebacks (issue6780) |
| 6 |
- tests: optional PEP 657 error location in test-extension.t (issue6781) |
| 7 |
- tests: optional PEP 657 error location in test-lfs-serve-access.t (issue6782) |
| 8 |
- histedit: byteify the help for the multifold action |
| 9 |
- sparse: fix a py2 based usage of `map()` |
| 10 |
- convert: stop passing str to the dateutil API in darcs |
| 11 |
- convert: turn the last str regex into bytes in cvs.py (issue6789) |
| 12 |
- convert: change socket mode from b'r+' to 'rwb' in cvs.py (issue6789) |
| 13 |
- convert: replace repr() by pycompat.byterepr() in cvsps.py (issue6789) |
| 14 |
- tests: os module is frozen in Python 3.11 (issue6786) |
| 15 |
- hgweb: unbyteify the 100-continue check |
| 16 |
- resourceutil: start using importlib.resources.files() when possible |
| 17 |
- revset: the `random` sort should not depend on sys.maxsize (issue6770) |
| 18 |
- tests: make sure pygments can detect python script without extension |
| 19 |
- convert: brz 3.3.0 moved NoSuchFile exception to breezy.transport |
| 20 |
- tests: pygments 2.14+ highlight whitespace in python code |
| 21 |
- hghave: make different has_pyoxidizer functions have different names |
| 22 |
- hghave: refactor checks for pygments versions using checkvers() |
| 23 |
- rust-narrow: fix loop that never loops |
| 24 |
- scmutil: make checknewlabel() allow "_" in otherwise numeric names (issue6737) |
| 25 |
- bundlerepo: enforce the requirements declared by the underlying repository |
| 26 |
- setup: make the version computation process more resistant |
| 27 |
- fix: add more information to the debug output |
| 28 |
- tag: disallow tagging the working directory |
| 29 |
- dirstate: handle missing backup file on restoration |
| 30 |
- dirstate-v2: complain early on docket name collision |
| 31 |
- rust: upgrade minimum `rayon` dependency |
| 32 |
- setup: support building from an ongoing merge |
| 33 |
- rust: add debug log about skipping dirstate update |
| 34 |
- rust-dirstate: trace append/no append to help debugging |
| 35 |
- dirstate-v2: don't mmap the data file when on NFS |
| 36 |
- run-tests: make it possible to nest conditionals |
| 37 |
- dirstate: add some debug output when writing the dirstate |
| 38 |
- testing: introduce util function to synchronize concurrent commands on files |
| 39 |
- dirstate: add a way to test races happening during status |
| 40 |
- dirstate: use more than a bool to control append behavior |
| 41 |
- dirstate-v2: add devel config option to control write behavior |
| 42 |
- rhg: fix race when a fixup file is deleted on disk |
| 43 |
- rhg: fix race when an ambiguous file is deleted on disk |
| 44 |
- dirstate: deal with read-race for pure python code |
| 45 |
- dirstate: deal with read-race for python code using rust object |
| 46 |
- dirstate: deal with read-race for pure rust code path (rhg) |
| 47 |
- dirstate: set identity whenever we read the dirstate's v2 docket |
| 48 |
- rust-dirstate-v2: don't write dirstate if data file has changed |
| 49 |
- rhg: remember the inode of .hg/dirstate |
| 50 |
|
| 51 |
## Mercurial 6.3.2 |
| 52 |
|
| 53 |
- [ecfc84b956a8] tests: expect the message from 1baf0fffd82f in test-hghave.t (issue6762) |
| 54 |
- [5c095119bff4] tests: add the missing space to test-hghave.t (issue6762) |
| 55 |
- [2c346c1c75ec] tests: use an all too familiar executable in test-run-tests.t (issue6661) |
| 56 |
- [13c0e3b4fd35] tests: use `test -f` instead of `ls` to see if a file is present (issue6662) |
| 57 |
- [8ced4ca30ea1] bisect: correct message about aborting an in-progress bisect (issue6527) |
| 58 |
- filemerge: fix crash when using filesets in [partial-merge-tools] |
| 59 |
- help: fix a py3 error interpolating Set into b'%s' |
| 60 |
- match: make the FLAG_RE pattern a raw string |
| 61 |
- python-compat: adapt to Python 3.11 BC breakage with `random.sample` |
| 62 |
- rust-status: fix thread count ceiling |
| 63 |
- hg: show the correct message when cloning an LFS repo with extension disabled |
| 64 |
- extensions: process disabled external paths when `hgext` package is in-memory |
| 65 |
- emitrevision: consider ancestors revision to emit as available base |
| 66 |
- make: add a target for building pyoxidizer tests on macOS |
| 67 |
- run-tests: support --pyoxidized on macOS |
| 68 |
- packaging: add dependencies to the PyOxidizer build on macOS |
| 69 |
- Miscellaneous test fixes |
| 70 |
|
| 71 |
## Mercurial 6.3.1 |
| 72 |
|
| 73 |
- memory-usage: fix `hg log --follow --rev R F` space complexity (dcb2581e33be) |
| 74 |
- Improve portability and robustness of test harness |
| 75 |
- hg-core: relax dependencies pinning |
| 76 |
- matcher: fix issues regex flag contained in pattern (issue6759) |
| 77 |
- matcher: do not prepend '.*' to pattern using ^ after flags |
| 78 |
- packaging: refresh dependency hashes (issue6750) |
| 79 |
- cffi: fix a bytes vs str issue on macOS when listing directories |
| 80 |
- commit: properly consider file include and exclude options when closing branch |
| 81 |
- dirstate-v2: do not put the dirstate data file in a transaction |
| 82 |
|
| 83 |
## Mercurial 6.3 |
| 84 |
|
| 85 |
### New Features |
| 86 |
|
| 87 |
- testlib: add `--raw-sha1` option to `f` |
| 88 |
- rhg: add `config.rhg` helptext |
| 89 |
- config: add alias from `hg help rhg` to `hg help rust` |
| 90 |
- rhg: add a config option to fall back immediately |
| 91 |
- bundle: introduce a --exact option |
| 92 |
- perf-bundle: add a new command to benchmark bundle creation time |
| 93 |
- perf-bundle: accept --rev arguments |
| 94 |
- perf-bundle: accept --type argument |
| 95 |
- perf-unbundle: add a perf command to time the unbundle operation |
| 96 |
- perf: introduce a benchmark for delta-find |
| 97 |
- contrib: add support for rhel9 |
| 98 |
- phase-shelve: Implement a 'shelve.store' experimental config |
| 99 |
- debug-delta-find: introduce a quiet mode |
| 100 |
- sort-revset: introduce a `random` variant |
| 101 |
- phase: introduce a dedicated requirement for the `archived` phase |
| 102 |
- rebase: add boolean config item rebase.store-source |
| 103 |
- rhg: make [rhg status -v] work when it needs no extra output |
| 104 |
- rhg: support "!" syntax for disabling extensions |
| 105 |
- rhg: add debugrhgsparse command to help figure out bugs in rhg |
| 106 |
- rhg: add sparse support |
| 107 |
- rhg-status: add support for narrow clones |
| 108 |
- templates: add filter to reverse list |
| 109 |
- contrib: add pull_logger extension |
| 110 |
- revset: handle wdir() in `roots()` |
| 111 |
- revset: handle wdir() in `sort(..., -topo)` |
| 112 |
- rhg: support tweakdefaults |
| 113 |
- rhg: parallellize computation of [unsure_is_modified] |
| 114 |
|
| 115 |
### Default Format Change |
| 116 |
|
| 117 |
These changes affect newly created repositories (or new clones) done with |
| 118 |
Mercurial 6.3. |
| 119 |
|
| 120 |
### New Experimental Features |
| 121 |
|
| 122 |
### Bug Fixes |
| 123 |
|
| 124 |
- shelve: demonstrate that the state is different across platforms (issue6735) |
| 125 |
- shelve: in test for trailing whitespace, strip commit (issue6735) |
| 126 |
- shelve: remove strip and rely on prior state (issue6735) |
| 127 |
- tests: fix http-bad-server expected errors for python 3.10 (issue6643) |
| 128 |
- status: let `--no-copies` override `ui.statuscopies` |
| 129 |
- releasenotes: use re.MULTILINE mode when checking admonitions |
| 130 |
- rhg: fallback to slow path on invalid patterns in hgignore |
| 131 |
- Fix a bunch of leftover str/bytes issues from Python 3 migration |
| 132 |
- keepalive: ensure `close_all()` actually closes all cached connections |
| 133 |
- lfs: fix blob corruption when tranferring with workers on posix |
| 134 |
- lfs: avoid closing connections when the worker doesn't fork |
| 135 |
- dirstate-v2: update constant that wasn't kept in sync |
| 136 |
- dirstate-v2: fix edge case where entries aren't sorted |
| 137 |
- upgrade: no longer keep all revlogs in memory at any point |
| 138 |
- rust-status: save new dircache even if just invalidated |
| 139 |
- dirstate-v2: hash the source of the ignore patterns as well |
| 140 |
- rhg: fallback when encountering ellipsis revisions |
| 141 |
- shelve: handle empty parents and nodestoremove in shelvedstate (issue6748) |
| 142 |
- profile: prevent a crash when line number is unknown |
| 143 |
- tags-fnode-cache: do not repeatedly open the filelog in a loop |
| 144 |
- tags-fnode-cache: skip building a changectx in getfnode |
| 145 |
- rust: create wrapper struct to reduce `regex` contention issues |
| 146 |
|
| 147 |
### Backwards Compatibility Changes |
| 148 |
|
| 149 |
- chg worker processes will now correctly load per-repository configuration |
| 150 |
when given a both a relative `--repository` path and an alternate working |
| 151 |
directory via `--cwd`. A side-effect of this change is that these workers |
| 152 |
will now return an error if hg cannot find the current working directory, |
| 153 |
even when a different directory is specified via `--cwd`. |
| 154 |
- phase: rename the requirement for internal-phase from `internal-phase` to `use-internal-phase` (see 74fb1842f8b962cf03d7cd5b841dbcf2ae065587) |
| 155 |
|
| 156 |
### Internal API Changes |
| 157 |
|
| 158 |
### Miscellaneous |
| 159 |
|
| 160 |
- sslutil: use proper attribute to select python 3.7+ |
| 161 |
- typing: suppress a few pyi-errors with more recent pytype |
| 162 |
- ci: bump pytype to 2022.03.29 |
| 163 |
- bundlespec: add documentation about existing option |
| 164 |
- subrepo: avoid opening console window for non-native subrepos on Windows |
| 165 |
- setup: unconditionally enable the `long-paths-support` option on Windows |
| 166 |
- setup: use the full executable manifest from `python.exe` |
| 167 |
- tests: work around libmagic bug in svn subrepo tests |
| 168 |
- packagelib: use python3 by default |
| 169 |
- Improve `hg bisect` performance |
| 170 |
- perf: properly process formatter option in perf::unbundle |
| 171 |
- compare-disco: miscellaneous display improvements |
| 172 |
- fsmonitor: better compatibility with newer Pythons |
| 173 |
- revlog: finer computation of "issnapshot" |
| 174 |
- rhg: don't fallback if `strip` or `rebase` are activated |
| 175 |
- perf: make perf::bundle compatible before 61ba04693d65 |
| 176 |
- perf: make perf::bundle compatible down to 5.2 |
| 177 |
- perf-unbundle: improve compatibility |
| 178 |
- run-tests: display the time it took to install Mercurial |
| 179 |
- mergetools: don't let meld open all changed files on startup |
| 180 |
- dirstate-v2: skip evaluation of hgignore regex on cached directories |