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