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

client-side hooks

From: Josip Babic <babic.josip_at_gmail.com>
Date: Thu, 12 Mar 2009 04:09:23 -0700 (PDT)

Hello,

I'm new in using TSVN, and have difficulties with setting up client-side hooks. I'm using TortoiseSVN 1.5.9, Build 15518 - 32 Bit on Win XP. Working copy is in D:\WC and hook script settings are:

Hook Type: Start Commit Hook
Working Copy Path: D:\WC
Commmand Line To Execute: D:\WC\batfile.bat
Wait for the script to finish: checked
Hide the script while running: unchecked

I also tried command lines:
cmd D:\WC\batfile.bat
cmd.exe /c D:\WC\batfile.bat

The batfile.bat file contains only one line:

exit 0

I always get "The hook script returned an error:" message when trying to commit. Without the script, commit works just fine.

What am I doing wrong?

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1312354

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-12 12:14:27 CET

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

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