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

Re: Running Hook script on Windows

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2006-05-09 23:29:06 CEST

Daniell, Casey B wrote:
> Ok, I am having trouble getting my SVN hook script to run automatically
> under windows, it runs fine by hand (I have the path info included in
> it). When it run manually it creates a file in the C drive that I can
> see, so I know its operating, however, when it should run under windows
> I get nothing, help?
>
> Its located in the hooks directory of the repository where the checkin
> is occurring, and has been renamed to post-commit.bat as per the
> instructions, what am I missing to get this file called?

To find out what's going wrong:

1. rename post-commit.bat post-commit2.bat

2. create new post-commit.bat with one line like this:

   call %~dp0post-commit2.bat %* > c:\logfile.txt 2>&1

HTH,

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 9 23:29:26 2006

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