Show More
@@ -81,7 +81,7 b' def diffordiffstat(ui, repo, diffopts, n' | |||||
81 | if fp is not None or ui.canwritewithoutlabels(): |
|
81 | if fp is not None or ui.canwritewithoutlabels(): | |
82 | out = fp or ui |
|
82 | out = fp or ui | |
83 | if stat: |
|
83 | if stat: | |
84 | chunks = patch.diffstat(util.iterlines(chunks), width=width) |
|
84 | chunks = [patch.diffstat(util.iterlines(chunks), width=width)] | |
85 | for chunk in util.filechunkiter(util.chunkbuffer(chunks)): |
|
85 | for chunk in util.filechunkiter(util.chunkbuffer(chunks)): | |
86 | out.write(chunk) |
|
86 | out.write(chunk) | |
87 | else: |
|
87 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now