Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

thgmq: fix summary encoding

Changeset a24f67432c73

Parent 4a3513bf1bb7

by Yuki KODAMA

Changes to one file · Browse files at a24f67432c73 Showing diff from parent 4a3513bf1bb7 Diff from another changeset...

 
138
139
140
141
142
 
 
143
144
145
 
239
240
241
242
 
243
244
245
 
138
139
140
 
 
141
142
143
144
145
 
239
240
241
 
242
243
244
245
@@ -138,8 +138,8 @@
  self.model = gtk.ListStore(int, # patch index   str, # patch status   str, # patch name - str, # summary - str) # escaped summary + str, # summary (utf-8) + str) # escaped summary (utf-8)   self.list = gtk.TreeView(self.model)   self.list.set_row_separator_func(self.row_sep_func)   # To support old PyGTK (<2.12) @@ -239,7 +239,7 @@
  for index, patchname in enumerate(q.series):   stat = patchname in applied and 'A' or 'U'   try: - msg = mq.patchheader(q.join(patchname)).message[0] + msg = hglib.toutf(mq.patchheader(q.join(patchname)).message[0])   msg_esc = gtklib.markup_escape_text(msg)   except IndexError:   msg = msg_esc = None