Can't add notify hook

Filip Gruszczyński gruszczy at gmail.com
Tue Dec 1 14:39:50 UTC 2009


> notify extension only works when changes are brought in repo, not
> committed.See http://mercurial.selenic.com/wiki/NotifyExtension.

I knew, I've missed something.

> Clone repo, then do some changes in clone and push back. You should
> get notification on push.

I did. At first I got:

error: incoming.notify hook failed: failed to parse /home/hg/mypage/.notify.conf
File contains no section headers.
file: /home/hg/mypage/.notify.conf, line: 2
'gruszczy at gmail.com = **\n'

Then I configured the file properly and on the next:

hg push -v
pushing to /home/hg/mypage
searching for changes
1 changesets found
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
calling hook incoming.notify: hgext.notify.hook

So the hook and notify seemed to work. However, I have received no
email. Any idea, what else might be wrong?

-- 
Filip Gruszczyński



More information about the Mercurial mailing list