SVNRepository repos = SVNRepositoryFactory.create(myRepos.getLocation()); repos.setAuthenticationManager(myRepos.getAuthenticationManager());
SVNRepository repos = getSourceRepository();
    private SVNLogEntryPath getFileCopyOrigin(String path) throws SVNException {        Object[] paths = myCopiedPaths.keySet().toArray();        SVNLogEntryPath realPath = null;        for (int i = 0; i < paths.length; i++) {            String copiedPath = (String) paths[i];                        if (!path.startsWith(copiedPath)) {                continue;            }                        String relativePath = path.substring(copiedPath.endsWith("/") ? copiedPath.length() : copiedPath.length() + 1);            SVNLogEntryPath changedPath = (SVNLogEntryPath) myCopiedPaths.get(copiedPath);            String realFilePath = SVNPathUtil.concatToAbs(changedPath.getCopyPath(), relativePath);            SVNRepository repos = SVNRepositoryFactory.create(myRepos.getLocation());            repos.setAuthenticationManager(myRepos.getAuthenticationManager());            if (repos.checkPath(realFilePath, changedPath.getCopyRevision()) == SVNNodeKind.FILE) {                realPath = new SVNLogEntryPath(path, ' ', realFilePath, changedPath.getCopyRevision());                break;            }        }        return realPath;    }