0

I need to send notifications to certain email due to a certain string in the commit message in the mercurial repository. I have now the notify extension working but it sends notifications at every push. thanx in advance.

4

1 回答 1

0

您可以使用该notify扩展作为参考并推出您自己的钩子,该钩子将检查传入变更集中的提交消息,并在它们包含特定字符串时发送电子邮件。Mercurial: The Definitive Guide一书有一章很棒的关于编写 hooks 的章节,应该可以帮助您入门。

于 2012-09-23T17:26:36.680 回答