回复: 回复: 回复: 回复: 回复: Can not auto send email

Adrian Klaver adrian.klaver at aklaver.com
Sat May 31 18:43:28 UTC 2014


On 05/31/2014 10:45 AM, 龙 wrote:
> I have an additional question ,if I want to watch two or more
> repositories, how can I handle this?

I would find and then take a look at notify.py in the hgext/ directory. 
It has the
up to date information on configuring notify.

For this case see:

.... To enable notification, subscribers must
be assigned to repositories. The ``[usersubs]`` section maps multiple
repositories to a given recipient. The ``[reposubs]`` section maps
multiple recipients to a single repository::

   [usersubs]
   # key is subscriber email, value is a comma-separated list of repo 
patterns
   user at host = pattern

So comma separate the repos you want to watch.

>
> ------------------ 原始邮件 ------------------
> *发件人:* "Adrian Klaver";<adrian.klaver at aklaver.com>;
> *发送时间:* 2014年6月1日(星期天) 凌晨1:31
> *收件人:* "mercurial at selenic.com"<mercurial at selenic.com>;
> *抄送:* "龙"<390549824 at qq.com>;
> *主题:* Re: 回复: 回复: 回复: 回复: Can not auto send email
>
> On 05/31/2014 10:06 AM, 龙 wrote:
>  > Oh,yes, that works, I can receive push email now. Thank you very much!
>
> Made changes to Wiki entry so it agrees with notify.py code.
>
> --
> Adrian Klaver
> adrian.klaver at aklaver.com
> .


-- 
Adrian Klaver
adrian.klaver at aklaver.com



More information about the Mercurial mailing list