Can't add notify hook

Filip Gruszczyński gruszczy at gmail.com
Tue Dec 1 06:07:29 CST 2009


I am trying to add notify hook to our repository, but no mails are
sent. My hgrc looks like this:

[paths]
default = /home/hg/hg-svn-mypage

[hooks]
incoming.notify = python:hgext.notify.hook

[notify]
test = false
config = /home/hg/mypage/.notify.conf
strip = 1
template = X-Hg-Repo: {webroot}\n
    Subject: {webroot}: {desc|firstline|strip}\n
    From: {author}
    \n\n
    changeset {node|short} in {root}
    \n\ndetails:
    {baseurl}{webroot}?cmd=changeset;node={node|short}
    description: {desc|tabindent|strip}

[web]
baseurl = http://mypage.pl/
[paths]


And in .notify.conf I have my mail:

gruszczy at gmail.com

No mails come though. Can anyone help me and tell me, what am I doing wrong?

-- 
Filip Gruszczyński


More information about the Mercurial mailing list