You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kenneth Chu <ke...@nxp.com> on 2008/05/26 05:20:59 UTC

Windows hook needed?


Hello,

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.

Thank you.

Best regards,
Kenneth Yu Chu
NXP Semiconductors, BL AVS, PL PC Systems
4F, 19-8, San Chong Rd., Nan-Gang Dist., Taipei, Taiwan
Tel : +886 2 8170 9534
Fax : +886 2 8170 9524

The information contained in this message is confidential and may be
legally privileged. The message is intended solely for the addressee(s). If
you are not the intended recipient, you are hereby notified that any use,
dissemination, or reproduction is strictly prohibited and may be unlawful.
If you are not the intended recipient, please contact the sender by return
e-mail and destroy all copies of the original message.

Re: Windows hook needed?

Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org