If you can move away from AnkhSVN and switch to TortoiseSVN , you will get client-side hook support for free .
You can use any executable thing as a hook, and they get different parameters depending on the type of hook scripts.
The pre-commit hook, for example, receives the following parameters:
PATH DEPTH MESSAGEFILE CWD
If the items are as follows:
PATH
The path to a temporary file that contains all the paths for which the operation was run. Each path is on a separate line in the temporary file.
DEPTH
Depth at which commit / update is performed.
MESSAGEFILE
The path to the file containing the log message to commit. The file contains UTF-8 encoded text. After the start-commit hook completes successfully, the log message is read back, giving the hook the ability to modify it.
CWD
The current working directory with which the script is running. This is installed in the shared root directory of all affected paths.
While TortoiseSVN is not integrated into VS, I think it would be nice to look, as you could use it as a universal client for other projects (i.e. all your other coding / scripting materials that you don't do with V.S.).
source share