try { return SVNProviderPlugin.getPlugin().getRepository(getUrl().toString()); } catch (SVNException e) {  SVNProviderPlugin.log(e); return null;
if (getUrlString() != null) { try { return SVNProviderPlugin.getPlugin().getRepository(getUrlString()); } catch (SVNException e) {  SVNProviderPlugin.log(e); return null; } } else { try { SVNTeamProvider teamProvider = (SVNTeamProvider)RepositoryProvider.getProvider(getResource().getProject(), SVNProviderPlugin.getTypeId()); return teamProvider.getSVNWorkspaceRoot().getRepository(); } catch (SVNException e) {  SVNProviderPlugin.log(e); return null; }
	public ISVNRepositoryLocation getRepository()	{		try {			return SVNProviderPlugin.getPlugin().getRepository(getUrl().toString());		} catch (SVNException e) {			// an exception is thrown when resource	is not managed			SVNProviderPlugin.log(e);			return null;		}	}