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

Re: Windows Shell Kung-Fu

From: allan <allan_at_muly.dk>
Date: 2006-10-04 09:24:51 CEST

Eric Lemes wrote:
>>
>> > AFAIK...This problem was introduced in 1.3.0 and the best documented
>> > workaround is to use a .NET executable written by Si Sshnug to launch
>> the
>> > process. See here for the details:
>> > http://svn.haxx.se/users/archive-2006-07/0375.shtml
>> >
>> > Of course, alternatives using some form of Windows shell kung-fu would
>> be
>> > better. :)
>>
>> right, so would it be correct to re-open this ticket, then ?
>> it used to work on all platforms prior to 1.3.0 and since that
>> apparently only works on non-windows.
>>
>
> Here I solved the problem using two scripts:
>
> post-commit.bat
> ============
>
> set REPOS=%1
> set REV=%2
> SET PATH=C:\PERL\BIN;c:\windows\system32;
> SET OS=Windows_NT
> SET SystemRoot=C:\WINDOWS
>
> start cmd /c c:\svn\myrepos\hooks\emails.bat
>
>
> emails.bat (perl c:\perl\bin\svnnotify don't spam a new line.)
> ===========================================
> perl c:\perl\bin\svnnotify --repos-path %REPOS% -r %REV% --to
> myemail@myprovider.com -H HTML::ColorDiff -d --from
> svn@myprovider.com--subject-cx --subject-prefix "[SVN]" --charset
> cp850 --io-layer raw
>

that doesn't work for us on win2003. are you sure you don't have a
client delay ? how long does your post-commit take. try and make it
sleep 30 seconds for instance and watch your client hang.

./a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 4 09:25:32 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.