# HG changeset patch # User Gregory Szorc # Date 1470520834 25200 # Node ID 919a4b7f531d38531c7b3e455b3e2acb13867f87 # Parent 62e2e048d068cc2da6bb63d619126708f8cb3967 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. diff -r 62e2e048d068 -r 919a4b7f531d 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)