[RFC] extension to publish bundles
Benoit Boissinot
bboissin at gmail.com
Sat Dec 17 20:26:52 UTC 2005
On 12/17/05, Matt Mackall <mpm at selenic.com> wrote:
> On Thu, Nov 17, 2005 at 06:56:41PM +0100, Benoit Boissinot wrote:
> > I just wrote an extension that generate bundles from a repo.
> >
> > quickstart:
> > hg publish /output/dir
> > will create /output/dir/hg.index and log(n) bundles (where n is the
> > number of changeset).
>
> Would you describe a bit more how it decides where to break up
> bundles?
>
It takes the first n/2 changesets and bundle them, then the n/4
following changesets and so on...
I tried to be a bit smart when re-publishing, so if bundles already
exists it can be a little less or more than n/2^k (I added a +-10%).
Benoit
More information about the Mercurial
mailing list