hgbook

diff en/hook.tex @ 285:814698eebbaf

fixed a typo and formatted the notify hook configuration example nicer.
author Timo Paulssen <timonator@perpetuum-immobile.de>
date Fri Jan 04 22:09:00 2008 +0100 (2008-01-04)
parents 5f35a333ab9b
children a168daed199b
line diff
     1.1 --- a/en/hook.tex	Wed May 30 19:46:15 2007 +0200
     1.2 +++ b/en/hook.tex	Fri Jan 04 22:09:00 2008 +0100
     1.3 @@ -916,14 +916,14 @@
     1.4    config = /home/hg/repos/notify/notify.conf
     1.5    # repos live in /home/hg/repos on server, so strip 4 "/" chars
     1.6    strip = 4
     1.7 -  template = X-Hg-Repo: \{webroot\}\\n\\\\
     1.8 -    Subject: \{webroot\}: \{desc|firstline|strip\}\\n\\\\
     1.9 -    From: \{author\}\\n\\\\
    1.10 -    \\n\\\\
    1.11 -    changeset \{node|short\} in \{root\}\\n\\\\
    1.12 -    details: \{baseurl\}\{webroot\}?cmd=changeset;node=\{node|short\}\\n\\\\
    1.13 -    description:\\n\\\\
    1.14 -    \\t\{desc|tabindent|strip\}
    1.15 +  template = X-Hg-Repo: \{webroot\}
    1.16 +    Subject: \{webroot\}: \{desc|firstline|strip\}
    1.17 +    From: \{author\}
    1.18 +
    1.19 +    changeset \{node|short\} in \{root\}
    1.20 +    details: \{baseurl\}\{webroot\}?cmd=changeset;node=\{node|short\}
    1.21 +    description:
    1.22 +      \{desc|tabindent|strip\}
    1.23  
    1.24    [web]
    1.25    baseurl = http://hg.example.com/