mercurial - hg notify 在推送时给出“中断”
问题描述
我的本地机器上有一个乌龟存储库。我想在推送时发送通知邮件。
在推动更改时,所给出的只是“中断!”的消息。我无法弄清楚确切的问题。有人可以帮助了解有关错误的更多详细信息。
<<推送后输出>>
% 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/
解决方案
推荐阅读
- admob - 如何将 ti.admob 与 Android 应用程序一起使用?示例不起作用
- grails - Gorm:对象映射
- javascript - 有没有办法在 p5.js 中使用默认字体在文本后面放置一个框?
- python - Python subprocess.call 非零退出状态1
- reactjs - 状态并不总是更新
- macos - auval:错误:类数据没有必填字段:
== 组件类型 - console - F9 在 Spyder 中执行选定的文本?
- ruby-on-rails - Ruby on Rails 表单与表中的 collection_check_boxes - has_and_belongs_to_many 关联
- javascript - 在渲染组件之前根据其 id 设置默认活动项
- ios - 未从 JSON Swift 获取数据