view relnotes/next @ 48242:4d2ab365699e

bookmarks: move the `mirror` option to the `paths` section A new `bookmarks` section with a `mirror` option have been added. That option has never been released yet. This new options is limited since it affect all paths without distinction. In case where a repository is interacting with multiple peers, being able to control behavior on a path basis can be quite valuable. In addition, having more variant of behavior would be interesting, especially a mode where no bookmark exchanged is tried at all. Such new mode (implemented later) make a lot of sense for configuration on a path-basis. Configuration of the default behavior is still possible through the usage of generic path configuration. The "old" config, becomes: [bookmarks] mirror=True becomes: [path] *:bookmarks.mode=mirror Differential Revision: https://phab.mercurial-scm.org/D11675
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 15 Oct 2021 03:49:05 +0200
parents ff2304dd3ba9
children 1eaf37369eba
line wrap: on
line source

== New Features ==
  * `debugrebuildfncache` now has an option to rebuild only the index files

  * a new `bookmarks.mode` path option have been introduced to control the
    bookmark update strategy during exchange with a peer. See hg help paths for
    details.


== Default Format Change ==

These changes affects newly created repositories (or new clone) done with
Mercurial 6.0.


== New Experimental Features ==

 * Added a new `web.full-garbage-collection-rate` to control performance. See
   de2e04fe4897a554b9ef433167f11ea4feb2e09c for more information

== Bug Fixes ==

 * `hg fix --working-dir` now correctly works when in an uncommitted merge state
 * `rhg` (Rust fast-path for `hg`) now supports the full config list syntax
 * `rhg` now parses some corner-cases for revsets correctly
 * `hg email -o` now works again when not mentioning a revision
 * Lots of Windows fixes
 * Lots of miscellaneous other fixes

== Backwards Compatibility Changes ==


== Internal API Changes ==

The following functions have been removed:

  * `dirstate.normal`
  * `dirstate.normallookup`
  * `dirstate.otherparent`
  * `dirstate.add`
  * `dirstate.remove`
  * `dirstate.drop`
  * `dirstate.__getitem__`

Miscellaneous:

 * `wireprotov1peer`'s `batchable` is now a simple function and not a generator
   anymore