hgbook

view it/examples/ch10-notify-config.lst.it @ 797:26b05b7dd445

Minor changes and translation of code snippets for Ch.10.
author Giulio@puck
date Thu Aug 13 18:57:50 2009 +0200 (2009-08-13)
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 -->