Is any way to setup pre-commit hooks on the client side with an svn client, for example through eclipse or a command line svn client ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No. But you can alias your own script to svn, so it gets called every time you type svn
. The script then calls actual svn. How about that?
回答2:
Not sure if it's any help in your particular case, but TortoiseSVN (on Windows) supports client-side hooks.