Hook script execution on client side

后端 未结 2 768
無奈伤痛
無奈伤痛 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: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.

提交回复
热议问题