Actually get tinyfier from the config variables.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 6 Oct 2012 07:59:55 +0000 (03:59 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 6 Oct 2012 07:59:55 +0000 (03:59 -0400)
irkerhook.py

index a02c5c52da2cbb0bd77c72fcb8d244d6c88997fd..90f04966e630c731ffe22f3075d49d073bb5aa46 100755 (executable)
@@ -194,6 +194,7 @@ class GitExtractor(GenericExtractor):
         self.channels = do("git config --get irker.channels")
         self.tcp = do("git config --bool --get irker.tcp")
         self.template = '%(bold)s%(project)s:%(reset)s %(green)s%(author)s%(reset)s %(repo)s:%(yellow)s%(branch)s%(reset)s * %(bold)s%(rev)s%(reset)s / %(bold)s%(files)s%(reset)s: %(logmsg)s %(brown)s%(url)s%(reset)s'
+        self.tinyifier = do("git config --get irker.tinyifier")
         self.color = do("git config --get irker.color")
         self.urlprefix = do("git config --get irker.urlprefix") or "gitweb"
         self.filtercmd = do("git config --get irker.filtercmd")
@@ -320,6 +321,7 @@ class HgExtractor(GenericExtractor):
         self.channels = ui.config('irker', 'channels')
         self.tcp = str(ui.configbool('irker', 'tcp'))  # converted to bool again in do_overrides
         self.template = '%(bold)s%(project)s:%(reset)s %(green)s%(author)s%(reset)s %(repo)s:%(yellow)s%(branch)s%(reset)s * %(bold)s%(rev)s%(reset)s / %(bold)s%(files)s%(reset)s: %(logmsg)s %(brown)s%(url)s%(reset)s'
+        self.tinyifier = ui.config('tinyifier', 'color')
         self.color = ui.config('irker', 'color')
         self.urlprefix = (ui.config('irker', 'urlprefix') or
                           ui.config('web', 'baseurl') or '')