[PATCH 5 of 5 RFC] exchange: support phases discovery via public heads

Mike Hommey mh at glandium.org
Mon Feb 15 21:47:04 EST 2016


On Mon, Feb 15, 2016 at 06:03:36PM -0800, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1455588068 28800
> #      Mon Feb 15 18:01:08 2016 -0800
> # Node ID d51ed0ddd05c3c716df5fbd2e811285bcac7366c
> # Parent  8b939990c70a4e545f18db3338f7798f09a94ada
> exchange: support phases discovery via public heads
> 
> Now that we can detect when the server supports exposing phases via
> public heads, we leverage this namespace as part of phases discovery.
> 
> On Mozilla's Try repository, the phases listkeys response drops from
> ~64k entries / 2.8 MB to < 1000 entries and < 65 kbytes.

While this works with Mozilla's Try, what about hypothetical(?)
heavy-headed *publishing* repositories? This set of changes would make
them go the opposite direction.

Mike


More information about the Mercurial-devel mailing list