[PATCH 4 of 4] revbranchcache: advertise and use 'rbc' exchange capability
Yuya Nishihara
yuya at tcha.org
Fri Jan 19 10:00:12 EST 2018
On Thu, 18 Jan 2018 16:38:47 +0100, Boris Feld wrote:
> # HG changeset patch
> # User Boris Feld <boris.feld at octobus.net>
> # Date 1516284622 -3600
> # Thu Jan 18 15:10:22 2018 +0100
> # Node ID 70277121f723577a57008607ef0536d23af8df2d
> # Parent 544af0806c0556e6281b38214466d5acd623b5f3
> # EXP-Topic wire-rbc
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 70277121f723
> revbranchcache: advertise and use 'rbc' exchange capability
>
> The feature is now advertised and use.
>
> Updating the branchmap cache can be very expensive (up to minutes on large
> repository) and fetching revision branch data is about 80% of that. Exchanging
> the rev branch cache over the wire really help to recover from branch map
> invalidation.
Correct me if I get it wrong. This is fast mainly because we no longer need
to uncompress changelog data to retrieve branch names.
It would be nice if some benchmark result were included in the commit message.
More information about the Mercurial-devel
mailing list