Mercurial > hg
annotate relnotes/6.3 @ 49944:8f76a41ee465
debugshell: allow commands to be specified as a CLI argument
Add a `--command` option to `hg debugshell` that allows the user to pass in
Python code to evaluate directly from the command line. This was inspired by
the `--command` option present in Facebook's Sapling fork of Mercurial,
which in turn was inspired by the `-c` option of the Python interpreter
itself. It is particularly useful for writing tests, especially for getting
visibility into things that otherwise aren't exposed via debug commands.
author | Arun Kulshreshtha <akulshreshtha@janestreet.com> |
---|---|
date | Thu, 19 Jan 2023 11:12:20 -0500 |
parents | d5ca12dbfcde |
children | 8830004967ad |
rev | line source |
---|---|
49843 | 1 = Mercurial 6.3.2 = |
2 | |
3 * [ecfc84b956a8] tests: expect the message from 1baf0fffd82f in test-hghave.t (issue6762) | |
4 * [5c095119bff4] tests: add the missing space to test-hghave.t (issue6762) | |
5 * [2c346c1c75ec] tests: use an all too familiar executable in test-run-tests.t (issue6661) | |
6 * [13c0e3b4fd35] tests: use `test -f` instead of `ls` to see if a file is present (issue6662) | |
7 * [8ced4ca30ea1] bisect: correct message about aborting an in-progress bisect (issue6527) | |
49844
d5ca12dbfcde
relnotes: last-minute addition to 6.3.2
Raphaël Gomès <rgomes@octobus.net>
parents:
49843
diff
changeset
|
8 * filemerge: fix crash when using filesets in [partial-merge-tools] |
49843 | 9 * help: fix a py3 error interpolating Set into b'%s' |
10 * match: make the FLAG_RE pattern a raw string | |
11 * python-compat: adapt to Python 3.11 BC breakage with `random.sample` | |
12 * rust-status: fix thread count ceiling | |
13 * hg: show the correct message when cloning an LFS repo with extension disabled | |
14 * extensions: process disabled external paths when `hgext` package is in-memory | |
15 * emitrevision: consider ancestors revision to emit as available base | |
16 * make: add a target for building pyoxidizer tests on macOS | |
17 * run-tests: support --pyoxidized on macOS | |
18 * packaging: add dependencies to the PyOxidizer build on macOS | |
19 * Miscellaneous test fixes | |
20 | |
49624 | 21 = Mercurial 6.3.1 = |
22 | |
23 * memory-usage: fix `hg log --follow --rev R F` space complexity (dcb2581e33be) | |
24 * Improve portability and robustness of test harness | |
25 * hg-core: relax dependencies pinning | |
26 * matcher: fix issues regex flag contained in pattern (issue6759) | |
27 * matcher: do not prepend '.*' to pattern using ^ after flags | |
28 * packaging: refresh dependency hashes (issue6750) | |
29 * cffi: fix a bytes vs str issue on macOS when listing directories | |
30 * commit: properly consider file include and exclude options when closing branch | |
31 * dirstate-v2: do not put the dirstate data file in a transaction | |
32 | |
49584
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
33 = Mercurial 6.3 = |
49531 | 34 |
35 == New Features == | |
36 | |
49584
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
37 * 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
|
38 * rhg: add `config.rhg` helptext |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
39 * 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
|
40 * rhg: add a config option to fall back immediately |
49531 | 41 * bundle: introduce a --exact option |
42 * perf-bundle: add a new command to benchmark bundle creation time | |
43 * perf-bundle: accept --rev arguments | |
44 * perf-bundle: accept --type argument | |
45 * perf-unbundle: add a perf command to time the unbundle operation | |
46 * perf: introduce a benchmark for delta-find | |
47 * contrib: add support for rhel9 | |
48 * phase-shelve: Implement a 'shelve.store' experimental config | |
49 * debug-delta-find: introduce a quiet mode | |
50 * sort-revset: introduce a `random` variant | |
51 * phase: introduce a dedicated requirement for the `archived` phase | |
52 * rebase: add boolean config item rebase.store-source | |
53 * rhg: make [rhg status -v] work when it needs no extra output | |
54 * rhg: support "!" syntax for disabling extensions | |
55 * rhg: add debugrhgsparse command to help figure out bugs in rhg | |
56 * rhg: add sparse support | |
57 * rhg-status: add support for narrow clones | |
58 * templates: add filter to reverse list | |
59 * contrib: add pull_logger extension | |
60 * revset: handle wdir() in `roots()` | |
61 * revset: handle wdir() in `sort(..., -topo)` | |
62 * rhg: support tweakdefaults | |
63 * rhg: parallellize computation of [unsure_is_modified] | |
64 | |
65 == Default Format Change == | |
66 | |
67 These changes affect newly created repositories (or new clones) done with | |
68 Mercurial 6.3. | |
69 | |
70 == New Experimental Features == | |
71 | |
72 == Bug Fixes == | |
73 | |
74 * shelve: demonstrate that the state is different across platforms (issue6735) | |
75 * shelve: in test for trailing whitespace, strip commit (issue6735) | |
76 * shelve: remove strip and rely on prior state (issue6735) | |
77 * tests: fix http-bad-server expected errors for python 3.10 (issue6643) | |
78 * status: let `--no-copies` override `ui.statuscopies` | |
79 * 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
|
80 * 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
|
81 * 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
|
82 * 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
|
83 * 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
|
84 * 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
|
85 * 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
|
86 * 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
|
87 * 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
|
88 * 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
|
89 * 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
|
90 * rhg: fallback when encountering ellipsis revisions |
684e0085fed7
relnotes: add final 6.3 relnotes
Raphaël Gomès <rgomes@octobus.net>
parents:
49531
diff
changeset
|
91 * 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
|
92 * 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
|
93 * 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
|
94 * 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
|
95 * rust: create wrapper struct to reduce `regex` contention issues |
49531 | 96 |
97 == Backwards Compatibility Changes == | |
98 | |
99 * chg worker processes will now correctly load per-repository configuration | |
100 when given a both a relative `--repository` path and an alternate working | |
101 directory via `--cwd`. A side-effect of this change is that these workers | |
102 will now return an error if hg cannot find the current working directory, | |
103 even when a different directory is specified via `--cwd`. | |
104 * phase: rename the requirement for internal-phase from `internal-phase` to `use-internal-phase` (see 74fb1842f8b962cf03d7cd5b841dbcf2ae065587) | |
105 | |
106 == Internal API Changes == | |
107 | |
108 == Miscellaneous == | |
109 | |
110 * sslutil: use proper attribute to select python 3.7+ | |
111 * typing: suppress a few pyi-errors with more recent pytype | |
112 * ci: bump pytype to 2022.03.29 | |
113 * bundlespec: add documentation about existing option | |
114 * subrepo: avoid opening console window for non-native subrepos on Windows | |
115 * setup: unconditionally enable the `long-paths-support` option on Windows | |
116 * setup: use the full executable manifest from `python.exe` | |
117 * tests: work around libmagic bug in svn subrepo tests | |
118 * packagelib: use python3 by default | |
119 * Improve `hg bisect` performance | |
120 * perf: properly process formatter option in perf::unbundle | |
121 * compare-disco: miscellaneous display improvements | |
122 * fsmonitor: better compatibility with newer Pythons | |
123 * revlog: finer computation of "issnapshot" | |
124 * rhg: don't fallback if `strip` or `rebase` are activated | |
125 * perf: make perf::bundle compatible before 61ba04693d65 | |
126 * 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
|
127 * perf-unbundle: improve compatibility |
49531 | 128 * run-tests: display the time it took to install Mercurial |
129 * mergetools: don't let meld open all changed files on startup | |
130 * dirstate-v2: skip evaluation of hgignore regex on cached directories |