Show More
@@ -619,9 +619,15 b' def debugwireargs(repo, proto, one, two,' | |||
|
619 | 619 | opts = options('debugwireargs', ['three', 'four'], others) |
|
620 | 620 | return repo.debugwireargs(one, two, **opts) |
|
621 | 621 | |
|
622 | # List of options accepted by getbundle. | |
|
623 | # | |
|
624 | # Meant to be extended by extensions. It is the extension's responsibility to | |
|
625 | # ensure such options are properly processed in exchange.getbundle. | |
|
626 | gboptslist = ['heads', 'common', 'bundlecaps'] | |
|
627 | ||
|
622 | 628 | @wireprotocommand('getbundle', '*') |
|
623 | 629 | def getbundle(repo, proto, others): |
|
624 |
opts = options('getbundle', |
|
|
630 | opts = options('getbundle', gboptslist, others) | |
|
625 | 631 | for k, v in opts.iteritems(): |
|
626 | 632 | if k in ('heads', 'common'): |
|
627 | 633 | opts[k] = decodelist(v) |
General Comments 0
You need to be logged in to leave comments.
Login now