mercurial/exchange.py
changeset 26471 41dd7b2c7e15
parent 26465 eda32ee9962f
child 26566 58880acd2369
--- a/mercurial/exchange.py	Sun Oct 04 12:07:01 2015 -0700
+++ b/mercurial/exchange.py	Sun Oct 04 12:11:44 2015 -0700
@@ -1075,6 +1075,9 @@
 
     For now, the only supported data are changegroup."""
     kwargs = {'bundlecaps': caps20to10(pullop.repo)}
+
+    streaming, streamreqs = streamclone.canperformstreamclone(pullop)
+
     # pulling changegroup
     pullop.stepsdone.add('changegroup')
 
@@ -1087,7 +1090,9 @@
             # make sure to always includes bookmark data when migrating
             # `hg incoming --bundle` to using this function.
             kwargs['listkeys'].append('bookmarks')
-    if not pullop.fetch:
+    if streaming:
+        pullop.repo.ui.status(_('streaming all changes\n'))
+    elif not pullop.fetch:
         pullop.repo.ui.status(_("no changes found\n"))
         pullop.cgresult = 0
     else: