by
Changes to 2 files · Browse files at 30fe5c13e017 Showing diff from parent 33d98e9a82de e4326e10facf Diff from another changeset...
@@ -209,7 +209,7 @@ wlock = repo.wlock()
try:
repo.wopener(self.currentFile, 'wb').write(
- self.diffbrowse.origcontents)
+ hglib.fromunicode(self.diffbrowse.origcontents))
fp = cStringIO.StringIO()
chunks[0].write(fp)
for c in kchunks:
|
@@ -640,6 +640,7 @@ self.error = 'binary file'
else:
self.contents = hglib.tounicode(data)
+ if status in ('I', '?'):
self.flabel += _(' <i>(is unversioned)</i>')
except EnvironmentError, e:
self.error = hglib.tounicode(str(e))
|
Loading...