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

Re: [Subclipse-users] Switched flag appears to be broken

From: Mark Phippard <mphippard_at_collab.net>
Date: Thu, 18 Dec 2008 15:18:47 -0500

On Thu, Dec 18, 2008 at 3:13 PM, Hale,Katherine <halek_at_oclc.org> wrote:
> I switched to an earlier revision of trunk, and it appears to have worked -
> I see the revision/author/timestamp I expected. But when I look at the
> properties of the file (or folder - it behaves the same with either) the
> flag for "switched" is still false. Cleanup does not fix the issue. It
> happens even on a fresh checkout. I upgraded to the latest Subclipse since I
> knew I was out of date, and it still happened. This might actually be a
> Subversion problem (if it isn't just a user error problem) but I thought I'd
> try you guys first.
>
> I seem to remember this making a "blue" database icon before, so I believe
> it was working for me before, although I can't find a list of the icons
> anywhere to say for sure. I'm using the Tortoise icons from within Eclipse.

"Switched" is one of the statuses we get back from the SVN API call we
make when getting the statuses. The value of that boolean is what
drives the decorator.

If you switched to an earlier revision, you definitely would NOT see
the icon. The only time you would ever see it is if you switch a
child path to a different URL. Such as swapping your "lib" folder to
a different branch or something. Even then, the internal code that
Subversion uses to determine if something is switched is very crude
and it is somewhat inconsistent about when it reports it as such. It
really depends on the context in which we ask for the information.
The "externals" boolean has similar problems.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=986943
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2008-12-18 21:19:01 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.