hg notify дает "прервано" при нажатии - PullRequest
0 голосов
/ 31 января 2019

У меня есть хранилище черепах на моей локальной машине.Я хотел бы отправлять уведомления по адресу push.

При отправке изменений все, что выдает, это сообщение «прервано!».Я не мог понять точную проблему.Может кто-нибудь помочь узнать больше подробностей об ошибке.

<< Вывод после push >>

% 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/
...