Show More
@@ -340,10 +340,11 class bundle20(object): | |||
|
340 | 340 | populate it. Then call `getchunks` to retrieve all the binary chunks of |
|
341 | 341 | data that compose the bundle2 container.""" |
|
342 | 342 | |
|
343 | def __init__(self, ui): | |
|
343 | def __init__(self, ui, capabilities=()): | |
|
344 | 344 | self.ui = ui |
|
345 | 345 | self._params = [] |
|
346 | 346 | self._parts = [] |
|
347 | self.capabilities = set(capabilities) | |
|
347 | 348 | |
|
348 | 349 | def addparam(self, name, value=None): |
|
349 | 350 | """add a stream level parameter""" |
General Comments 0
You need to be logged in to leave comments.
Login now