diff tests/test-rebase-conflicts.t @ 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 fa87536d3d70
children e2f7b2695ba1
line wrap: on
line diff
--- a/tests/test-rebase-conflicts.t	Tue Jan 19 00:20:53 2021 +0100
+++ b/tests/test-rebase-conflicts.t	Fri Jan 15 01:58:59 2021 +0100
@@ -318,10 +318,10 @@
   bundle2-input-part: total payload size 1686
   bundle2-input-part: "cache:rev-branch-cache" (advisory) supported
   bundle2-input-part: total payload size 74
-  truncating cache/rbc-revs-v1 to 56
   bundle2-input-part: "phase-heads" supported
   bundle2-input-part: total payload size 24
   bundle2-input-bundle: 3 parts total
+  truncating cache/rbc-revs-v1 to 72
   added 2 changesets with 2 changes to 1 files
   updating the branch cache
   invalid branch cache (served): tip differs