Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

datamine: convert summary to UTF8 before escaping markup

Fixes #298

Changeset b5a632741e29

Parent d105d06b368b

by Steve Borho

Changes to one file · Browse files at b5a632741e29 Showing diff from parent d105d06b368b Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​datamine.py Stacked
 
176
177
178
179
 
 
180
181
 
182
183
184
 
176
177
178
 
179
180
181
 
182
183
184
185
@@ -176,9 +176,10 @@
  ctx = self.repo[rev]   author = util.shortuser(ctx.user())   summary = ctx.description().replace('\0', '') - summary = gobject.markup_escape_text(summary.split('\n')[0]) + summary = toutf(summary.split('\n')[0]) + summary = gobject.markup_escape_text(summary)   date = displaytime(ctx.date()) - desc = toutf(author+'@'+str(rev)+' '+date+' "'+summary+'"') + desc = toutf(author+'@'+str(rev)+' '+date+' "') + summary + '"'   author = toutf(author)   self.changedesc[rev] = (desc, author)   return (desc, author)