プロジェクトで通知拡張機能を使用して、誰かがリポジトリからプッシュまたはプルしたときに通知を受けようとしていますが、通知が送信されません...
私のhgrcファイル:
[paths]
default = // repo URL
[extensions]
hgext.notify=
[hooks]
changegroup.notify = python:hgext.notify.hook
[email]
from = my email
[smtp]
host = smtp
username = my username
password = password
port = 26
tls = true
local_hostname = example.com
[web]
baseurl = http://hgserver/...
[notify]
sources = serve push pull bundle
test = True
config = ../../../Repos/subscription.conf
template =
details: {baseurl}{webroot}/rev/{node|short}
branches: {branches}
changeset: {rev}:{node|short}
user: {author}
date: {date|date}
description:
{desc}\n
maxdiff = 300
subscription.conf ファイル:
[reposubs]
* = someone@abc.com
出力ログ:
% hg commit --repository D:\Repos\Test Repo --verbose --user mabdelkh@TATTIA_DSKTP1.mgc.mentorg.com --message=vhghg D:\Repos\Test Repo\src/test1.c
src/test1.c
calling hook commit.lfiles: <function checkrequireslfiles at 0x000000000845C2E8>
committed changeset 34:cbecf228369e
[command completed successfully Mon Sep 10 14:53:50 2012]
% hg --repository D:\Repos\Test Repo push http://svr-hub-rnd-02:8000/Hg/TestRepo1/
pushing to http://svr-hub-rnd-02:8000/Hg/TestRepo1/
searching for changes
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
[command completed successfully Mon Sep 10 14:54:02 2012]
Test Repo%
前もって感謝します