Mercurial > public > mercurial-scm > hg-stable
diff hgext/notify.py @ 16500:8436a4e21417 stable
doc: fix careless document miss in help of hgext/notify
according to configuration example below, and direction of changeset
transference, this paragraph should describe about "changegroup" hook.
[hooks]
# one email for each incoming changeset
incoming.notify = python:hgext.notify.hook
# one email for all incoming changesets
changegroup.notify = python:hgext.notify.hook
# one email for all outgoing changesets
outgoing.notify = python:hgext.notify.hook
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 23 Apr 2012 00:30:45 +0900 |
parents | 2a7fa7c641d8 |
children | 525fdb738975 0fdd8193c8b5 |
line wrap: on
line diff
--- a/hgext/notify.py Mon Apr 23 00:29:04 2012 +0900 +++ b/hgext/notify.py Mon Apr 23 00:30:45 2012 +0900 @@ -11,7 +11,7 @@ changesets are being pushed, from the sending or receiving side. First, enable the extension as explained in :hg:`help extensions`, and -register the hook you want to run. ``incoming`` and ``outgoing`` hooks +register the hook you want to run. ``incoming`` and ``changegroup`` hooks are run by the changesets receiver while the ``outgoing`` one is for the sender::