##// END OF EJS Templates
wireproto: only expose "debugwireargs" to version 1 transports...
Gregory Szorc -
r37508:3a91911c default
parent child Browse files
Show More
@@ -931,7 +931,7 b' def changegroupsubset(repo, proto, bases'
931 return wireprototypes.streamres(gen=gen)
931 return wireprototypes.streamres(gen=gen)
932
932
933 @wireprotocommand('debugwireargs', 'one two *',
933 @wireprotocommand('debugwireargs', 'one two *',
934 permission='pull')
934 permission='pull', transportpolicy=POLICY_V1_ONLY)
935 def debugwireargs(repo, proto, one, two, others):
935 def debugwireargs(repo, proto, one, two, others):
936 # only accept optional args from the known set
936 # only accept optional args from the known set
937 opts = options('debugwireargs', ['three', 'four'], others)
937 opts = options('debugwireargs', ['three', 'four'], others)
General Comments 0
You need to be logged in to leave comments. Login now