mercurial/exchange.py
changeset 27738 a0e783d26e81
parent 27737 482eb357fe98
child 27751 a40e2f7fe49d
--- a/mercurial/exchange.py	Fri Jan 08 10:57:01 2016 -0800
+++ b/mercurial/exchange.py	Fri Jan 08 10:58:04 2016 -0800
@@ -1677,7 +1677,7 @@
     repo = pullop.repo
     remote = pullop.remote
 
-    if not repo.ui.configbool('experimental', 'clonebundles', False):
+    if not repo.ui.configbool('ui', 'clonebundles', True):
         return
 
     # Only run if local repo is empty.
@@ -1733,7 +1733,7 @@
                           hint=_('if this error persists, consider contacting '
                                  'the server operator or disable clone '
                                  'bundles via '
-                                 '"--config experimental.clonebundles=false"'))
+                                 '"--config ui.clonebundles=false"'))
 
 def parseclonebundlesmanifest(repo, s):
     """Parses the raw text of a clone bundles manifest.