Can't get pull-bundles working

Sebastian Unger sebunger44 at gmail.com
Sun Oct 30 10:11:42 UTC 2022


Hi,

I've spent most of the weekend trying to enable the clonebundles extension
on our mercurial server. Setting up clonebundles was actually fairly
straightforward and seems to be working.

However, since many of our users (me included) often only clone the default
branch and then selectively pull branches when needed and strip when no
longer needed, I would like to also set up pullbundles.

However, so far I have had no luck with that one. Or at least I have not
noticed any differences from before: server load still goes up while
pulling a large branch and I have not noticed the multiple repeated pulls
as described in the clonebundles help.

Here's the config for one of the smaller repos:














*hg at test-server:~/repos/hgadmin$ cat .hg/pullbundles.manifest
pullbundles/8312c21ae25993e6e0ef066913d8b4ba984557b56d0be230898a9a73493d5246.hg
BUNDLESPEC=zstd-v2
heads=2df5f4368abf5f681421f80b142914c685189a8dpullbundles/651c2d609501fd1848cda07543a2e8449daaae6c0826e3323ef27ccaa7eddf53.hg
BUNDLESPEC=zstd-v2 heads=f146e48c486131e75102e0672064269a15310066
bases=d02e13f7603e1fca280292aa7cca8ca4ff0deab3;39c4feaeabbbc7e24745635f266c477d8fe6e87dpullbundles/c57891cc34d7e7ba96b096f6c1990e803db9ecda7f0bd1e6df0f635d19c22c67.hg
BUNDLESPEC=zstd-v2 heads=73bf821c6a165b9862222fbedd12a87caf6c6dac
bases=f6266e0edb354090bea3a9a886fba987d2764686pullbundles/a94e641dd56e2c91cb025edcd0e3c27d9ec1b914e05926721ab6b075f381703d.hg
BUNDLESPEC=zstd-v2 heads=c307f4b0d1d0dce014ace5dcc839d406ac508f62
bases=44ede9353dedd19418385e822b8aa4cc28468815pullbundles/09fa420d741a8424471ad08b6d0d64ddfd9567bc379ac3d58e64409926036264.hg
BUNDLESPEC=zstd-v2 heads=c60b324e4a2760507da87774dd029100d0315907
bases=6c13274b16bb646b9793819d44ad515641a2e3d2hg at test-server:~/repos/hgadmin$
ls -l .hg/pullbundlestotal 316-rw------- 1 hg nogroup   1963 Oct 30 21:53
09fa420d741a8424471ad08b6d0d64ddfd9567bc379ac3d58e64409926036264.hg-rw-------
1 hg nogroup   6162 Oct 30 21:53
651c2d609501fd1848cda07543a2e8449daaae6c0826e3323ef27ccaa7eddf53.hg-rw-------
1 hg nogroup 302064 Oct 30 21:53
8312c21ae25993e6e0ef066913d8b4ba984557b56d0be230898a9a73493d5246.hg-rw-------
1 hg nogroup    559 Oct 30 21:53
a94e641dd56e2c91cb025edcd0e3c27d9ec1b914e05926721ab6b075f381703d.hg-rw-------
1 hg nogroup    861 Oct 30 21:53
c57891cc34d7e7ba96b096f6c1990e803db9ecda7f0bd1e6df0f635d19c22c67.hg*

Can somebody spot something I'm missing? Do I need to configure or enable
anything on the clients? Is pullbundles even expected to work?

Cheers,
Seb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20221030/fd4b8aa4/attachment.html>


More information about the Mercurial mailing list