Can't add notify hook
Kyle Altendorf
kyle.altendorf at gmail.com
Tue Dec 1 10:09:15 CST 2009
2009/12/1 Filip Gruszczyński <gruszczy at gmail.com>:
>> Are you seeing messages like last 2?
>
> I am only seeing something like this:
> # hg push -v
>
> pushing to /home/hg/jakakasa
> 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 there are aren't any messages, like you described.
>
> Maybe I have to put notify to extensions?
Try adding:
[notify]
# multiple sources can be specified as a whitespace separated list
sources = serve push pull bundle
The extension needs to know in what situations you actually want
messages sent out.
http://mercurial.selenic.com/wiki/NotifyExtension
> 3) The most common use case is for email to be sent if a push is made to
> the repository. This is corresponds to the sources keyword "serve", which
> is not obvious. What each of these keywords means really needs to be
> documented. Presumably an email will be sent if an action corresponding
> to any of the listed keywords is performed.
Good luck,
-kyle
>
> --
> Filip Gruszczyński
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
More information about the Mercurial
mailing list