I want to stop developers from committing unless they reference a ticket in the message field of their SVN commit. for example, it should read something like "see ticket #999 - (description of change)" and if they don't have that formatting, it will stop the commit. Is this possible with a hook and if so, how would I code that?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):