myRepositoryRoot = myRepository.getRepositoryRoot(true).getPath(); myRepositoryRoot = SVNEncodingUtil.uriEncode(myRepositoryRoot); locks = myRepository.getLocks(path);
myRepositoryRoot = myRepository.getRepositoryRoot(true).getURIEncodedPath(); locks = myRepository.getLocks("");
    public void finishReport() throws SVNException {        myReporter.finishReport();        // collect locks        String path = myRepositoryLocation.substring(myRepository.getLocation().toString().length());        SVNLock[] locks = null;        try {            myRepositoryRoot = myRepository.getRepositoryRoot(true).getPath();            myRepositoryRoot = SVNEncodingUtil.uriEncode(myRepositoryRoot);            locks = myRepository.getLocks(path);        } catch (SVNException e) {            //        }        if (locks != null) {            for (int i = 0; i < locks.length; i++) {                SVNLock lock = locks[i];                myLocks.put(lock.getPath(), lock);            }        }        myEditor.setStatusReporter(this);    }