Mercurial > hg
annotate relnotes/6.3 @ 49781:f4a363b25859 stable
extensions: load help from hgext.__index__ as a fallback this time
Prior to 843418dc0b1b, `hgext.__index__` was consulted first if present, which
caused the longer help from the extension modules to be ignored, even when
available. But that change causes a bunch of test failures when the pyoxidized
binary bundles *.pyc in the binary, saying the there's no help topic for
`hg help $disabled_extension` and suggesting the use of `--keyword`, rather than
showing a summary and indicating that it is disabled. Current failures were in
test-check-help.t, test-extension.t, test-help.t, and test-qrecord.t.
Ideally, we would read the various *.pyc files from memory and slurp in the
docstring, but I know that they used to not be readable as resources, and I
can't figure out how to make it work now. So maybe 3.9 and/or the current
PyOxidizer doesn't support it yet. I got closer in py2exe with
`importlib.resources.open_binary("hgext", "rebase.pyc")`, but `open_binary()` on
*.pyc fails in pyoxidizer.[1] Either way, the *.pyc can't be passed to
`ast.parse()` as `extensions._disabledcmdtable()` is doing, so I'm setting that
aside for now.
[1] https://github.com/indygreg/PyOxidizer/issues/649
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 05 Dec 2022 16:05:04 -0500 |
parents | c890d8b8bc59 |
children | ae7065c0cd4c |
rev | line source |
---|---|
49624 | 1 = Mercurial 6.3.1 = |
2 | |
3 * memory-usage: fix `hg log --follow --rev R F` space complexity (dcb2581e33be) | |
4 * Improve portability and robustness of test harness | |
5 * hg-core: relax dependencies pinning | |
6 * matcher: fix issues regex flag contained in pattern (issue6759) | |
7 * matcher: do not prepend '.*' to pattern using ^ after flags | |
8 * packaging: refresh dependency hashes (issue6750) | |
9 * cffi: fix a bytes vs str issue on macOS when listing directories | |
10 * commit: properly consider file include and exclude options when closing branch | |
11 * dirstate-v2: do not put the dirstate data file in a transaction | |
12 | |
49584
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
13 = Mercurial 6.3 = |
49531 | 14 |
15 == New Features == | |
16 | |
49584
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
17 * testlib: add `--raw-sha1` option to `f` |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
18 * rhg: add `config.rhg` helptext |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
19 * config: add alias from `hg help rhg` to `hg help rust` |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
20 * rhg: add a config option to fall back immediately |
49531 | 21 * bundle: introduce a --exact option |
22 * perf-bundle: add a new command to benchmark bundle creation time | |
23 * perf-bundle: accept --rev arguments | |
24 * perf-bundle: accept --type argument | |
25 * perf-unbundle: add a perf command to time the unbundle operation | |
26 * perf: introduce a benchmark for delta-find | |
27 * contrib: add support for rhel9 | |
28 * phase-shelve: Implement a 'shelve.store' experimental config | |
29 * debug-delta-find: introduce a quiet mode | |
30 * sort-revset: introduce a `random` variant | |
31 * phase: introduce a dedicated requirement for the `archived` phase | |
32 * rebase: add boolean config item rebase.store-source | |
33 * rhg: make [rhg status -v] work when it needs no extra output | |
34 * rhg: support "!" syntax for disabling extensions | |
35 * rhg: add debugrhgsparse command to help figure out bugs in rhg | |
36 * rhg: add sparse support | |
37 * rhg-status: add support for narrow clones | |
38 * templates: add filter to reverse list | |
39 * contrib: add pull_logger extension | |
40 * revset: handle wdir() in `roots()` | |
41 * revset: handle wdir() in `sort(..., -topo)` | |
42 * rhg: support tweakdefaults | |
43 * rhg: parallellize computation of [unsure_is_modified] | |
44 | |
45 == Default Format Change == | |
46 | |
47 These changes affect newly created repositories (or new clones) done with | |
48 Mercurial 6.3. | |
49 | |
50 == New Experimental Features == | |
51 | |
52 == Bug Fixes == | |
53 | |
54 * shelve: demonstrate that the state is different across platforms (issue6735) | |
55 * shelve: in test for trailing whitespace, strip commit (issue6735) | |
56 * shelve: remove strip and rely on prior state (issue6735) | |
57 * tests: fix http-bad-server expected errors for python 3.10 (issue6643) | |
58 * status: let `--no-copies` override `ui.statuscopies` | |
59 * releasenotes: use re.MULTILINE mode when checking admonitions | |
49584
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
60 * rhg: fallback to slow path on invalid patterns in hgignore |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
61 * Fix a bunch of leftover str/bytes issues from Python 3 migration |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
62 * keepalive: ensure `close_all()` actually closes all cached connections |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
63 * lfs: fix blob corruption when tranferring with workers on posix |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
64 * lfs: avoid closing connections when the worker doesn't fork |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
65 * dirstate-v2: update constant that wasn't kept in sync |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
66 * dirstate-v2: fix edge case where entries aren't sorted |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
67 * upgrade: no longer keep all revlogs in memory at any point |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
68 * rust-status: save new dircache even if just invalidated |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
69 * dirstate-v2: hash the source of the ignore patterns as well |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
70 * rhg: fallback when encountering ellipsis revisions |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
71 * shelve: handle empty parents and nodestoremove in shelvedstate (issue6748) |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
72 * profile: prevent a crash when line number is unknown |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
73 * tags-fnode-cache: do not repeatedly open the filelog in a loop |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
74 * tags-fnode-cache: skip building a changectx in getfnode |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
75 * rust: create wrapper struct to reduce `regex` contention issues |
49531 | 76 |
77 == Backwards Compatibility Changes == | |
78 | |
79 * chg worker processes will now correctly load per-repository configuration | |
80 when given a both a relative `--repository` path and an alternate working | |
81 directory via `--cwd`. A side-effect of this change is that these workers | |
82 will now return an error if hg cannot find the current working directory, | |
83 even when a different directory is specified via `--cwd`. | |
84 * phase: rename the requirement for internal-phase from `internal-phase` to `use-internal-phase` (see 74fb1842f8b962cf03d7cd5b841dbcf2ae065587) | |
85 | |
86 == Internal API Changes == | |
87 | |
88 == Miscellaneous == | |
89 | |
90 * sslutil: use proper attribute to select python 3.7+ | |
91 * typing: suppress a few pyi-errors with more recent pytype | |
92 * ci: bump pytype to 2022.03.29 | |
93 * bundlespec: add documentation about existing option | |
94 * subrepo: avoid opening console window for non-native subrepos on Windows | |
95 * setup: unconditionally enable the `long-paths-support` option on Windows | |
96 * setup: use the full executable manifest from `python.exe` | |
97 * tests: work around libmagic bug in svn subrepo tests | |
98 * packagelib: use python3 by default | |
99 * Improve `hg bisect` performance | |
100 * perf: properly process formatter option in perf::unbundle | |
101 * compare-disco: miscellaneous display improvements | |
102 * fsmonitor: better compatibility with newer Pythons | |
103 * revlog: finer computation of "issnapshot" | |
104 * rhg: don't fallback if `strip` or `rebase` are activated | |
105 * perf: make perf::bundle compatible before 61ba04693d65 | |
106 * perf: make perf::bundle compatible down to 5.2 | |
49584
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
107 * perf-unbundle: improve compatibility |
49531 | 108 * run-tests: display the time it took to install Mercurial |
109 * mergetools: don't let meld open all changed files on startup | |
110 * dirstate-v2: skip evaluation of hgignore regex on cached directories |