Mercurial > public > mercurial-scm > hg-stable
annotate relnotes/next @ 48254: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 |
rev | line source |
---|---|
42298
0ed293a3f00e
releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff
changeset
|
1 == New Features == |
47878 | 2 * `debugrebuildfncache` now has an option to rebuild only the index files |
47088
3e381eb557f3
config: add --source option to include source of value
Martin von Zweigbergk <martinvonz@google.com>
parents:
47013
diff
changeset
|
3 |
48254
4d2ab365699e
bookmarks: move the `mirror` option to the `paths` section
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47882
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:
47882
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:
47882
diff
changeset
|
6 details. |
4d2ab365699e
bookmarks: move the `mirror` option to the `paths` section
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47882
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 |
47878 | 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 |
44401
9dab3fa64325
copy: add experimental support for marking committed copies
Martin von Zweigbergk <martinvonz@google.com>
parents:
44399
diff
changeset
|
15 == New Experimental Features == |
44377
8561ad49915d
revset: add a revset for parents in merge state
Martin von Zweigbergk <martinvonz@google.com>
parents:
44335
diff
changeset
|
16 |
47878 | 17 * Added a new `web.full-garbage-collection-rate` to control performance. See |
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 |
47878 | 22 * `hg fix --working-dir` now correctly works when in an uncommitted merge state |
23 * `rhg` (Rust fast-path for `hg`) now supports the full config list syntax | |
24 * `rhg` now parses some corner-cases for revsets correctly | |
47882
ff2304dd3ba9
patchbomb: fix traceback on outgoing when not specifying revisions
Rapha?l Gom?s <rgomes@octobus.net>
parents:
47878
diff
changeset
|
25 * `hg email -o` now works again when not mentioning a revision |
47878 | 26 * Lots of Windows fixes |
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 |
42298
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 |
44427
acbfa31cfaf2
debugmergestate: make templated
Martin von Zweigbergk <martinvonz@google.com>
parents:
44423
diff
changeset
|
31 |
42298
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 |
47878 | 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:
47088
diff
changeset
|
35 |
47878 | 36 * `dirstate.normal` |
37 * `dirstate.normallookup` | |
38 * `dirstate.otherparent` | |
39 * `dirstate.add` | |
40 * `dirstate.remove` | |
41 * `dirstate.drop` | |
42 * `dirstate.__getitem__` | |
47758
ec77f709495c
relnotes: document the change in the dirstate API
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47088
diff
changeset
|
43 |
47878 | 44 Miscellaneous: |
47758
ec77f709495c
relnotes: document the change in the dirstate API
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47088
diff
changeset
|
45 |
47878 | 46 * `wireprotov1peer`'s `batchable` is now a simple function and not a generator |
47 anymore |