0
我試圖讓Windows上的Mercurial在我提交代碼時發送電子郵件。該Mercurial.ini文件包含,Mercurial不會發送電子郵件
[ui]
username = PherricOxide
[tortoisehg]
ui.language = en
summarylen = 70
messagewrap = 80
closeci = False
engmsg = True
statustab = 0
[extensions]
hgext.notify =
[hooks]
changegroup.notify = python:hgext.notify.hook
incoming.notify = python:hgext.notify.hook
[email]
from = [email protected]
[smtp]
host = inetmail.company.net
[web]
baseurl = http://dev/...
[notify]
sources = serve push pull bundle
test = True
config = \temp\subscription.conf
template = \ndetails: {baseurl}{webroot}/rev/{node|short}\nchangeset: {rev}:{node|short}\nuser: {author}\ndate: {date|date}\ndescription:\n{desc}\n
maxdiff = 300
但是,它永遠不會打印與測試=假檢驗=真或電子郵件的任何東西。
阿推表演,
C:\test>hg push -v \test2
pushing to \test2
searching for changes
1 changesets found
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
calling hook changegroup.notify: hgext.notify.hook
calling hook incoming.notify: hgext.notify.hook
和提交似乎並沒有在所有觸發鉤,
C:\test>hg -v commit -m "test"
test.txt
committed changeset 11:a4ed0680b183
有沒有人有更多的Mercurial技巧比我爲什麼任何想法它好像壞了?