mercurial/revlog.py
changeset 5368 61462e7d62ed
parent 5367 7530334bf301
child 5445 64cf1c853674
--- a/mercurial/revlog.py	Wed Oct 03 17:17:27 2007 -0500
+++ b/mercurial/revlog.py	Wed Oct 03 17:17:28 2007 -0500
@@ -1094,7 +1094,9 @@
                 meta += mdiff.trivialdiffheader(len(d))
             else:
                 d = self.revdiff(a, b)
-            yield changegroup.genchunk("%s%s" % (meta, d))
+            yield changegroup.chunkheader(len(meta) + len(d))
+            yield meta
+            yield d
 
         yield changegroup.closechunk()