Show More
@@ -131,7 +131,7 b' class blackboxlogger(object):' | |||
|
131 | 131 | def __init__(self, ui): |
|
132 | 132 | self._repo = None |
|
133 | 133 | self._inlog = False |
|
134 | self.track = ui.configlist('blackbox', 'track') | |
|
134 | self._trackedevents = set(ui.configlist('blackbox', 'track')) | |
|
135 | 135 | |
|
136 | 136 | @property |
|
137 | 137 | def _bbvfs(self): |
@@ -142,9 +142,12 b' class blackboxlogger(object):' | |||
|
142 | 142 | vfs = None |
|
143 | 143 | return vfs |
|
144 | 144 | |
|
145 | def tracked(self, event): | |
|
146 | return b'*' in self._trackedevents or event in self._trackedevents | |
|
147 | ||
|
145 | 148 | def log(self, ui, event, msg, opts): |
|
146 | 149 | global _lastlogger |
|
147 |
if not |
|
|
150 | if not self.tracked(event): | |
|
148 | 151 | return |
|
149 | 152 | |
|
150 | 153 | if self._bbvfs: |
General Comments 0
You need to be logged in to leave comments.
Login now