Mercurial > hgbook
comparison 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 |
comparison
equal
deleted
inserted
replaced
284:075636650520 | 285:814698eebbaf |
---|---|
914 test = false | 914 test = false |
915 # subscriber data lives in the notify repo | 915 # subscriber data lives in the notify repo |
916 config = /home/hg/repos/notify/notify.conf | 916 config = /home/hg/repos/notify/notify.conf |
917 # repos live in /home/hg/repos on server, so strip 4 "/" chars | 917 # repos live in /home/hg/repos on server, so strip 4 "/" chars |
918 strip = 4 | 918 strip = 4 |
919 template = X-Hg-Repo: \{webroot\}\\n\\\\ | 919 template = X-Hg-Repo: \{webroot\} |
920 Subject: \{webroot\}: \{desc|firstline|strip\}\\n\\\\ | 920 Subject: \{webroot\}: \{desc|firstline|strip\} |
921 From: \{author\}\\n\\\\ | 921 From: \{author\} |
922 \\n\\\\ | 922 |
923 changeset \{node|short\} in \{root\}\\n\\\\ | 923 changeset \{node|short\} in \{root\} |
924 details: \{baseurl\}\{webroot\}?cmd=changeset;node=\{node|short\}\\n\\\\ | 924 details: \{baseurl\}\{webroot\}?cmd=changeset;node=\{node|short\} |
925 description:\\n\\\\ | 925 description: |
926 \\t\{desc|tabindent|strip\} | 926 \{desc|tabindent|strip\} |
927 | 927 |
928 [web] | 928 [web] |
929 baseurl = http://hg.example.com/ | 929 baseurl = http://hg.example.com/ |
930 \end{codesample2} | 930 \end{codesample2} |
931 | 931 |