diff mercurial/bundle2.py @ 39721:1b5880352314

bundle2: graduate bundle2.stream option from experimental to server section Differential Revision: https://phab.mercurial-scm.org/D4679
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 17 Sep 2018 16:52:34 +0800
parents b10d145837bc
children 4a8bfec90ae6
line wrap: on
line diff
--- a/mercurial/bundle2.py	Thu Sep 20 17:02:31 2018 +0800
+++ b/mercurial/bundle2.py	Mon Sep 17 16:52:34 2018 +0800
@@ -1532,7 +1532,7 @@
     if role == 'server':
         streamsupported = repo.ui.configbool('server', 'uncompressed',
                                              untrusted=True)
-        featuresupported = repo.ui.configbool('experimental', 'bundle2.stream')
+        featuresupported = repo.ui.configbool('server', 'bundle2.stream')
 
         if not streamsupported or not featuresupported:
             caps.pop('stream')