Show More
@@ -7,10 +7,11 b'' | |||||
7 |
|
7 | |||
8 | '''hooks for sending email notifications at commit/push time |
|
8 | '''hooks for sending email notifications at commit/push time | |
9 |
|
9 | |||
10 |
Subscriptions can be managed through a hgrc file. Default mode is to |
|
10 | Subscriptions can be managed through a hgrc file. Default mode is to | |
11 | messages to stdout, for testing and configuring. |
|
11 | print messages to stdout, for testing and configuring. | |
12 |
|
12 | |||
13 |
To use, configure the notify extension and enable it in hgrc like |
|
13 | To use, configure the notify extension and enable it in hgrc like | |
|
14 | this:: | |||
14 |
|
15 | |||
15 | [extensions] |
|
16 | [extensions] | |
16 | hgext.notify = |
|
17 | hgext.notify = | |
@@ -47,8 +48,9 b' Optional configuration items::' | |||||
47 | [web] |
|
48 | [web] | |
48 | baseurl = http://hgserver/... # root of hg web site for browsing commits |
|
49 | baseurl = http://hgserver/... # root of hg web site for browsing commits | |
49 |
|
50 | |||
50 |
The notify config file has same format as a regular hgrc file. It has |
|
51 | The notify config file has same format as a regular hgrc file. It has | |
51 |
sections so you can express subscriptions in whatever way is |
|
52 | two sections so you can express subscriptions in whatever way is | |
|
53 | handier for you. | |||
52 |
|
54 | |||
53 | :: |
|
55 | :: | |
54 |
|
56 | |||
@@ -62,8 +64,8 b' sections so you can express subscription' | |||||
62 |
|
64 | |||
63 | Glob patterns are matched against path to repository root. |
|
65 | Glob patterns are matched against path to repository root. | |
64 |
|
66 | |||
65 |
If you like, you can put notify config file in repository that users |
|
67 | If you like, you can put notify config file in repository that users | |
66 | changes to, they can manage their own subscriptions. |
|
68 | can push changes to, they can manage their own subscriptions. | |
67 | ''' |
|
69 | ''' | |
68 |
|
70 | |||
69 | from mercurial.i18n import _ |
|
71 | from mercurial.i18n import _ |
General Comments 0
You need to be logged in to leave comments.
Login now