relnotes/6.3
author Matt Harbison <matt_harbison@yahoo.com>
Wed, 23 Nov 2022 15:50:20 -0500
changeset 49649 df5d3b0d6472
parent 49624 c890d8b8bc59
child 49843 ae7065c0cd4c
permissions -rw-r--r--
typing: add missing signature for mercurial.cext.parsers.parse_index2() Flagged by pytype 2022.11.18 when the cext stubs are made visible to it. There are very likely other signatures that are missing, but this is enough to keep it happy for now.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49624
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     1
= Mercurial 6.3.1 =
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     2
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     3
 * memory-usage: fix `hg log --follow --rev R F` space complexity (dcb2581e33be)
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     4
 * Improve portability and robustness of test harness
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     5
 * hg-core: relax dependencies pinning
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     6
 * matcher: fix issues regex flag contained in pattern (issue6759)
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     7
 * matcher: do not prepend '.*' to pattern using ^ after flags
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     8
 * packaging: refresh dependency hashes (issue6750)
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
     9
 * cffi: fix a bytes vs str issue on macOS when listing directories
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
    10
 * commit: properly consider file include and exclude options when closing branch
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
    11
 * dirstate-v2: do not put the dirstate data file in a transaction
c890d8b8bc59 relnotes: add 6.3.1
Raphaël Gomès <rgomes@octobus.net>
parents: 49584
diff changeset
    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
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    14
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    15
== New Features ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    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
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    21
 * bundle: introduce a --exact option
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    22
 * perf-bundle: add a new command to benchmark bundle creation time
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    23
 * perf-bundle: accept --rev arguments
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    24
 * perf-bundle: accept --type argument
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    25
 * perf-unbundle: add a perf command to time the unbundle operation
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    26
 * perf: introduce a benchmark for delta-find
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    27
 * contrib: add support for rhel9
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    28
 * phase-shelve: Implement a 'shelve.store' experimental config
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    29
 * debug-delta-find: introduce a quiet mode
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    30
 * sort-revset: introduce a `random` variant
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    31
 * phase: introduce a dedicated requirement for the `archived` phase
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    32
 * rebase: add boolean config item rebase.store-source
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    33
 * rhg: make [rhg status -v] work when it needs no extra output
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    34
 * rhg: support "!" syntax for disabling extensions
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    35
 * rhg: add debugrhgsparse command to help figure out bugs in rhg
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    36
 * rhg: add sparse support
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    37
 * rhg-status: add support for narrow clones
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    38
 * templates: add filter to reverse list
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    39
 * contrib: add pull_logger extension
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    40
 * revset: handle wdir() in `roots()`
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    41
 * revset: handle wdir() in `sort(..., -topo)`
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    42
 * rhg: support tweakdefaults
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    43
 * rhg: parallellize computation of [unsure_is_modified]
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    44
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    45
== Default Format Change ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    46
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    47
These changes affect newly created repositories (or new clones) done with
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    48
Mercurial 6.3.
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    49
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    50
== New Experimental Features ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    51
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    52
== Bug Fixes ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    53
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    54
 * shelve: demonstrate that the state is different across platforms (issue6735)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    55
 * shelve: in test for trailing whitespace, strip commit (issue6735)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    56
 * shelve: remove strip and rely on prior state (issue6735)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    57
 * tests: fix http-bad-server expected errors for python 3.10 (issue6643)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    58
 * status: let `--no-copies` override `ui.statuscopies`
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    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
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    76
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    77
== Backwards Compatibility Changes ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    78
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    79
 * chg worker processes will now correctly load per-repository configuration
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    80
   when given a both a relative `--repository` path and an alternate working
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    81
   directory via `--cwd`. A side-effect of this change is that these workers
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    82
   will now return an error if hg cannot find the current working directory,
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    83
   even when a different directory is specified via `--cwd`.
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    84
 * phase: rename the requirement for internal-phase from `internal-phase` to `use-internal-phase` (see 74fb1842f8b962cf03d7cd5b841dbcf2ae065587)
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    85
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    86
== Internal API Changes ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    87
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    88
== Miscellaneous ==
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    89
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    90
 * sslutil: use proper attribute to select python 3.7+
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    91
 * typing: suppress a few pyi-errors with more recent pytype
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    92
 * ci: bump pytype to 2022.03.29
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    93
 * bundlespec: add documentation about existing option
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    94
 * subrepo: avoid opening console window for non-native subrepos on Windows
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    95
 * setup: unconditionally enable the `long-paths-support` option on Windows
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    96
 * setup: use the full executable manifest from `python.exe`
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    97
 * tests: work around libmagic bug in svn subrepo tests
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    98
 * packagelib: use python3 by default
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
    99
 * Improve `hg bisect` performance
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   100
 * perf: properly process formatter option in perf::unbundle
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   101
 * compare-disco: miscellaneous display improvements
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   102
 * fsmonitor: better compatibility with newer Pythons
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   103
 * revlog: finer computation of "issnapshot"
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   104
 * rhg: don't fallback if `strip` or `rebase` are activated
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   105
 * perf: make perf::bundle compatible before 61ba04693d65
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   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
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   108
 * run-tests: display the time it took to install Mercurial
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   109
 * mergetools: don't let meld open all changed files on startup
4e70efd5fd0e relnotes: add 6.3
Raphaël Gomès <rgomes@octobus.net>
parents:
diff changeset
   110
 * dirstate-v2: skip evaluation of hgignore regex on cached directories