##// END OF EJS Templates
configitems: register the 'notify.diffstat' config
Boris Feld -
r33739:b30da11d default
parent child Browse files
Show More
@@ -161,6 +161,9 b' configitem = registrar.configitem(config'
161 161 configitem('notify', 'config',
162 162 default=None,
163 163 )
164 configitem('notify', 'diffstat',
165 default=True,
166 )
164 167
165 168 # template for single changeset can include email headers.
166 169 single_template = '''
@@ -368,7 +371,7 b' class notifier(object):'
368 371 opts=patch.diffallopts(self.ui))
369 372 difflines = ''.join(chunks).splitlines()
370 373
371 if self.ui.configbool('notify', 'diffstat', True):
374 if self.ui.configbool('notify', 'diffstat'):
372 375 s = patch.diffstat(difflines)
373 376 # s may be nil, don't include the header if it is
374 377 if s:
General Comments 0
You need to be logged in to leave comments. Login now