diff -r 19bbd53af46d -r fb743268510e mercurial/wireproto.py --- a/mercurial/wireproto.py Sun Oct 04 18:44:46 2015 -0700 +++ b/mercurial/wireproto.py Sun Oct 04 19:06:06 2015 -0700 @@ -718,7 +718,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 = streamclone.generatev1(repo) + it = streamclone.generatev1wireproto(repo) return streamres(getstream(it)) except error.LockError: return '2\n'