changeset 36615 | ed7705017749 |
parent 36613 | 6e585bca962e |
child 36719 | 390d16ea7c76 |
--- a/mercurial/wireproto.py Fri Mar 02 18:55:18 2018 -0500 +++ b/mercurial/wireproto.py Tue Feb 27 16:31:44 2018 -0800 @@ -740,9 +740,7 @@ return bytesresponse(';'.join(res)) -# TODO mark as version 1 transport only once interaction with -# SSH handshake mechanism is figured out. -@wireprotocommand('between', 'pairs') +@wireprotocommand('between', 'pairs', transportpolicy=POLICY_V1_ONLY) def between(repo, proto, pairs): pairs = [decodelist(p, '-') for p in pairs.split(" ")] r = []