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

RE: [Subclipse-users] Auto-refresh after 'Team | Switch to another Branch/Tag/Revision...'

From: Stephen Elsemore <selsemore_at_collab.net>
Date: Fri, 6 Dec 2013 23:56:21 +0000

Upon completion of a switch, Subclipse does a refreshLocal on the selected resource with depth equal infinity. I believe that this should cause the text decorators to refresh. The Package Explorer view, however, doesn't seem to behave correctly. I notice that if I do a switch from a different resources view, such as Project Explorer, then the text decorators of the selected resource and all its visible children automatically refresh to reflect the new branch. However, if I do the same thing from the Package Explorer view, then the text decorations only change automatically for the selected resource and any children that have actually been changed by the switch (and these are only changing because of Subclipse's file modification listener). It is necessary to press F5 or run Refresh from the context menu to see all the other children's text decorations change. So F5 obviously does something that a simple refreshLocal does not, at least when it comes to the Package Explorer view. At first I thought this might be an Eclipse regression, but I've tested as far back as 3.8 and see the same behavior. Will need to look into this more.

But is what I'm describing similar to your problem, or are you not even seeing the text decoration change for the resource that you selected to switch? (That would be a behavior I haven't been able to recreate).

Thanks

From: Art Bergquist [mailto:arthur.bergquist_at_cognetech.com]
Sent: Tuesday, December 03, 2013 1:16 PM
To: users_at_subclipse.tigris.org
Subject: [Subclipse-users] Auto-refresh after 'Team | Switch to another Branch/Tag/Revision...'

Each time we do a 'Team | Switch to another Branch/Tag/Revision...', we have to refresh the project in Package Explorer to see the name of the Branch/Tag/Revision to which we had just switched.

Please have it automatically refresh so that we see the name of the Branch/Tag/Revision to which we had just switched.

TIA,

Art Bergquist

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3069887

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2013-12-07 00:56:27 CET

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.