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

csinfo: fix internal representation of 'tags' item

Changeset 9813a9a72489

Parent 090d9807c205

by Yuki KODAMA

Changes to one file · Browse files at 9813a9a72489 Showing diff from parent 090d9807c205 Diff from another changeset...

 
154
155
156
157
 
158
159
160
 
189
190
191
192
193
 
194
195
196
 
154
155
156
 
157
158
159
160
 
189
190
191
 
 
192
193
194
195
@@ -154,7 +154,7 @@
  value = None   return value   elif item == 'tags': - value = hglib.toutf(', '.join(ctx.tags())) + value = [hglib.toutf(tag) for tag in ctx.tags()]   if len(value) == 0:   return None   return value @@ -189,8 +189,7 @@
  background='#aaffaa')   elif item == 'tags':   opts = dict(color='black', background='#ffffaa') - tags = value.split(', ') - tags = [gtklib.markup(' %s ' % tag, **opts) for tag in tags] + tags = [gtklib.markup(' %s ' % tag, **opts) for tag in value]   return ' '.join(tags)   return default_func(widget, value)   value = self.get_data(widget, item, rev, custom, repo)