[PATCH 5 of 5 RFC] exchange: support phases discovery via public heads
Gregory Szorc
gregory.szorc at gmail.com
Tue Feb 16 03:15:47 UTC 2016
On Mon, Feb 15, 2016 at 6:47 PM, Mike Hommey <mh at glandium.org> wrote:
> 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.
>
Yup. Hence the RFC. We probably want a server-side config knob or something
on the server that tells the client whether to prefer draft roots or public
heads depending on which has fewer entries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160215/682f5b02/attachment-0002.html>
More information about the Mercurial-devel
mailing list