RE: Auto-refresh after 'Team | Switch to another Branch/Tag/Revision...'
Stephen Elsemore <[email protected]> Fri, 6 Dec 2013 23:56:21 +0000
| Newsgroups | gmane.comp.version-control.subversion.subclipse.user |
|---|---|
| Message-ID | <05F5B7A81CDD4748AB365FA6D1F28BB239F56E2E@EXCH01.sp.corp.collab.net> |
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:[email protected]] Sent: Tuesday, December 03, 2013 1:16 PM To: [email protected] 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: [[email protected]].