Show More
@@ -182,6 +182,9 b" configitem('notify', 'mbox'," | |||||
182 | configitem('notify', 'merge', |
|
182 | configitem('notify', 'merge', | |
183 | default=True, |
|
183 | default=True, | |
184 | ) |
|
184 | ) | |
|
185 | configitem('notify', 'sources', | |||
|
186 | default='serve', | |||
|
187 | ) | |||
185 |
|
188 | |||
186 | # template for single changeset can include email headers. |
|
189 | # template for single changeset can include email headers. | |
187 | single_template = ''' |
|
190 | single_template = ''' | |
@@ -294,7 +297,7 b' class notifier(object):' | |||||
294 |
|
297 | |||
295 | def skipsource(self, source): |
|
298 | def skipsource(self, source): | |
296 | '''true if incoming changes from this source should be skipped.''' |
|
299 | '''true if incoming changes from this source should be skipped.''' | |
297 |
ok_sources = self.ui.config('notify', 'sources' |
|
300 | ok_sources = self.ui.config('notify', 'sources').split() | |
298 | return source not in ok_sources |
|
301 | return source not in ok_sources | |
299 |
|
302 | |||
300 | def send(self, ctx, count, data): |
|
303 | def send(self, ctx, count, data): |
General Comments 0
You need to be logged in to leave comments.
Login now