Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

annotate: display non-ascii file content as locale encoding

Though we can't be sure that the file encoding is same as the locale's,
it's okay in most cases.

Changeset 460b612ffddf

Parent addac8990dc3

by Yuya Nishihara

Changes to one file · Browse files at 460b612ffddf Showing diff from parent addac8990dc3 Diff from another changeset...

 
267
268
269
270
 
271
272
273
 
267
268
269
 
270
271
272
273
@@ -267,7 +267,7 @@
    self.edit.summaries = sums   self.edit.links = links - self.edit.setPlainText(''.join(lines)) + self.edit.setPlainText(hglib.tounicode(''.join(lines)))   self.edit.revs = revs   width = max([len(str(r)) for r in revs]) * self.edit.charwidth + 3   self.revarea.width = width