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

history: show tags in summary column

Changeset 026284bad055

Parent 5af7904c47ae

by TK Soh

Changes to one file · Browse files at 026284bad055 Showing diff from parent 5af7904c47ae Diff from another changeset...

 
101
102
103
104
 
 
 
 
 
105
106
107
 
115
116
117
118
 
119
120
121
 
101
102
103
 
104
105
106
107
108
109
110
111
 
119
120
121
 
122
123
124
125
@@ -101,7 +101,11 @@
  summary = summary.split('\n')[0]   summary = gobject.markup_escape_text(toutf(summary))   node = self.repo.lookup(revid) - tags = toutf(', '.join(self.repo.nodetags(node))) + tags = self.repo.nodetags(node) + taglist = toutf(', '.join(tags)) + for tag in tags: + summary = '<span background="#ffffaa"> %s </span> %s' % ( + tag, summary)     if '<' in ctx.user():   author = toutf(self.author_re.sub('', ctx.user()).strip(' ')) @@ -115,7 +119,7 @@
  color = self.color_func(parents, revid, author)     revision = (None, node, revid, None, summary, - author, date, None, parents, wc_parent, head, tags, + author, date, None, parents, wc_parent, head, taglist,   None, color)   self.revisions[revid] = revision   else: