Show More
@@ -573,7 +573,9 b' class bundle20(object):' | |||||
573 | yield param |
|
573 | yield param | |
574 | # starting compression |
|
574 | # starting compression | |
575 | for chunk in self._getcorechunk(): |
|
575 | for chunk in self._getcorechunk(): | |
576 |
|
|
576 | data = self._compressor.compress(chunk) | |
|
577 | if data: | |||
|
578 | yield data | |||
577 | yield self._compressor.flush() |
|
579 | yield self._compressor.flush() | |
578 |
|
580 | |||
579 | def _paramchunk(self): |
|
581 | def _paramchunk(self): | |
@@ -1324,7 +1326,9 b' def writebundle(ui, cg, filename, bundle' | |||||
1324 | def chunkiter(): |
|
1326 | def chunkiter(): | |
1325 | yield header |
|
1327 | yield header | |
1326 | for chunk in subchunkiter: |
|
1328 | for chunk in subchunkiter: | |
1327 |
|
|
1329 | data = z.compress(chunk) | |
|
1330 | if data: | |||
|
1331 | yield data | |||
1328 | yield z.flush() |
|
1332 | yield z.flush() | |
1329 | chunkiter = chunkiter() |
|
1333 | chunkiter = chunkiter() | |
1330 |
|
1334 |
General Comments 0
You need to be logged in to leave comments.
Login now