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

Re: using custom hooks

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Tue, 15 Jan 2008 05:23:09 -0600

On Jan 15, 2008, at 05:17, Floris van der Ploeg wrote:

> Is there a way to use PowerShell Scripts as Hook Scripts?
> Changing the Filetype Association for .ps1 files didn't do the job.
> Currently, I've create a workaround by kicking off a cmd script
> which, in
> turn, runs the PowerShell.exe command and passes the arguments.

That's the way to do it.

> This, however, doesn't return the correct exit code from my PowerShell
> script.
> So there could be 2 possible solutions:
> 1. enabling powershell support for hook scripts
> 2. passing the exit code from the powershell script to the cmd
> script (but
> does anybody know how to do this??)

I'm afraid I'm not familiar with Windows scripting.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-15 12:24:21 CET

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.