mercurial/bundle2.py
changeset 22661 9ea2913e7c41
parent 22548 8a1ae133770a
child 22953 b1d694d3975e
--- a/mercurial/bundle2.py	Wed Oct 01 23:55:22 2014 -0500
+++ b/mercurial/bundle2.py	Thu Oct 02 00:15:15 2014 -0500
@@ -447,7 +447,7 @@
             for chunk in part.getchunks():
                 yield chunk
         self.ui.debug('end of bundle\n')
-        yield '\0\0'
+        yield _pack(_fpartheadersize, 0)
 
     def _paramchunk(self):
         """return a encoded version of all stream parameters"""