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

Re: [PATCH] run hook-scripts on WIN32

From: Carey Evans <careye_at_spamcop.net>
Date: 2003-01-14 06:56:55 CET

rbb@rkbloom.net wrote:

> Unfortunately, no. APR just calls the native Windows CreateProcess call,
> so if Windows can't do it, neither can APR. The best thing you could do,
> IMNSHO, is to just hard-code this to $(unix_script_name).bat on Windows.
> This allows the Windows environment to do the right thing, and it removes
> all the checks from the SVN code. The only problem with it, is that most
> Windows developers consider batch files an incredible hack.

Another problem would be that batch files can't set an exit status, even
if the program they call fails, or doesn't exist. If you had to pick a
single extension, .wsf would be better: JScript and VBScript are much
more like real programming languages than batch files are.

-- 
"Hanging is too good for a man who makes puns; he should be drawn and 
quoted."
         -- Fred Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 14 07:12:42 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.