hgbook / it / examples / ch10-notify-config.lst.it

<!-- BEGIN ch10/notify-config.lst -->
<programlisting>[notify]
# spedisci davvero le email
test = false
# i dati delle sottoscrizioni si trovano nel repository notify
config = /home/hg/repos/notify/notify.conf
# i repository si trovano in /home/hg/repos sul server, quindi
# eliminiamo 4 caratteri "/"
strip = 4
template = X-Hg-Repo: {webroot}\n
  Subject: {webroot}: {desc|firstline|strip}\n
  From: {author}
  \n\n
  changeset {node|short} nel repository {root}
  \n\ndettagli:
  {baseurl}{webroot}?cmd=changeset;node={node|short}
  descrizione: {desc|tabindent|strip}

[web]
baseurl = http://hg.example.com/</programlisting>
<!-- END ch10/notify-config.lst -->
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.