mercurial/wireproto.py
changeset 37534 465187fec06f
parent 37533 df4985497986
child 37535 69e46c1834ac
--- a/mercurial/wireproto.py	Mon Apr 09 11:52:31 2018 -0700
+++ b/mercurial/wireproto.py	Fri Apr 06 16:49:57 2018 -0700
@@ -1150,7 +1150,8 @@
     output = output.getvalue() if output else ''
     return wireprototypes.bytesresponse('%d\n%s' % (int(r), output))
 
-@wireprotocommand('stream_out', permission='pull')
+@wireprotocommand('stream_out', permission='pull',
+                  transportpolicy=POLICY_V1_ONLY)
 def stream(repo, proto):
     '''If the server supports streaming clone, it advertises the "stream"
     capability with a value representing the version and flags of the repo