##// END OF EJS Templates
bundle2: adds a capabilities attribute on bundler20...
Pierre-Yves David -
r21134:2f8c4fa2 default
parent child Browse files
Show More
@@ -340,10 +340,11 class bundle20(object):
340 populate it. Then call `getchunks` to retrieve all the binary chunks of
340 populate it. Then call `getchunks` to retrieve all the binary chunks of
341 data that compose the bundle2 container."""
341 data that compose the bundle2 container."""
342
342
343 def __init__(self, ui):
343 def __init__(self, ui, capabilities=()):
344 self.ui = ui
344 self.ui = ui
345 self._params = []
345 self._params = []
346 self._parts = []
346 self._parts = []
347 self.capabilities = set(capabilities)
347
348
348 def addparam(self, name, value=None):
349 def addparam(self, name, value=None):
349 """add a stream level parameter"""
350 """add a stream level parameter"""
General Comments 0
You need to be logged in to leave comments. Login now