Show More
@@ -194,6 +194,9 b" configitem('notify', 'style'," | |||||
194 | configitem('notify', 'template', |
|
194 | configitem('notify', 'template', | |
195 | default=None, |
|
195 | default=None, | |
196 | ) |
|
196 | ) | |
|
197 | configitem('notify', 'test', | |||
|
198 | default=True, | |||
|
199 | ) | |||
197 |
|
200 | |||
198 | # template for single changeset can include email headers. |
|
201 | # template for single changeset can include email headers. | |
199 | single_template = ''' |
|
202 | single_template = ''' | |
@@ -232,7 +235,7 b' class notifier(object):' | |||||
232 | self.root = self.strip(self.repo.root) |
|
235 | self.root = self.strip(self.repo.root) | |
233 | self.domain = self.ui.config('notify', 'domain') |
|
236 | self.domain = self.ui.config('notify', 'domain') | |
234 | self.mbox = self.ui.config('notify', 'mbox') |
|
237 | self.mbox = self.ui.config('notify', 'mbox') | |
235 |
self.test = self.ui.configbool('notify', 'test' |
|
238 | self.test = self.ui.configbool('notify', 'test') | |
236 | self.charsets = mail._charsets(self.ui) |
|
239 | self.charsets = mail._charsets(self.ui) | |
237 | self.subs = self.subscribers() |
|
240 | self.subs = self.subscribers() | |
238 | self.merge = self.ui.configbool('notify', 'merge') |
|
241 | self.merge = self.ui.configbool('notify', 'merge') |
General Comments 0
You need to be logged in to leave comments.
Login now