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

hglib: make get_revision_desc() handle non-ascii commit message

It fixes unicode error of annotate view.

Changeset 326a0c8ad097

Parent c53a2fa929ed

by Yuya Nishihara

Changes to one file · Browse files at 326a0c8ad097 Showing diff from parent c53a2fa929ed Diff from another changeset...

 
461
462
463
464
 
465
466
467
 
461
462
463
 
464
465
466
467
@@ -461,7 +461,7 @@
  else:   source = '(%s)' % fctx.path()   date = age(fctx.date()) - l = fctx.description().replace(u'\0', '').splitlines() + l = tounicode(fctx.description()).replace('\0', '').splitlines()   summary = l and l[0] or ''   return '%s@%s%s:%s "%s"' % (author, rev, source, date, summary)