wireproto: remove gboptslist (API)
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 06 Aug 2016 15:00:34 -0700
changeset 29735 919a4b7f531d
parent 29734 62e2e048d068
child 29736 14f077f7519a
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.
mercurial/wireproto.py
--- 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)