Is there a way to block SVN commits unless they have a certain description in the commit description window using a hook?

拥有回忆 提交于 2019-12-11 08:00:35

问题


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?

来源:https://stackoverflow.com/questions/9574885/is-there-a-way-to-block-svn-commits-unless-they-have-a-certain-description-in-th

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!