use*_*648 10
编辑新版本的Mercurial.Net使编写钩子变得更容易,请参阅http://mercurialnet.codeplex.com/discussions/261283
MessageBox.Show(message)以检查钩子是否确实已执行.将钩子添加到.hg/hgrc文件中(下面是每次提交后将执行的钩子的示例,请参阅https://www.mercurial-scm.org/wiki/Hook了解更多信息,http:// hgbook.red-bean.com/read/handling-repository-events-with-hooks.html了解更多信息):
[hooks]
commit.hook1 = "C:\path to file\MyHook.exe"
Run Code Online (Sandbox Code Playgroud)下次你提交你的钩子时应该执行.
检查http://docs.vkarlsen.no/Mercurial.Net/以了解Mercurial.Net的类.
| 归档时间: |
|
| 查看次数: |
1810 次 |
| 最近记录: |