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

Re: Hook scripts on Windows - using Windows Script Host?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2005-12-07 18:32:34 CET

On 12/6/05, Joshua Varner <jlvarner@gmail.com> wrote:
> Sorry didn't intend to make a private reply originally, re-adding the list
>
> On 12/6/05, Andy Levy <andy.levy@gmail.com> wrote:
> > On 12/6/05, Joshua Varner <jlvarner@gmail.com> wrote:
> > > On 12/6/05, Andy Levy <andy.levy@gmail.com> wrote:
> > > > Has anyone written any hook scripts in VBScript (or any other
> > > > WSH-compatible language) on Win32? I just found a script to convert
> > > > DOC files to PDFs and it would make my life easier if I could just
> > > > auto-convert our Word docs to PDF when we commit new versions to the
> > > > repository. Any catches I need to watch out for?
> > > >
> > > http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks
> > >
> > > Look for the big red warning box. The example is for propeties, but the
> > > same applies for file contents.
> > >
> > > Josh
> > >
> >
> > Actually, I wasn't planning on changing the file in the commit. We'll
> > be keeping both the PDF and the source DOC in the project, in
> > different locations. My plan was to, in the post-commit or later,
> > export the updated DOC file to a temp directory, convert it to PDF,
> > then check the PDF in at the proper location.
> >
> ok, Then no I haven't heard of anyone using VBScript specifically, but
> as long as it can be invoked from a bat file, it should be fine. Are the
> native versions of Perl and Python WSH compatable, if so the yes to
> that part of the question.

I don't know about Python, but if one installs ActiveState Perl, Perl
becomes available as "PerlScript" in WSH.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 7 18:35:42 2005

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