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

Re: Subversion - .wsf hook scripts on Windows

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2007-01-19 00:35:03 CET

Andy Levy wrote:
> Attached is a WSF script which iterates through all unnamed arguments
> passed in and appends them to a textfile c:\hook.txt. It then iterates
> through named arguments and does the same. It's not particularly
> "clean" or elegant, but it gets the job done.
I tried your script, but can't get it to run as a hook. I've made a few
changes to the code to see if those fix the problem: translating the
path to local style and changing some of the options used to create the
process, but none of those changes fixed anything.

I can only conclude that with the current code svn can only trigger hook
scripts in formats supported by the shell, but none that need an
external interpreter (cscript, python, perl), even if PATHEXT/ftype is set.

Lieven

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 19 00:35:17 2007

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