D2513: wireproto: only expose "between" to version 1 of wire protocols
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Mar 2 09:51:08 EST 2018
indygreg updated this revision to Diff 6343.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2513?vs=6258&id=6343
REVISION DETAIL
https://phab.mercurial-scm.org/D2513
AFFECTED FILES
mercurial/wireproto.py
CHANGE DETAILS
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.
- at wireprotocommand('between', 'pairs')
+ at wireprotocommand('between', 'pairs', transportpolicy=POLICY_V1_ONLY)
def between(repo, proto, pairs):
pairs = [decodelist(p, '-') for p in pairs.split(" ")]
r = []
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list