return getWorkspaceRoot().getRepository();
SVNWorkspaceRoot root = getWorkspaceRoot(); if (root == null) { SVNProviderPlugin.log(IStatus.WARNING, Policy.bind("LocalResource.errorGettingTeamProvider", resource.toString()), null); return null; } return root.getRepository();
	public ISVNRepositoryLocation getRepository()  {		try {			return getWorkspaceRoot().getRepository();		} catch (SVNException e) {			// an exception is thrown when project is not managed			SVNProviderPlugin.log(e);			return null;		}	}