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

Re: Windows hook needed?

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Mon, 26 May 2008 17:54:22 -0500

On May 26, 2008, at 00:20, Kenneth Chu wrote:

> I am a newbie to SVN.
> Recently I installed TortoiseSVN 1.4.8 and SVN 1.4.6 on a Windows
> 2003 machine for our organization.
> Everything was successfully set up, except for hook scripts.
> As I read from the SVN manual, in order to run the hook scripts on
> Windows, they need to be re-written.
>
> But is it necessary to have hook scripts configured to run? It
> appears that TortoiseSVN client is able to perform check in/out
> operations successfully just by itself.
>

Welcome to Subversion!

Hook scripts are only needed if you want to perform additional
actions at start-commit, pre-commit, post-commit, pre-revprop-change,
or any of the other points at which hook scripts can be run.

Some example hook scripts are written in bash, which is not available
on Windows unless you install Cygwin. If you want to use hook scripts
on a Windows server (or any other server), you'll have to write them
in a language your server supports. Windows supports VisualBasic
scripts, you can install Perl or Python or PHP or Ruby or any of a
number of other scripting languages if you prefer those, etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-27 00:54:53 CEST

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.