comparison 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
comparison
equal deleted inserted replaced
16499:0b463f52b948 16500:8436a4e21417
9 9
10 This extension let you run hooks sending email notifications when 10 This extension let you run hooks sending email notifications when
11 changesets are being pushed, from the sending or receiving side. 11 changesets are being pushed, from the sending or receiving side.
12 12
13 First, enable the extension as explained in :hg:`help extensions`, and 13 First, enable the extension as explained in :hg:`help extensions`, and
14 register the hook you want to run. ``incoming`` and ``outgoing`` hooks 14 register the hook you want to run. ``incoming`` and ``changegroup`` hooks
15 are run by the changesets receiver while the ``outgoing`` one is for 15 are run by the changesets receiver while the ``outgoing`` one is for
16 the sender:: 16 the sender::
17 17
18 [hooks] 18 [hooks]
19 # one email for each incoming changeset 19 # one email for each incoming changeset