provider.checkin(providerResources, commitComment, IResource.DEPTH_INFINITE, null);
provider.checkin(providerResources, commitComment, IResource.DEPTH_ZERO, null);
    protected void execute(IProgressMonitor monitor) throws SVNException, InterruptedException {        monitor.beginTask(null, 100);        try {			if (resourcesToAdd.length > 0) {			    Map table = getProviderMapping(resourcesToAdd);				if (table.get(null) != null) {					throw new SVNException(Policy.bind("RepositoryManager.addErrorNotAssociated")); 				}				Set keySet = table.keySet();				Iterator iterator = keySet.iterator();				while (iterator.hasNext()) {					SVNTeamProvider provider = (SVNTeamProvider)iterator.next();					List list = (List)table.get(provider);					IResource[] providerResources = (IResource[])list.toArray(new IResource[list.size()]);					provider.add(providerResources, IResource.DEPTH_ZERO, null);				}									}			Map table = getProviderMapping(resourcesToCommit);			Set keySet = table.keySet();			Iterator iterator = keySet.iterator();			while (iterator.hasNext()) {				IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 1000);				SVNTeamProvider provider = (SVNTeamProvider)iterator.next();				List list = (List)table.get(provider);				IResource[] providerResources = (IResource[])list.toArray(new IResource[list.size()]);				provider.checkin(providerResources, commitComment, IResource.DEPTH_INFINITE, null);			}						for (int i = 0; i < selectedResources.length; i++) {				IResource projectHandle = selectedResources[i].getProject();				projectHandle.refreshLocal(IResource.DEPTH_INFINITE, monitor);			}		        } catch (TeamException e) {			throw SVNException.wrapException(e);		} catch (CoreException e) {			throw SVNException.wrapException(e);		} finally {			monitor.done();		}    }