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

[TSVN] Re: Hooks

From: Jan Bares <herkule9s_at_yahoo.com>
Date: 2004-12-29 15:00:40 CET

Thanks Ivan,

however this doesn't solve the problem with the console window. It will
blink for a moment and dissapear. In fact I don't understand why subversion
creates new console window when the hook is EXE application. Windows will
take care about that. When the EXE is console application, it will allocate
a console for the process, if EXE is Windows application, no console is
created.

Jan

"Ivan-Assen Ivanov" <ivanassen@gmail.com> wrote in message
news:d75d430104122902222dbd76dc@mail.gmail.com...
> You can create a BAT file with the post-commit hook name, calling your
> EXE via Start, something like that:
>
> START /B YourExe.exe %1 %2 %3...
>
> Note that this (START without a /WAIT option) will also let Subversion
> and respectively TSVN continue with their work (and return control to
> you) immediately, even if your hook takes some time (e.g. archives the
> repository, or prepares and sends a commit email.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Dec 29 15:43:12 2004

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

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