[Subclipse-dev] Subclipse "switch" very slow compared to "svn switch" (From users list)
From: Irving, Dave <dave.irving_at_logicacmg.com>
Date: 2006-04-10 15:44:34 CEST
Hi,
My switch time dropped straight down to 1min 25 (just 5 seconds more
However, Im sure there are all manner of nasty side effects of doing
Anyways, for completeness, here's what I did:
--- C:/eclipse/3.2M4/eclipse/workspace/subclipse-core/src/org/tigris/subvers ion/subclipse/core/commands/SwitchToUrlCommand.java (revision 2164) +++ C:/eclipse/3.2M4/eclipse/workspace/subclipse-core/src/org/tigris/subvers ion/subclipse/core/commands/SwitchToUrlCommand.java (working copy) @@ -48,11 +48,12 @@ OperationManager.getInstance().beginOperation(svnClient, new OperationProgressNotifyListener(subPm)); File file = resource.getLocation().toFile(); svnClient.switchToUrl(file, svnUrl, svnRevision, true); - try { - // Refresh the resource after merge - resource.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()); - } catch (CoreException e1) { - } +// try { +// // Refresh the resource after merge +// +// resource.refreshLocal(IResource.DEPTH_INFINITE, monitor); +// } catch (CoreException e1) { +// } } catch (SVNClientException e) { throw SVNException.wrapException(e); } finally { 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. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org For additional commands, e-mail: dev-help@subclipse.tigris.orgReceived on Mon Apr 10 15:45:31 2006 |
This is an archived mail posted to the Subclipse Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.