changeset 37489 | 6e6d68c2d39c |
parent 37488 | 3b99eb028859 |
child 37490 | 3a91911c4343 |
--- a/mercurial/wireproto.py Wed Mar 28 16:10:41 2018 -0700 +++ b/mercurial/wireproto.py Wed Mar 28 16:14:42 2018 -0700 @@ -1010,7 +1010,7 @@ h = repo.heads() return wireprototypes.bytesresponse(encodelist(h) + '\n') -@wireprotocommand('hello', permission='pull') +@wireprotocommand('hello', permission='pull', transportpolicy=POLICY_V1_ONLY) def hello(repo, proto): """Called as part of SSH handshake to obtain server info.