mercurial/bundle2.py
changeset 35792 1d118f9f4f57
parent 35790 c1b9eb15a51c
child 35793 4fb2bb61597c
--- a/mercurial/bundle2.py	Mon Jan 22 12:22:01 2018 -0800
+++ b/mercurial/bundle2.py	Mon Jan 22 12:23:47 2018 -0800
@@ -1528,10 +1528,8 @@
 
         if not streamsupported or not featuresupported:
             caps.pop('stream')
-    # role == 'client'
-    else:
-        if not repo.ui.configbool('experimental', 'bundle2.stream'):
-            caps.pop('stream')
+    # Else always advertise support on client, because payload support
+    # should always be advertised.
 
     return caps