mercurial/wireproto.py
changeset 26443 d947086d8973
parent 25993 0851678be71b
child 26444 623743010133
--- a/mercurial/wireproto.py	Fri Oct 02 15:58:24 2015 -0700
+++ b/mercurial/wireproto.py	Fri Oct 02 16:05:52 2015 -0700
@@ -26,6 +26,7 @@
     exchange,
     peer,
     pushkey as pushkeymod,
+    streamclone,
     util,
 )
 
@@ -720,7 +721,7 @@
     try:
         # LockError may be raised before the first result is yielded. Don't
         # emit output until we're sure we got the lock successfully.
-        it = exchange.generatestreamclone(repo)
+        it = streamclone.generatev1(repo)
         return streamres(getstream(it))
     except error.LockError:
         return '2\n'