diff relnotes/next @ 46372:3e91d9978bec

branchmap: update rev-branch-cache incrementally Historically, the revision to branch mapping cache was updated on demand and shared via bundle2 to avoid the cost of rebuilding on first use. Use the new `register_changeset` callback and update rbc directly on every change. Make the transfer of the bundle part redundant, but keep it for the moment to avoid the test churn. Over all, "hg unbundle" for large bundles is less than 1.8% slower for different larger repositories and that seems to a reasonable trade off. Differential Revision: https://phab.mercurial-scm.org/D9781
author Joerg Sonnenberger <joerg@bec.de>
date Fri, 15 Jan 2021 01:58:59 +0100
parents cad17d50736c
children 1c66795862cf
line wrap: on
line diff
--- a/relnotes/next	Tue Jan 19 00:20:53 2021 +0100
+++ b/relnotes/next	Fri Jan 15 01:58:59 2021 +0100
@@ -44,6 +44,9 @@
  * The `branchmap` cache is updated more intelligently and can be
    significantly faster for repositories with many branches and changesets.
 
+ * The `rev-branch-cache` is now updated incrementally whenever changesets
+   are added.
+
 
 == New Experimental Features ==