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

annotate: fix UnicodeDecodeError when displaying non-ascii commit message

Changeset addac8990dc3

Parent 19f2e869e093

by Yuya Nishihara

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

 
256
257
258
259
 
260
261
262
 
256
257
258
 
259
260
261
262
@@ -256,7 +256,7 @@
  author = hglib.username(fctx.user())   author = hglib.tounicode(author)   date = hglib.age(fctx.date()) - l = fctx.description().replace(u'\0', '').splitlines() + l = hglib.tounicode(fctx.description()).replace('\0', '').splitlines()   summary = l and l[0] or ''   if fctx.path() == self.annfile:   source = ''