changeset 29735:919a4b7f531d

wireproto: remove gboptslist (API) This variable has been unused since ce25f465e572, which was over 2 years ago. gboptsmap should be used instead. Marking as API because this could break extensions.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 06 Aug 2016 15:00:34 -0700
parents 62e2e048d068
children 14f077f7519a
files mercurial/wireproto.py
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/wireproto.py	Sat Aug 06 13:55:21 2016 -0700
+++ b/mercurial/wireproto.py	Sat Aug 06 15:00:34 2016 -0700
@@ -745,12 +745,6 @@
     opts = options('debugwireargs', ['three', 'four'], others)
     return repo.debugwireargs(one, two, **opts)
 
-# List of options accepted by getbundle.
-#
-# Meant to be extended by extensions. It is the extension's responsibility to
-# ensure such options are properly processed in exchange.getbundle.
-gboptslist = ['heads', 'common', 'bundlecaps']
-
 @wireprotocommand('getbundle', '*')
 def getbundle(repo, proto, others):
     opts = options('getbundle', gboptsmap.keys(), others)