if (isAncestorNotManaged(resource)) {  status = new LocalResourceStatus(new SVNStatusUnversioned(resource.getLocation().toFile(),false)); } else {
    private LocalResourceStatus basicGetStatus(IResource resource, StatusUpdateStrategy strategy) throws SVNException 	{        LocalResourceStatus status = null;        if (isAncestorNotManaged(resource)) {            // we know the resource is not managed because one of its ancestor is not managed       		status = new LocalResourceStatus(new SVNStatusUnversioned(resource.getLocation().toFile(),false));         } else {            // we don't know if resource is managed or not, we must update its status        	strategy.setStatusCache(statusCache);        	setStatuses(strategy.statusesToUpdate(resource), resource);        	status = statusCache.getStatus(resource);        }                if (status == null) {            status = new LocalResourceStatus(new SVNStatusUnversioned(resource.getLocation().toFile(),false));        }                return status;    }