##// END OF EJS Templates
py3: preserve chunks as an iterable of bytes...
Gregory Szorc -
r36132:c1104fe7 default
parent child Browse files
Show More
@@ -81,7 +81,7 b' def diffordiffstat(ui, repo, diffopts, n'
81 81 if fp is not None or ui.canwritewithoutlabels():
82 82 out = fp or ui
83 83 if stat:
84 chunks = patch.diffstat(util.iterlines(chunks), width=width)
84 chunks = [patch.diffstat(util.iterlines(chunks), width=width)]
85 85 for chunk in util.filechunkiter(util.chunkbuffer(chunks)):
86 86 out.write(chunk)
87 87 else:
General Comments 0
You need to be logged in to leave comments. Login now