remoteSyncStateStore.setBytes(result[i], new StatusInfo(statuses[i]).asBytes());
StatusInfo remoteInfo = new StatusInfo(cmd.getRevision(), statuses[i].getRepositoryTextStatus(), statuses[i].getRepositoryPropStatus() ); remoteSyncStateStore.setBytes( statuses[i].getResource(), remoteInfo.asBytes() );
    private IResource[] findChanges(IResource resource, int depth) throws TeamException {        System.out.println("SVNWorkspaceSubscriber.refresh()"+resource+" "+depth);		        IWorkspace workspace = ResourcesPlugin.getWorkspace();        IWorkspaceRoot workspaceRoot = workspace.getRoot();                remoteSyncStateStore.flushBytes(resource, depth);        ISVNClientAdapter client = SVNProviderPlugin.getPlugin().createSVNClient();        boolean descend = (depth == IResource.DEPTH_INFINITE)? true : false;        try {            StatusAndInfoCommand cmd = new StatusAndInfoCommand(SVNWorkspaceRoot.getSVNResourceFor( resource ), descend, false, true );            cmd.execute( client );            InformedStatus[] statuses = cmd.getInformedStatuses();            IResource[] result = new IResource[statuses.length];            for (int i = 0; i < statuses.length; i++) {				            	result[i] = statuses[i].getResource();				                if (isSupervised(result[i]))                {                    remoteSyncStateStore.setBytes(result[i], new StatusInfo(statuses[i]).asBytes());                }					                //System.out.println(cmd.getRevision()+" "+changedResource+" R:"+status.getLastChangedRevision()+" L:"+status.getTextStatus()+" R:"+status.getRepositoryTextStatus());			}                        return result;        } catch (SVNClientException e) {            throw new TeamException("Error getting status for resource "+resource + " " + e.getMessage(), e);        }    }