Show More
@@ -391,6 +391,7 b' class bundle20(object):' | |||||
391 | self._parts = [] |
|
391 | self._parts = [] | |
392 | self.capabilities = dict(capabilities) |
|
392 | self.capabilities = dict(capabilities) | |
393 |
|
393 | |||
|
394 | # methods used to defines the bundle2 content | |||
394 | def addparam(self, name, value=None): |
|
395 | def addparam(self, name, value=None): | |
395 | """add a stream level parameter""" |
|
396 | """add a stream level parameter""" | |
396 | if not name: |
|
397 | if not name: | |
@@ -407,6 +408,7 b' class bundle20(object):' | |||||
407 | part.id = len(self._parts) # very cheap counter |
|
408 | part.id = len(self._parts) # very cheap counter | |
408 | self._parts.append(part) |
|
409 | self._parts.append(part) | |
409 |
|
410 | |||
|
411 | # methods used to generate the bundle2 stream | |||
410 | def getchunks(self): |
|
412 | def getchunks(self): | |
411 | self.ui.debug('start emission of %s stream\n' % _magicstring) |
|
413 | self.ui.debug('start emission of %s stream\n' % _magicstring) | |
412 | yield _magicstring |
|
414 | yield _magicstring |
General Comments 0
You need to be logged in to leave comments.
Login now