String pathRepos = reposLocation.getPath(); String pathUrl = urlLocation.getPath();
String pathRepos = PathUtil.decode(reposLocation.getPath()); String pathUrl = PathUtil.decode(urlLocation.getPath());
    private String getRepositoryPath(SVNRepository repository, SVNUrl url)            throws SVNException {        SVNRepositoryLocation reposLocation = repository.getLocation();        SVNRepositoryLocation urlLocation = SVNRepositoryLocation.parseURL(url                .toString());        if ((!reposLocation.getHost().equals(urlLocation.getHost()))                || (reposLocation.getPort() != urlLocation.getPort())                || (!reposLocation.getProtocol().equals(                        urlLocation.getProtocol()))) {            return null;        }        String pathRepos = reposLocation.getPath();        String pathUrl = urlLocation.getPath();        if (pathUrl.startsWith(pathRepos)) {            pathUrl = pathUrl.substring(pathRepos.length());            return pathUrl;        }        return null;    }