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

Re: [Subclipse-users] i can't delete folders (and commit them) in Subclipse 1.7

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 22 Aug 2011 10:53:37 -0400

On Mon, Aug 22, 2011 at 10:47 AM, Stephen Elsemore <selsemore_at_collab.net>wrote:

> We decided to always show Team->Upgrade and show an error message if it is
> selected against a folder that has already been upgraded, rather than
> disabling or not showing the option. This is to avoid the overhead of an
> API call when the context menu is shown.
>

Something worth looking at is whether we are already making an API call for
some of the other menu options. If it is a 1.6 working copy, then any API
like info or status will throw an exception. That would let us know to
enable the upgrade option. If the API call works, then we know to hide it.

I know we have tried really hard to NOT have to make any API calls when
showing the menu. So I do not recall if we are doing it or not. I think we
are, because I have seen some complaints about how you cannot right-click on
an item if you cannot contact your repository. This implies we call an API
that accesses the repository -- which of course is bad if we do.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2827623
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2011-08-22 16:53:44 CEST

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

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