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

Hooks on Windows

From: Eric Carlson <eric.carlson_at_group-technical.com>
Date: 2004-04-23 16:32:24 CEST

I have a hook which gets the HEAD, performs an ant build and then
publishes the committed files to a staging webserver. Its all kicked
off by the file hooks\post-commit.bat. I had trouble whenever this
tried to echo output, i.e. write to stdout - the whole job stopped. So
I revised by scripts not to do that but unfortunately it invokes ant
which logs stuff by default (i.e. even when theres nothing to do) and
so kills the script at that point.

How can I tell the hook script to turn off output for all its invoked
scripts please? Also, what I really want is not to just lose these
logs but pip them to a file? All this is of course of thats what my
real problem causing the hooks to fail is. I know they are being
invoked because as a test I added "copy foo.txt bar.txt" as the first
line in one and bar.txt was created ok. Cheers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 23 16:32:51 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.