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

datamine: description and author should be stored in UTF-8

Fixes #239

Changeset 9b5fa39d6f86

Parent d6887fd589f0

by Steve Borho

Changes to one file · Browse files at 9b5fa39d6f86 Showing diff from parent d6887fd589f0 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​datamine.py Stacked
 
179
180
181
182
 
 
183
184
185
 
700
701
702
703
 
704
705
706
 
179
180
181
 
182
183
184
185
186
 
701
702
703
 
704
705
706
707
@@ -179,7 +179,8 @@
  summary = ctx.description().replace('\0', '')   summary = gobject.markup_escape_text(summary.split('\n')[0])   date = displaytime(ctx.date()) - desc = author+'@'+str(rev)+' '+date+' "'+summary+'"' + desc = toutf(author+'@'+str(rev)+' '+date+' "'+summary+'"') + author = toutf(author)   self.changedesc[rev] = (desc, author)   return (desc, author)   @@ -700,7 +701,7 @@
  if self.tabwidth:   text = text.expandtabs(self.tabwidth)   model.append((revid, toutf(text[:128]), tip, toutf(path.strip()), - color, toutf(user), len(model)+1)) + color, user, len(model)+1))   if thread.isAlive():   return True   else: