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

Re: Hooks on WinXP with cygwin/bash

From: Andrew Thompson <subversionuser_at_aktzero.com>
Date: 2005-04-08 05:00:26 CEST

Branko Čibej wrote:
> Gunnar Grim wrote:
>> Hi,
>> I'd like to write my hooks (post-commit etc) as bash scripts instead
>> of exe or bat files. I realize that I can make a simple wrapper bat
>> file for each script, that invokes bash, but I assume that I will have
>> slightly better performance if there was some way I could tell
>> subversion to skip that step and run bash directly. Anyone knows if
>> this is possible?

Save your file with a recognizable extension(say .sh). Right-click it
and choose open with... Click the Other button, and chase down your bash
executable and click ok a couple of times. That should associate your
script with bash. Cross your fingers and commit.

(Theory, not tested, as I haven't worked enough with svn to fiddle with
commit hooks.)

Andrew Thompson
Interested in a hosted SVN repository? Email me, let's talk...
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 8 05:03:05 2005

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.