hg notify在推送时给出“中断”

时间:2019-01-31 06:48:42

标签: mercurial tortoisehg mercurial-extension

我的本​​地计算机上有一个陆龟存储库。我想通过推送发送通知邮件。

在推动更改时,给出的只是消息“中断!”。我不知道确切的问题。有人可以帮助您了解有关该错误的更多详细信息。

<<按下>>后输出

% hg push http://localhost/mercurial/test_mail
pushing to http://localhost/mercurial/test_mail
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 3 changesets with 3 changes to 2 files
[command completed successfully Thu Jan 31 09:07:39 2019]
interrupted!
该存储库中的

<<。hg / hgrc >>

[extensions]
notify = 

[hooks]
changegroup.notify = python:hgext.notify.hook
#commit.notify = python:hgext.notify.hook

[email]
from = Testing Email Notifications <mailid@company.com>
method = smtp

[smtp]
host = localhost

[notify]
sources = serve serve push pull bundle
test =False
template =
  details:   {baseurl}/{webroot}/rev/{node|short}
  branches:  {branches}
  changeset: {rev}:{node|short}
  user:      {author}
  date:      {date|date}
  description:
  {desc}\n

maxdiff = 1000

[usersubs]
# key is subscriber email, value is comma-separated list of glob patterns
abc@gmail.com = *

[reposubs]
* = mailid@company.com

[web]
baseurl = http://localhost/mercurial/

0 个答案:

没有答案