[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: <ScotDiddle_at_upsfreight.com>
Date: 2006-05-10 13:26:17 CEST


        I had the same problem a couple of weeks ago and Jeremy Whitlock
made a suggestion that worked for me.

        He said to surround the executable ( E:\Applications\Server\Python\python.exe ) statement in double-quotes. I did and this solved my problem.

        I also encased my parms in quotes separately.

Scot L. Diddle,

UPS Freight, Richmond VA

"Daniell, Casey B" <Casey_Daniell@reyrey.com>
05/09/2006 05:21 PM

        To: <users@subversion.tigris.org>
        Subject: Running Hook script on Windows

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?
echo on
E:\Applications\Server\Subversion\tools\hook-scripts\mailer.py commit
E:\Applications\Server\Subversion\tools\hook-scripts\mailer.conf >
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/>Casey Daniell
Configuration and Release Manager
Reynolds Web Solutions

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.

NOTE: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL AND NONPUBLIC INFORMATION. IT IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL(S) OR ENTITY(IES) NAMED ABOVE, AND OTHERS SPECIFICALLY AUTHORIZED TO RECEIVE IT. If you are not the intended recipient of this document, you are notified that any review, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify me immediately by return email, delete the electronic message and destroy any printed copies. Thank you for your cooperation.
Received on Wed May 10 18:57:13 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.