svn hooks 实现自动更新

搞来搞去,原来是hooks 下面的脚本名称必须是post-commit才可以, 写成fly-commit一直不行。晕死~~~

https://serverfault.com/questions/144181/subversion-hooks-no-longer-running

--------------------------------------------------------------------------------------------------------------------------------

For some reason, Subversion no longer seems to accept arbitrary extensions on hook scripts. I did have the hooks named like 'post-commit.sh', but Subversion no longer seems to look for these. After renaming the hook script to 'post-commit', Subversion ran it right away.

I'm not sure what revision to Subversion changed this behavior, and it is not mentioned in the CHANGES file for 1.6.11.

原文地址:https://www.cnblogs.com/oxspirt/p/8884316.html