Login | Register
My pages Projects Community openCollabNet

Discussions > dev > RE: [Subclipse-dev] Subclipse "switch" very slow compared to "svn switch" (From users list)

subclipse
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

RE: [Subclipse-dev] Subclipse "switch" very slow compared to "svn switch" (From users list)

Author "Irving, Dave" <dave dot irving at logicacmg dot com>
Full name "Irving, Dave" <dave dot irving at logicacmg dot com>
Date 2006-04-10 07:13:59 PDT
Message Mark Phippard wrote:

> I do not think there will be any "nasty" side effects. In
> the worst case, there will be situations where the decorators
> do not update. In the case of Switch, this is usually the
> project decorator does not update to the new URL.
...

That's good to know - as I may use this "patch" locally :o)

> With Merge the problem was similar. After some merges you
> would not get the modified files indicator unless you did a Refresh.
...

Again, useful to know - thanks.

> I added the Refresh as a way to resolve these problems. In
> my own testing, even in very large projects, the Refresh
> option always ran very quickly provided that the files were
> not out of synch with Eclipse. It basically was no different
> than right-click on a project and choosing the Refresh
> option. If the project is in synch, this runs fast and no
> build is triggered.

I've just performed a switch whilst using my modified "un-refreshing"
SwitchToUrlCommand.
First it ran very fast (comparable to "svn switch ..."). Im pretty sure
that no -- project -- files were actually modified during this process
(I branched from the head of some personal project, and then switched
the project root to the new branch).
Then I did a right click, "Refresh" on the project - which took 5mins
(with NO progress information other than "0%" progress until it
completed).
So, yeah - **something** is out of sync as a result of the switch - but
I don't think it's the source-controlled files.
Certainly dir-wcprops has changed in the project root's .svn folder.

Is there perhaps something that says "do a full re-build if the root
directory meta-data has changed"? (Long shot :o)

Basically, it seems that the refresh in SwitchUrlCommand isn't the root
of my problem - its what ever is causing the 5min refresh directly --
after -- a top-level switch that is giving me grief.


> I think the real patch to this problem would be to take out
> the refresh option but then also figure out the problem as to
> why the decorators do not always update.

Yeah... Once I've solved my current problem, I'll hopefully find time to
start investigating.


> Mark

Dave


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

RE: [Subclipse-dev] Subclipse "switch" very slow compared to "svn switch" (From users list) "Irving, Dave" <dave dot irving at logicacmg dot com> "Irving, Dave" <dave dot irving at logicacmg dot com> 2006-04-10 07:13:59 PDT
Messages per page: