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

RE: Re: Windows hooks

From: Pereira, Ricardo Scachetti <rpereira_at_ku.edu>
Date: 2004-05-02 09:21:29 CEST

> Hi
> I've been playing around with the hooks in the windows version of
> Subversion and I noticed in the book that a hook can be any executable
> file, but as far as I know, .vbs files should also be executable
> although I can only make .exe and .bat files to work. Any ideas?

  You can create a one-line .bat file that calls your vbs script using cscript interpreter, like this:

cscript your_script.vbs %1 %2 %3 %4 %5 %6 %7 %8 %9

  The sequence of %1...%9 is to handle parameters. If your hook requires more than 9 parameters, then you are out of luck. But I don't think any SVN hook require too many parameters.
  I hope this helps.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 2 09:22:10 2004

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.