hgbook
diff en/examples/ch10/notify-config.lst @ 1095:40b0b761519d
2.7.1 zh translated 1 fuzzy
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Tue Nov 24 07:51:10 2009 -0500 (2009-11-24) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/ch10/notify-config.lst Tue Nov 24 07:51:10 2009 -0500 1.3 @@ -0,0 +1,19 @@ 1.4 +[notify] 1.5 +# really send email 1.6 +test = false 1.7 +# subscriber data lives in the notify repo 1.8 +config = /home/hg/repos/notify/notify.conf 1.9 +# repos live in /home/hg/repos on server, so strip 4 "/" chars 1.10 +strip = 4 1.11 +template = X-Hg-Repo: {webroot}\n 1.12 + Subject: {webroot}: {desc|firstline|strip}\n 1.13 + From: {author} 1.14 + \n\n 1.15 + changeset {node|short} in {root} 1.16 + \n\ndetails: 1.17 + {baseurl}{webroot}?cmd=changeset;node={node|short} 1.18 + description: {desc|tabindent|strip} 1.19 + 1.20 +[web] 1.21 +baseurl = 1.22 +http://hg.example.com/