mercurial/localrepo.py
changeset 21147 2a246e737f92
parent 21145 0c5088be66af
child 21157 60ad2ea5b106
--- a/mercurial/localrepo.py	Thu Apr 17 15:45:12 2014 -0400
+++ b/mercurial/localrepo.py	Thu Apr 17 16:01:58 2014 -0400
@@ -305,7 +305,7 @@
     def _restrictcapabilities(self, caps):
         # bundle2 is not ready for prime time, drop it unless explicitly
         # required by the tests (or some brave tester)
-        if self.ui.configbool('server', 'bundle2', False):
+        if self.ui.configbool('experimental', 'bundle2-exp', False):
             caps = set(caps)
             capsblob = bundle2.encodecaps(self.bundle2caps)
             caps.add('bundle2-exp=' + urllib.quote(capsblob))