Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

status: util.fromlocal() can abort on decode errors, use toutf()

Changeset 4fbc655d707a

Parent 9f64a371182e

by Steve Borho

Changes to one file · Browse files at 4fbc655d707a Showing diff from parent 9f64a371182e Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​status.py Stacked
 
786
787
788
789
 
790
791
792
 
786
787
788
 
789
790
791
792
@@ -786,7 +786,7 @@
  lines = chunk.readlines()   lines[-1] = lines[-1].strip('\n\r')   for line in lines: - line = cgi.escape(util.fromlocal(line)) + line = cgi.escape(toutf(line))   if line.startswith('---') or line.startswith('+++'):   hunk += '<span foreground="#000090">%s</span>' % line   elif line.startswith('-'):