Show More
@@ -21,6 +21,8 b' this::' | |||
|
21 | 21 | incoming.notify = python:hgext.notify.hook |
|
22 | 22 | # batch emails when many changesets incoming at one time |
|
23 | 23 | changegroup.notify = python:hgext.notify.hook |
|
24 | # batch emails when many changesets outgoing at one time (client side) | |
|
25 | outgoing.notify = python:hgext.notify.hook | |
|
24 | 26 | |
|
25 | 27 | [notify] |
|
26 | 28 | # config items go here |
@@ -37,7 +39,8 b' Optional configuration items::' | |||
|
37 | 39 | style = ... # style file to use when formatting email |
|
38 | 40 | template = ... # template to use when formatting email |
|
39 | 41 | incoming = ... # template to use when run as incoming hook |
|
40 |
|
|
|
42 | outgoing = ... # template to use when run as outgoing hook | |
|
43 | changegroup = ... # template to use when run as changegroup hook | |
|
41 | 44 | maxdiff = 300 # max lines of diffs to include (0=none, -1=all) |
|
42 | 45 | maxsubject = 67 # truncate subject line longer than this |
|
43 | 46 | diffstat = True # add a diffstat before the diff content |
@@ -290,7 +293,7 b' def hook(ui, repo, hooktype, node=None, ' | |||
|
290 | 293 | ui.pushbuffer() |
|
291 | 294 | data = '' |
|
292 | 295 | count = 0 |
|
293 | if hooktype == 'changegroup': | |
|
296 | if hooktype == 'changegroup' or hooktype == 'outgoing': | |
|
294 | 297 | start, end = ctx.rev(), len(repo) |
|
295 | 298 | for rev in xrange(start, end): |
|
296 | 299 | if n.node(repo[rev]): |
@@ -32,6 +32,8 b'' | |||
|
32 | 32 | incoming.notify = python:hgext.notify.hook |
|
33 | 33 | # batch emails when many changesets incoming at one time |
|
34 | 34 | changegroup.notify = python:hgext.notify.hook |
|
35 | # batch emails when many changesets outgoing at one time (client side) | |
|
36 | outgoing.notify = python:hgext.notify.hook | |
|
35 | 37 | |
|
36 | 38 | [notify] |
|
37 | 39 | # config items go here |
@@ -48,7 +50,8 b'' | |||
|
48 | 50 | style = ... # style file to use when formatting email |
|
49 | 51 | template = ... # template to use when formatting email |
|
50 | 52 | incoming = ... # template to use when run as incoming hook |
|
51 |
|
|
|
53 | outgoing = ... # template to use when run as outgoing hook | |
|
54 | changegroup = ... # template to use when run as changegroup hook | |
|
52 | 55 | maxdiff = 300 # max lines of diffs to include (0=none, -1=all) |
|
53 | 56 | maxsubject = 67 # truncate subject line longer than this |
|
54 | 57 | diffstat = True # add a diffstat before the diff content |
General Comments 0
You need to be logged in to leave comments.
Login now