Changeset d81235b13f08…
Parent aa36eb998bc1…
by
Changes to one file · Browse files at d81235b13f08 Showing diff from parent aa36eb998bc1 Diff from another changeset...
@@ -566,10 +566,7 @@ elif type(self._ctx.rev()) is str:
chunks = self._ctx._files[filename]
else:
- buf = cStringIO.StringIO()
- buf.write(fd.diff)
- buf.seek(0)
- chunks = record.parsepatch(buf)
+ chunks = record.parsepatch(cStringIO.StringIO(fd.diff))
utext = []
for chunk in chunks[1:]:
|
Loading...