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, 04 Jan 2008 22:09:00 +0100
parents 5f35a333ab9b
children a168daed199b
line wrap: on
line diff
--- a/en/hook.tex	Fri Jan 04 13:04:07 2008 -0800
+++ b/en/hook.tex	Fri Jan 04 22:09:00 2008 +0100
@@ -916,14 +916,14 @@
   config = /home/hg/repos/notify/notify.conf
   # repos live in /home/hg/repos on server, so strip 4 "/" chars
   strip = 4
-  template = X-Hg-Repo: \{webroot\}\\n\\\\
-    Subject: \{webroot\}: \{desc|firstline|strip\}\\n\\\\
-    From: \{author\}\\n\\\\
-    \\n\\\\
-    changeset \{node|short\} in \{root\}\\n\\\\
-    details: \{baseurl\}\{webroot\}?cmd=changeset;node=\{node|short\}\\n\\\\
-    description:\\n\\\\
-    \\t\{desc|tabindent|strip\}
+  template = X-Hg-Repo: \{webroot\}
+    Subject: \{webroot\}: \{desc|firstline|strip\}
+    From: \{author\}
+
+    changeset \{node|short\} in \{root\}
+    details: \{baseurl\}\{webroot\}?cmd=changeset;node=\{node|short\}
+    description:
+      \{desc|tabindent|strip\}
 
   [web]
   baseurl = http://hg.example.com/