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

Running Hook script on Windows

From: Daniell, Casey B <Casey_Daniell_at_reyrey.com>
Date: 2006-05-09 23:21:13 CEST

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?
 
 
post-commit.bat
-------------------------
 
echo on
 
SET REPOS=%1
SET REV=%2
 
SET
PATH=%PATH%;E:\Applications\Server\Subversion\bin;E:\Applications\Server
\Python
 
E:\Applications\Server\Python\python.exe
E:\Applications\Server\Subversion\tools\hook-scripts\mailer.py commit
%REPOS% %REV%
E:\Applications\Server\Subversion\tools\hook-scripts\mailer.conf >
c:\Casey_Temp_email.txt
 
Casey Daniell
Configuration and Release Manager
Reynolds Web Solutions
www.reynoldswebsolutions.com <http://www.reynoldswebsolutions.com/>

Confidentiality Statement:
This message is confidential and may contain confidential information it
is intended only for the individual[s] named herein. If this message is
being sent from a member of the legal department, it may also be legally
privileged. If you are not the named addressee[s] you must delete this
email immediately do not disseminate, distribute or copy.

 

 
Received on Tue May 9 23:23:16 2006

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

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