Hook script execution on client side

后端 未结 2 738
無奈伤痛
無奈伤痛 2021-01-18 04:27

I am working on a SVN project, and I need to execute my pre-commit hook script from the client side. Is there any way to execute them?

相关标签:
2条回答
  • 2021-01-18 05:06

    The only possible solution is to use TortoiseSVN which has the opportunity to execute special Hook Script (only from TortoiseSVN) on the client side. Otherwise it's not possible to run Hook Scripts, cause they run allways on the server side.

    0 讨论(0)
  • 2021-01-18 05:10

    Create a script file that is an alias for the svn command if you are using the command-line as this post suggests: http://top-frog.com/2009/04/23/client-side-pre-and-post-svn-hooks-with-unix-aliases/

    You just need to put the directory containing the script file in your system's path environment variable before the directory containing the SVN executable.

    0 讨论(0)
提交回复
热议问题