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

Re: problem with focus of commit dialog when using start-commit hook

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 4 Aug 2011 06:30:17 -0400

On Thu, Aug 4, 2011 at 04:26, Marko Klopcic <marko.klopcic_at_isystem.si> wrote:
> Hi,
>
> I'm using start-commit hook (TortoiseSVN's client side hook).
>
> If the 'Command line to execute' field contains a GUI application, then
> Tortoise's
> commit dialog opens in background (behind Windows Explorer), when the
> hook application exits.
> The check-box 'Wait for the script to finish' in 'Configure hook
> scripts' dialog
> is checked.
>
> If console script is used as hook or the 'Wait for the script to finish'
> check box is
> NOT checked, then Tortoise's commit dialog opens as expected.
>
> To reproduce, you can simply enter 'notepad' to the 'Command line to
> execute'
> field and start commit.
>
> OS: Windows 7
> TortoiseSVN: 1.6.16 (the same behavior on earlier releases)
>
> Is there something I've missed or some workaround exists?

It seems to make sense to me. If you've told TSVN to wait until the
hook is finished, it's logical (to me) for it to not bring focus to
the dialog until the hook has finished. It might be more logical to
not create the dialog at all until then, but that may not be possible.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2809057

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-04 12:31:04 CEST

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