by
Changes to one file · Browse files at e03500e86fe9 Showing diff from parent 4578cd6f941c 4a17b61ddfbd Diff from another changeset...
@@ -273,7 +273,7 @@ wlock = repo.wlock()
try:
repo.wopener(self.currentFile, 'wb').write(
- hglib.fromunicode(self.diffbrowse.origcontents))
+ repo['.'][self.currentFile].data())
fp = cStringIO.StringIO()
chunks[0].write(fp)
for c in kchunks:
@@ -687,7 +687,6 @@ else:
self.sci.markerAdd(start+i, self.vertical)
start += len(chunk.lines) + 1
- self.origcontents = fd.olddata
self.countselected = 0
self.curchunks = chunks
for c in chunks[1:]:
|
Loading...