[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Client side hooks - failed .bat test

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: 2006-09-04 17:05:29 CEST

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

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.