##// END OF EJS Templates
configitems: register the 'notify.maxdiff' config
Boris Feld -
r33742:66860180 default
parent child Browse files
Show More
@@ -170,6 +170,9 b" configitem('notify', 'domain',"
170 170 configitem('notify', 'fromauthor',
171 171 default=None,
172 172 )
173 configitem('notify', 'maxdiff',
174 default=300,
175 )
173 176
174 177 # template for single changeset can include email headers.
175 178 single_template = '''
@@ -367,7 +370,7 b' class notifier(object):'
367 370
368 371 def diff(self, ctx, ref=None):
369 372
370 maxdiff = int(self.ui.config('notify', 'maxdiff', 300))
373 maxdiff = int(self.ui.config('notify', 'maxdiff'))
371 374 prev = ctx.p1().node()
372 375 if ref:
373 376 ref = ref.node()
General Comments 0
You need to be logged in to leave comments. Login now