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

Re: Email commit log in Windows.

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-12-14 02:59:47 CET

alistair wrote:
> I have a rough one that uses command line php rather than python.
> Problem is I can't get SVN to fire up post-commit.bat :-S

Are you sure? post-commit.bat fires just fine on my Windows box. Have
you tried outputting some text to a known location? I generally try
something like the following just to make sure I've set up everything

echo post-commit hook script fired for %1 > c:\post-commit.log

In general, you should assume that you don't know the directory the
script is going to be executed in, and you should assume an empty
environment. So you may need to adjust your hook script accordingly
(i.e., cd to a particular directory, and possibly set up an appropriate
path and other environment variables that you might need).


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 14 03:02:46 2004

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.