# HG changeset patch # User Mathias De Mare # Date 2022-11-07 08:25:20 # 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 --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -2123,7 +2123,7 @@ coreconfigitem( coreconfigitem( b'server', b'pullbundle', - default=False, + default=True, ) coreconfigitem( b'server', diff --git a/relnotes/next b/relnotes/next --- a/relnotes/next +++ b/relnotes/next @@ -22,3 +22,7 @@ Mercurial XXX. == 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 --git a/tests/test-pull-bundle.t b/tests/test-pull-bundle.t --- a/tests/test-pull-bundle.t +++ b/tests/test-pull-bundle.t @@ -33,8 +33,6 @@ Test pullbundle functionality $ cd repo $ cat < .hg/hgrc - > [server] - > pullbundle = True > [experimental] > evolution = True > [extensions]