mercurial/exchange.py
changeset 26458 362793295640
parent 26449 89b7a7883aee
child 26462 3b0ec09192ae
--- a/mercurial/exchange.py	Sun Oct 04 11:17:43 2015 -0700
+++ b/mercurial/exchange.py	Sun Oct 04 11:20:52 2015 -0700
@@ -964,9 +964,7 @@
     lock = pullop.repo.lock()
     try:
         pullop.trmanager = transactionmanager(repo, 'pull', remote.url())
-        streamclone.maybeperformstreamclone(pullop.repo, pullop.remote,
-                                            pullop.heads,
-                                            pullop.streamclonerequested)
+        streamclone.maybeperformstreamclone(pullop)
         _pulldiscovery(pullop)
         if _canusebundle2(pullop):
             _pullbundle2(pullop)