Applies to: VisualSVN Server 2.5 and later
VisualSVN Server Manager is an administration tool and accesses repositories directly. All actions to repostories are performed on the behalf of the administrator who connects using VisualSVN Server Manager. In other words, VisualSVN Server impersonates the administrator and all operations are perfromed as if administrator accessed repositories directly on the file system.
This leads to the situation when Subversion hooks would be executed under administrative permissions. However, it could be unexpected that server-side code is executed under administrative permissions. In order to prevent such unexpected behavior, VisualSVN Server Manager bypasses execution of Subversion hooks.
If you have a requirement that Subversion hooks must be always executed without any exceptions, use your favorite Subversion client (e.g. TortoiseSVN or command-line Subversion client) to manage repository folders.
For example, you may create repository folders using the svn mkdir command with the following steps:
- Start VisualSVN Server Manager.
- Start command line interpreter using the Action | All Tasks | Start Command Prompt menu command.
Execute the following command line:
svn mkdir -m "Created new folder" https://svn.contoso.com/svn/repository/folder