What options are available for VisualSVNServerHooks.exe?

VisualSVN Server provides an exe called VisualSVNServerHooks that has some command line controls, but as far as I can tell, there is only one preliminary commit for checking case sensitivity of file names and one post-commit for sending email notifications. This seems to be a slightly lost opportunity; Does anyone know if there are other tools supported by the tool? Is there really even a basic mandatory workaround? Obviously, you can still use scripting for scripts, regardless of VisualSVN, but it is always good when there is an option out of the box.

+3
source share
2 answers

What is out of the box, but the point of the hooks is that you can write your own to do whatever you like. I think it would be nice to have a few more "common" ones, such as preventing empty log messages, preventing certain file names / extensions, etc.

There are a lot of hooks written in perl, so I recommend sticking with this. Perl is easy to install, get perl strawberries, and then extract only perl.exe and perl.dll, you only need it if you do more complex things.

You can find a set of common hooks on the subversion site .

+2
source

VisualSVNServerHooks.exe Subversion. ( VisualSVNServerHooks --help)

VisualSVN Team, : http://www.visualsvn.com/support/feedback

+1

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


All Articles