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

Using VBScript for hooks? pre-revprop-change.vbs?

From: Tom Malia <tommalia_at_ttdsinc.com>
Date: 2007-08-15 17:28:38 CEST

I'm trying to write a pre-revprop-change hook using VBScript (Trying to
implement svnsync)

 

The problem I'm having is, Subversion doesn't appear to be finding the file.

 

If I name the file: pre-revprop-change.vbs

 

And I run svnsync initialize it acts as if the hook script is not there.

 

If I name the file: pre-revprop-change.wsf

 

And I run svnsync initialize it tells me that it "failed to start" the
script file.

 

I assume the issue with wsf is that I don't have the Microsoft component
that actually runs wsf files properly installed/registered. I'm hoping that
is irrelevant though because I'd rather be able to just use VBS files.

 

Why does it seem like Subversion is not looking for the: VBS version of the
file?

 

Thanks in advance,

Tom Malia

 

p.s. It would be really nice if the standard hooks directory contained a
complete set of VBScript template files for us non-UNIX folks along with the
template Bash scripts.

 

 
Received on Wed Aug 15 17:26:04 2007

This is an archived mail posted to the Subversion Users mailing list.