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

Re: RE: Linux prefered for running Subversion : call for testimonials

From: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2007-11-15 15:33:44 CET

"Andy Levy" <andy.levy@gmail.com> wrote:

> WSF, at least on my install (which I haven't changed from defaults),
> defaults to running under wscript.exe. Which is pretty useless when
> run as a hook script, it needs to be cscript.exe.
>
I could be wrong about the defaults for PATHEXT but the same objection also
applies to .VBS, .VBE, .JS, .JSE, .WSF all of which are configured to run
with WSCRIPT by default. It isn't entirely obvious to me that you couldn't
write a useful hook script using WSCRIPT: you can't write to stderr, but if
the hook doesn't need to generate any output maybe you could run it under
wscript.

Anyway, my point is that if Subversion followed the same rules as the rest
of windows it would be much easier to write hook scripts in the scripting
language of your choice. Administrators of Windows-based repositories could
do what they'd expect to work and have it work: e.g. add .PY to pathext and
then just write the scripts in Python.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 15 15:36:40 2007

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.