Hook script client-side execution

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

+6
source share
2 answers

The only possible solution is to use TortoiseSVN, which has the ability to execute a special Script click (only from TortoiseSVN) on the client side. Otherwise, you cannot run Hook scripts because they always run on the server side.

+6
source

Create a script file that is an alias for the svn if you use 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 the environment variable of the system path to the directory containing the SVN executable.

+4
source

Source: https://habr.com/ru/post/903651/


All Articles