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

Re: [TSVN] Context Menu Bug

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-07 16:23:48 CEST

On 9/7/05, Emerson Clarke <emerson.clarke@gmail.com> wrote:
> I noticed that on laptops with wireless connections the context menu in
> explorer was very slow on a networked folder.
>
> So i did some research on problems with context menu handlers, suspecting
> that it might be caused by one of a number of programs which i had
> installed. TortoiseSVN immediately sprang to mind since i know that it does
> network related things. The following site lists common problems and
> solutions to slow context menus.

TSVN does *no* 'network related things' from the shell extension part.

> http://windowsxp.mvps.org/slowrightclick.htm
>
> Using a utility called shexview i disabled the context menu handler for
> TortoiseSVN and ran some tests, it appeared to resolve the problem. So im
> concluding that TortoiseSVN has a bug in its context menu handler in the
> sense that its doing something evil when im right clicking networked
> folders. Ill go out on a limb and guess that its probably a dns lookup or
> something similar...

No. All it does is checking if there's an '.svn' folder beneath or
below the item you right-clicked on. And sometimes (if your network
connection is lousy) PathFileExists() can take some time (That's a
windows 'problem', because to check if a path exists the whole
Windows/NTFS rights management is involved to first check if you're
allowed to see if a folder exists or not).
So, *that* the reason for the slowdown. You can reduce it by improving
your network connection, not set any user restrictions on the
networked folder, make your domain controller faster, ...

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Sep 7 16:24:14 2005

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