Changeset 0852985f7fba…
Parent 310364be9462…
by
Changes to one file · Browse files at 0852985f7fba Showing diff from parent 310364be9462 Diff from another changeset...
@@ -52,6 +52,8 @@ self.branchtags = repo.branchtags()
self.origtip = origtip
self.bundleview = bview
+ self.hidetags = self.repo.ui.config(
+ 'tortoisehg', 'hidetags', '').split()
def refresh(self):
repo = self.repo
@@ -153,8 +155,9 @@ taglist = hglib.toutf(', '.join(tags))
tstr = ''
for tag in tags:
- tstr += '<span color="%s" background="%s"> %s </span> ' % \
- ('black', '#ffffaa', tag)
+ if tag not in self.hidetags:
+ tstr += '<span color="%s" background="%s"> %s </span> ' % \
+ ('black', '#ffffaa', tag)
branch = ctx.branch()
bstr = ''
|
Loading...