Show More
@@ -664,6 +664,9 b' def getbundle(repo, source, heads=None, ' | |||||
664 | cg = changegroup.getbundle(repo, source, heads=heads, |
|
664 | cg = changegroup.getbundle(repo, source, heads=heads, | |
665 | common=common, bundlecaps=bundlecaps) |
|
665 | common=common, bundlecaps=bundlecaps) | |
666 | if bundlecaps is None or 'HG2X' not in bundlecaps: |
|
666 | if bundlecaps is None or 'HG2X' not in bundlecaps: | |
|
667 | if kwargs: | |||
|
668 | raise ValueError(_('unsupported getbundle arguments: %s') | |||
|
669 | % ', '.join(sorted(kwargs.keys()))) | |||
667 | return cg |
|
670 | return cg | |
668 | # very crude first implementation, |
|
671 | # very crude first implementation, | |
669 | # the bundle API will change and the generation will be done lazily. |
|
672 | # the bundle API will change and the generation will be done lazily. |
General Comments 0
You need to be logged in to leave comments.
Login now