Mercurial > hg-stable
comparison tests/test-notify.t @ 14617:23f4e1e40988
notify: send changesets on 'outgoing' hook, updated doc
author | Ingo Bressler <dev@ingobressler.net> |
---|---|
date | Tue, 14 Jun 2011 13:29:25 +0200 |
parents | 301725c3df9a |
children | d78b92353f26 |
comparison
equal
deleted
inserted
replaced
14616:64dfbe576455 | 14617:23f4e1e40988 |
---|---|
30 [hooks] | 30 [hooks] |
31 # one email for each incoming changeset | 31 # one email for each incoming changeset |
32 incoming.notify = python:hgext.notify.hook | 32 incoming.notify = python:hgext.notify.hook |
33 # batch emails when many changesets incoming at one time | 33 # batch emails when many changesets incoming at one time |
34 changegroup.notify = python:hgext.notify.hook | 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 [notify] | 38 [notify] |
37 # config items go here | 39 # config items go here |
38 | 40 |
39 Required configuration items: | 41 Required configuration items: |
46 strip = 3 # number of slashes to strip for url paths | 48 strip = 3 # number of slashes to strip for url paths |
47 domain = example.com # domain to use if committer missing domain | 49 domain = example.com # domain to use if committer missing domain |
48 style = ... # style file to use when formatting email | 50 style = ... # style file to use when formatting email |
49 template = ... # template to use when formatting email | 51 template = ... # template to use when formatting email |
50 incoming = ... # template to use when run as incoming hook | 52 incoming = ... # template to use when run as incoming hook |
51 changegroup = ... # template when run as changegroup hook | 53 outgoing = ... # template to use when run as outgoing hook |
54 changegroup = ... # template to use when run as changegroup hook | |
52 maxdiff = 300 # max lines of diffs to include (0=none, -1=all) | 55 maxdiff = 300 # max lines of diffs to include (0=none, -1=all) |
53 maxsubject = 67 # truncate subject line longer than this | 56 maxsubject = 67 # truncate subject line longer than this |
54 diffstat = True # add a diffstat before the diff content | 57 diffstat = True # add a diffstat before the diff content |
55 sources = serve # notify if source of incoming changes in this list | 58 sources = serve # notify if source of incoming changes in this list |
56 # (serve == ssh or http, push, pull, bundle) | 59 # (serve == ssh or http, push, pull, bundle) |