if(location.indexOf(url)!=-1){ return (ISVNRepositoryLocation) repositories.get(url);
if (url.equals(location) || location.indexOf(url + "/") != -1){ return (ISVNRepositoryLocation) repositories.get(url);
	public ISVNRepositoryLocation getRepository(String location) throws SVNException {                		Set keys = repositories.keySet();		for(Iterator iter = keys.iterator();iter.hasNext();){			String url = (String)iter.next();			if(location.indexOf(url)!=-1){				return (ISVNRepositoryLocation) repositories.get(url);			}        			}//else we couldn't find it, fall through to adding new repo.		ISVNRepositoryLocation repository = SVNRepositoryLocation.fromString(location);		addToRepositoriesCache(repository);        		return repository;	}