changeset 32257:205bd3936179

bundle2: don't check for whether we can do stream clones At the moment this isn't used and all stream clones use the legacy protocol. In an upcoming diff, canperformstreamclone will print out a message if a stream clone was requested but couldn't happen for some reason. Removing this call ensures the message isn't printed twice.
author Siddharth Agarwal <sid0@fb.com>
date Mon, 08 May 2017 17:30:51 -0700
parents 9bc36198338e
children 9c60d93fd3ab
files mercurial/exchange.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/exchange.py	Sat May 13 03:37:50 2017 +0900
+++ b/mercurial/exchange.py	Mon May 08 17:30:51 2017 -0700
@@ -1330,7 +1330,9 @@
     For now, the only supported data are changegroup."""
     kwargs = {'bundlecaps': caps20to10(pullop.repo)}
 
-    streaming, streamreqs = streamclone.canperformstreamclone(pullop)
+    # At the moment we don't do stream clones over bundle2. If that is
+    # implemented then here's where the check for that will go.
+    streaming = False
 
     # pulling changegroup
     pullop.stepsdone.add('changegroup')