if (!svnDir.exists()) { svnDir.refreshLocal(IResource.DEPTH_ZERO,new NullProgressMonitor()); } svnDir.setTeamPrivateMember(true); if(Policy.DEBUG_METAFILE_CHANGES) { System.out.println("[svn] found a new SVN meta folder, marking as team-private: " + svnDir.getFullPath()); }
ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() { public void run(IProgressMonitor monitor) throws CoreException { if (!svnDir.exists()) { svnDir.refreshLocal(IResource.DEPTH_ZERO,new NullProgressMonitor()); } if (svnDir.exists()) svnDir.setTeamPrivateMember(true); if(Policy.DEBUG_METAFILE_CHANGES) { System.out.println("[svn] found a new SVN meta folder, marking as team-private: " + svnDir.getFullPath()); } } }, svnDir.getParent(), IWorkspace.AVOID_UPDATE, null);
	protected boolean handleSVNDir(IContainer svnDir) {		if (!svnDir.exists() || !svnDir.isTeamPrivateMember()) 		{			try {				if (!svnDir.exists()) {					svnDir.refreshLocal(IResource.DEPTH_ZERO,new NullProgressMonitor());				}				svnDir.setTeamPrivateMember(true);							if(Policy.DEBUG_METAFILE_CHANGES) {					System.out.println("[svn] found a new SVN meta folder, marking as team-private: " + svnDir.getFullPath()); //$NON-NLS-1$				}			} catch(CoreException e) {				SVNProviderPlugin.log(SVNException.wrapException(svnDir, Policy.bind("OperationManager.errorSettingTeamPrivateFlag"), e)); //$NON-NLS-1$			}		}		return svnDir.isTeamPrivateMember();	}