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

Re: Running Hook script on Windows

From: allan juul <allan_at_muly.dk>
Date: 2006-05-10 22:45:35 CEST

Nathan Kidd wrote:
> allan juul wrote:
>> dear all who responded on this original thread.
>>
>> (assuming SVN version 1.3.1)
>> since you seem to have post-commits running on windows may I ask if
>> you could confirm that it is indeed possible to commit to the
>> repository without a wait for the post-commit to finish ?
>>
>> for example, if you put a
>>
>> sleep 120
>>
>> in your script, how long will a client's commit actual take.
>>
>> we have been running these for a long time, but after upgrading to
>> series 1.3.* they simply doesn't work correctly anymore
>
> All my pre/post-* scripts finish in < 1 second so I couldn't say.
>
> I *think* you'd need to launch your process with the 'start' command,
> but I recall another post a few weeks ago talking about a problem with
> even this (including some talk ofredirecting STDOUT and STDERR ). Have a
> look in the archives.
>
> -Nathan
>

thanks. i have looked (and asked before and elsewhere) and have tried
dozens of combinations of start with various flags - no-one works (for
me). surely one person must have seen this work on windows.

could you try just for test purposes to see if you could put a sleep (or
whatever to make your script take a couple of minutes to finish) and see
if your client hangs?

./allan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 10 22:46:45 2006

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.