diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -931,7 +931,7 @@ return wireprototypes.streamres(gen=gen) @wireprotocommand('debugwireargs', 'one two *', - permission='pull') + permission='pull', transportpolicy=POLICY_V1_ONLY) def debugwireargs(repo, proto, one, two, others): # only accept optional args from the known set opts = options('debugwireargs', ['three', 'four'], others)