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

Re: TortoiseSVN nightly build 21657 noticeable delays in Commit and Add dialogs

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 05 Jul 2011 19:26:11 +0200

On 05.07.2011 04:56, Konstantin Kolinko wrote:
> Hi!
>
> Using TortoiseSVN 1.6.99, Build 21657 - 32 Bit -dev, 2011/07/04 21:49:01
> on WinXP SP3 32-bit
>
> When there are lot of modified files in my wc, when I open Commit
> dialog there is noticeable delay and dialog becomes unresponsive
> before the list of files is displayed.
>
> The delay becomes noticeable (more than 5 seconds) when there are more
> than 40 items to display. The total count of files in the wc does not
> matter.
> (The scan in large wc does take some time, but dialog does not become
> irresponsive: the scan can be canceled). Only the count of items that
> are to be displayed does matter.
>
> The same occurs with Add dialog when it prepares the list of items to
> add. See the recipe below.
>
> To reproduce:
> 1. Create an empty wc.
> 2. Create an empty folder and fill it with files. e.g. make a copy of
> TortoiseSVN/bin.
> 3. Go to the wc and open Commit dialog. It is opened quickly and
> displays the folder in it that you created.
>
> 4. Right-click on the folder and choose "Add..."
> 5. The Add dialog is displayed.
> 6. ->There is noticeable delay before the list of files is filled.
> 7. Click OK so that the files are added to the wc.
>
> 8. Click Cancel to close the Commit dialog.
>
> 9. Open the Commit dialog again.
> 10. -> Now there is noticeable delay before the list of files is filled.
>
>
> The dialogs are unresponsive when this delay occurs: if you switch
> away from them, they are not redrawn. The "Cancel" button does not
> respond to clicks.
>
> If I use svn 1.7 command line client and do "svn status" command in the same wc,
> the result is available almost immediately.

Try running an 'svn status -v' instead of just 'svn status'.

I can not reproduce this here. The commit dialog comes up pretty fast
even for a very big working copy with 287 added files.

If 'svn status -v' is equally fast for you but the commit dialog isn't,
create the registry key HKCU\Software\TortoiseSVN\DebugOutputString
(DWORD) and set it to 1.
Then get the debug viewer from here:
http://technet.microsoft.com/en-us/sysinternals/bb896647
start it and open the commit dialog. You should see debug messages from
TortoiseProc with timing info. Maybe there's something in there we can
use to find out what's the problem here.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2785020
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-05 19:26:52 CEST

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