# HG changeset patch # User Mathias De Mare # Date 1667809520 -3600 # Node ID 53e4f44ba0e80b7f0f70508acb58bf792b110a49 # Parent bbbb5213d043fbc77a9b90889bd329e5fb64fffb configitems: enable pullbundles by default The use of pullbundles is already protected: they are only used when a pullbundles.manifest file is created on the server. Having an additional flag doesn't really make sense and can confuse users (as indicated in the mercurial mailing list on the topic "Can't get pull-bundles working"). diff -r bbbb5213d043 -r 53e4f44ba0e8 mercurial/configitems.py --- a/mercurial/configitems.py Fri Nov 04 22:59:16 2022 -0400 +++ b/mercurial/configitems.py Mon Nov 07 09:25:20 2022 +0100 @@ -2123,7 +2123,7 @@ coreconfigitem( b'server', b'pullbundle', - default=False, + default=True, ) coreconfigitem( b'server', diff -r bbbb5213d043 -r 53e4f44ba0e8 relnotes/next --- a/relnotes/next Fri Nov 04 22:59:16 2022 -0400 +++ b/relnotes/next Mon Nov 07 09:25:20 2022 +0100 @@ -22,3 +22,7 @@ == Internal API Changes == == Miscellaneous == + + * pullbundle support no longer requires setting a server-side option, + providing a .hg/pullbundles.manifest according to the syntax specified in + 'hg help -e clonebundles' is enough. diff -r bbbb5213d043 -r 53e4f44ba0e8 tests/test-pull-bundle.t --- a/tests/test-pull-bundle.t Fri Nov 04 22:59:16 2022 -0400 +++ b/tests/test-pull-bundle.t Mon Nov 07 09:25:20 2022 +0100 @@ -33,8 +33,6 @@ $ cd repo $ cat < .hg/hgrc - > [server] - > pullbundle = True > [experimental] > evolution = True > [extensions]