relnotes/next
author Simon Sapin <simon.sapin@octobus.net>
Fri, 15 Oct 2021 16:12:00 +0200
changeset 48250 1730b2fceaa1
parent 48242 4d2ab365699e
child 48302 1eaf37369eba
permissions -rw-r--r--
dirstate-v2: adds a flag to mark a file as modified Right now, a files with a file system state that requires a lookup (same size, different mtime) will requires a lookup. If the result of that lookup is a modified files, it will remains ambiguous, requiring a lookup on the next status run too. To fix this, we introduce a dedicated flag in the new format. Such flag will allow to record such file as "known modified" avoiding an extra lookup later. As None of the associate code currently exist in the status code, we do the minimal implementation: if we read a dirstate entry with this flag set, we make it as "ambiguous" so that the next status code has to look it up. The same as it would have to without this flag existing anyway. Differential Revision: https://phab.mercurial-scm.org/D11681
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42271
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
     1
== New Features ==
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
     2
  * `debugrebuildfncache` now has an option to rebuild only the index files
47071
3e381eb557f3 config: add --source option to include source of value
Martin von Zweigbergk <martinvonz@google.com>
parents: 47014
diff changeset
     3
48242
4d2ab365699e bookmarks: move the `mirror` option to the `paths` section
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48017
diff changeset
     4
  * a new `bookmarks.mode` path option have been introduced to control the
4d2ab365699e bookmarks: move the `mirror` option to the `paths` section
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48017
diff changeset
     5
    bookmark update strategy during exchange with a peer. See hg help paths for
4d2ab365699e bookmarks: move the `mirror` option to the `paths` section
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48017
diff changeset
     6
    details.
4d2ab365699e bookmarks: move the `mirror` option to the `paths` section
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48017
diff changeset
     7
46254
c4b792fa109e branchmap: avoid ancestor computations in absence of non-continous branches
Joerg Sonnenberger <joerg@bec.de>
parents: 46237
diff changeset
     8
46999
035c06f9fddf relnode: document the move to `zstd` as default compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46998
diff changeset
     9
== Default Format Change ==
035c06f9fddf relnode: document the move to `zstd` as default compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46998
diff changeset
    10
035c06f9fddf relnode: document the move to `zstd` as default compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46998
diff changeset
    11
These changes affects newly created repositories (or new clone) done with
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    12
Mercurial 6.0.
46999
035c06f9fddf relnode: document the move to `zstd` as default compression
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46998
diff changeset
    13
47000
c3eee5ad1de9 relnote: document the use of persistent-nodemap by default for Rust build
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46999
diff changeset
    14
44367
9dab3fa64325 copy: add experimental support for marking committed copies
Martin von Zweigbergk <martinvonz@google.com>
parents: 44365
diff changeset
    15
== New Experimental Features ==
44343
8561ad49915d revset: add a revset for parents in merge state
Martin von Zweigbergk <martinvonz@google.com>
parents: 44289
diff changeset
    16
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    17
 * Added a new `web.full-garbage-collection-rate` to control performance. See
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    18
   de2e04fe4897a554b9ef433167f11ea4feb2e09c for more information
45191
fc54f52779dd relnotes: add release notes for relevant changes I did since the 5.4 release
Manuel Jacob <me@manueljacob.de>
parents: 45190
diff changeset
    19
fc54f52779dd relnotes: add release notes for relevant changes I did since the 5.4 release
Manuel Jacob <me@manueljacob.de>
parents: 45190
diff changeset
    20
== Bug Fixes ==
fc54f52779dd relnotes: add release notes for relevant changes I did since the 5.4 release
Manuel Jacob <me@manueljacob.de>
parents: 45190
diff changeset
    21
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    22
 * `hg fix --working-dir` now correctly works when in an uncommitted merge state
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    23
 * `rhg` (Rust fast-path for `hg`) now supports the full config list syntax
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    24
 * `rhg` now parses some corner-cases for revsets correctly
48017
ff2304dd3ba9 patchbomb: fix traceback on outgoing when not specifying revisions
Raphaël Gomès <rgomes@octobus.net>
parents: 47978
diff changeset
    25
 * `hg email -o` now works again when not mentioning a revision
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    26
 * Lots of Windows fixes
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    27
 * Lots of miscellaneous other fixes
45189
045f5361bd12 relnotes: make spacing before new section consistent
Manuel Jacob <me@manueljacob.de>
parents: 45169
diff changeset
    28
42271
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
    29
== Backwards Compatibility Changes ==
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
    30
44396
acbfa31cfaf2 debugmergestate: make templated
Martin von Zweigbergk <martinvonz@google.com>
parents: 44392
diff changeset
    31
42271
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
    32
== Internal API Changes ==
0ed293a3f00e releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff changeset
    33
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    34
The following functions have been removed:
47758
ec77f709495c relnotes: document the change in the dirstate API
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47071
diff changeset
    35
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    36
  * `dirstate.normal`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    37
  * `dirstate.normallookup`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    38
  * `dirstate.otherparent`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    39
  * `dirstate.add`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    40
  * `dirstate.remove`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    41
  * `dirstate.drop`
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    42
  * `dirstate.__getitem__`
47758
ec77f709495c relnotes: document the change in the dirstate API
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47071
diff changeset
    43
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    44
Miscellaneous:
47758
ec77f709495c relnotes: document the change in the dirstate API
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47071
diff changeset
    45
47978
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    46
 * `wireprotov1peer`'s `batchable` is now a simple function and not a generator
bad66df931b5 relnotes: update next
Raphaël Gomès <rgomes@octobus.net>
parents: 47758
diff changeset
    47
   anymore