I have made a first try at using the client side hooks capability of the latest nightly.
I registered the following batch-script as a start-commit hook for a WC:
--- schnipp ---
@ECHO OFF
ECHO Testing!
EXIT /B 1
--- schnipp ---
The expected behaviour would have been to prevent all commits on this WC with the error-message "Testing!", instead nothing happens.
If I remove the /B-flag from EXIT the return-code seems to be caught by TSVN and commiting is prevented, but still no error-message.
Have I missed something please point it out to me!
Hans-Emil
Received on Mon Sep 4 17:05:29 2006