[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: Stephen Elsemore <selsemore_at_collab.net>
Date: Mon, 22 Aug 2011 11:47:09 -0700

Mark,

 

I've confirmed that we no longer try to contact the repository when
showing the menu. When the repository cannot be contacted, the menu
still comes up instantly and there is no delay/error until you actually
try to run an SVN menu option.

 

Steve

 

From: Mark Phippard [mailto:markphip_at_gmail.com]
Sent: Monday, August 22, 2011 7:54 AM
To: users_at_subclipse.tigris.org
Subject: Re: [Subclipse-users] i can't delete folders (and commit them)
in Subclipse 1.7

 

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=2827709
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2011-08-22 20:47:15 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.