Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

datamine: only markup the summary text

Prevents markup of "" quotes and other bits. This exposes a more subtle problem
that the tooltips are markup text and the status bar label is not, but we're displaying
the same data in both places. This is basically broken, but this is a good enough fix
for 0.7

Changeset e4c311c52ba4

Parent a392c78c99f9

by Steve Borho

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

Change 1 of 1 Show Entire File hggtk/​datamine.py Stacked
 
147
148
149
150
 
151
152
153
154
155
156
 
147
148
149
 
150
151
152
 
153
154
155
@@ -147,10 +147,9 @@
  ctx = self.repo.changectx(rev)   author = util.shortuser(ctx.user())   summary = ctx.description().replace('\0', '') - summary = summary.split('\n')[0] + summary = gobject.markup_escape_text(summary.split('\n')[0])   date = displaytime(ctx.date())   desc = author+'@'+str(rev)+' '+date+' "'+summary+'"' - desc = gobject.markup_escape_text(desc)   self.changedesc[rev] = (desc, author)   return (desc, author)