hgbook

diff en/examples/ch10/notify-config.lst @ 1114:527b86d55d4a

inotify: update installation information

inotify is shipped in Mercurial since 1.0, which greatly simplifies the installation process
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sun Dec 13 16:35:56 2009 +0900 (2009-12-13)
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	Sun Dec 13 16:35:56 2009 +0900
     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/