hgbook
view it/examples/ch10-notify-config.lst.it @ 1055:4f899bb4d0dd
1.6.5 refined
author | zhaopingsun |
---|---|
date | Tue Nov 10 19:48:42 2009 -0500 (2009-11-10) |
parents | |
children |
line source
1 <!-- BEGIN ch10/notify-config.lst -->
2 <programlisting>[notify]
3 # spedisci davvero le email
4 test = false
5 # i dati delle sottoscrizioni si trovano nel repository notify
6 config = /home/hg/repos/notify/notify.conf
7 # i repository si trovano in /home/hg/repos sul server, quindi
8 # eliminiamo 4 caratteri "/"
9 strip = 4
10 template = X-Hg-Repo: {webroot}\n
11 Subject: {webroot}: {desc|firstline|strip}\n
12 From: {author}
13 \n\n
14 changeset {node|short} nel repository {root}
15 \n\ndettagli:
16 {baseurl}{webroot}?cmd=changeset;node={node|short}
17 descrizione: {desc|tabindent|strip}
19 [web]
20 baseurl = http://hg.example.com/</programlisting>
21 <!-- END ch10/notify-config.lst -->