diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -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 = []