Mon, 31 Jan 2022 18:38:15 +0100 transaction: do not rely on a global variable to post_finalize file
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 31 Jan 2022 18:38:15 +0100] rev 48685
transaction: do not rely on a global variable to post_finalize file We can just add a new argument to the `addfilegenerator` function. This is more explicit and therefor clearer and less error prone. Differential Revision: https://phab.mercurial-scm.org/D12125
Mon, 31 Jan 2022 08:44:48 +0100 dirstate: introduce a "tracked-key" feature
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 31 Jan 2022 08:44:48 +0100] rev 48684
dirstate: introduce a "tracked-key" feature A new format variant is introduced. When used, a `tracked-key` file will be generated. That file will be update when the set of tracked file might have changed. This will be useful for external automation (e.g. build tool) to be notified when the set of relevant files changes. One of the motivation for this changes is to mitigate effect dirstate-v2 has on such automation. Since the dirstate file is updated much more frequently on dirstate-v2, monitoring update to that file is no longer a viable strategy. See the associated documentation for details about the feature To prevent older client to update the repository without updating that file, a new requirements is introduced. The `postfinalizegenerators` business is a bit weird, so I'll likely clean that up soon. Differential Revision: https://phab.mercurial-scm.org/D12124
Mon, 31 Jan 2022 14:26:35 +0100 dirstate: rename the filegenerator used for writing
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 31 Jan 2022 14:26:35 +0100] rev 48683
dirstate: rename the filegenerator used for writing We will need a different name in the next changesets. Changing the name is actually not that trivial so we do it in its own changeset. Differential Revision: https://phab.mercurial-scm.org/D12123
Mon, 31 Jan 2022 08:23:54 +0100 dirstate: use a context manager when writing the dirstate
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 31 Jan 2022 08:23:54 +0100] rev 48682
dirstate: use a context manager when writing the dirstate This make sure the file is closed in a timely manner. We define a lambda for the file opening. It might seems a bit overkill here but a future changeset will need to do more of those. Differential Revision: https://phab.mercurial-scm.org/D12122
Wed, 02 Feb 2022 17:24:05 +0100 branching: merge stable into default
Raphaël Gomès <rgomes@octobus.net> [Wed, 02 Feb 2022 17:24:05 +0100] rev 48681
branching: merge stable into default
Wed, 02 Feb 2022 17:02:34 +0100 Added signature for changeset 75676122c2bf stable
Raphaël Gomès <rgomes@octobus.net> [Wed, 02 Feb 2022 17:02:34 +0100] rev 48680
Added signature for changeset 75676122c2bf
Wed, 02 Feb 2022 17:02:09 +0100 Added tag 6.0.2 for changeset 75676122c2bf stable
Raphaël Gomès <rgomes@octobus.net> [Wed, 02 Feb 2022 17:02:09 +0100] rev 48679
Added tag 6.0.2 for changeset 75676122c2bf
Wed, 02 Feb 2022 15:03:29 +0100 relnotes: add 6.0.1 and 6.0.2 notes stable 6.0.2
Raphaël Gomès <rgomes@octobus.net> [Wed, 02 Feb 2022 15:03:29 +0100] rev 48678
relnotes: add 6.0.1 and 6.0.2 notes Differential Revision: https://phab.mercurial-scm.org/D12130
Tue, 01 Feb 2022 15:19:50 +0100 branchmap: stop writing cache for uncommitted data stable
Pierre-Yves David <pierre-yves.david@octobus.net> [Tue, 01 Feb 2022 15:19:50 +0100] rev 48677
branchmap: stop writing cache for uncommitted data If we are about to write the branch while a transaction is active. we delay that write. After the transaction is closed, we flush all the write we delayed (unless they have been written in between). Differential Revision: https://phab.mercurial-scm.org/D12128
Mon, 31 Jan 2022 19:28:58 +0100 transaction: add a way to know a transaction has been finalized stable
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 31 Jan 2022 19:28:58 +0100] rev 48676
transaction: add a way to know a transaction has been finalized This will be useful to fix the timing of the branchmap on disk caching. Differential Revision: https://phab.mercurial-scm.org/D12127
(0) -30000 -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip