url = url.substring(url.indexOf(": url = url.substring(url.indexOf("/") + 1); url = url.substring(myRepositoryRoot.length()); if (!url.startsWith("/")) { url = "/" + url;
String urlString = url.getPath(); String root = myRepositoryRoot.getPath(); String path; if (urlString.equals(root)) { path = "/"; } else { path = urlString.substring(root.length());
    public SVNLock getLock(String url) {        if (myRepositoryRoot == null || myLocks.isEmpty()) {            return null;        }        url = url.substring(url.indexOf("://") + 3);        url = url.substring(url.indexOf("/") + 1);        url = url.substring(myRepositoryRoot.length());        if (!url.startsWith("/")) {            url = "/" + url;        }        url = SVNEncodingUtil.uriDecode(url);        return (SVNLock) myLocks.get(url);    }