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

repoview: use hglib.tounicode() and it's safe fallbacks

to prevent tracebacks when author names are not encoded in the
user's locale.

Changeset 893b246707a0

Parent b893fddd9692

by Steve Borho

Changes to one file · Browse files at 893b246707a0 Showing diff from parent b893fddd9692 Diff from another changeset...

 
209
210
211
212
 
213
214
215
 
209
210
211
 
212
213
214
215
@@ -209,7 +209,7 @@
  if isinstance(w, int):   self.setColumnWidth(c, w)   elif w is not None: - w = fontm.width(unicode(w) + 'w') + w = fontm.width(hglib.tounicode(w) + 'w')   self.setColumnWidth(c, w)   else:   w = self.sizeHintForColumn(c)