long revNumber = getRevisionNumber(revision, repos, path);
final SVNURL reposRoot = repos.getRepositoryRoot(true);
wcAccess.setRepositoryRoot(path, reposRoot);
final SVNRepository[] repos2 = new SVNRepository[1];
ISVNFileFetcher fileFetcher = new ISVNFileFetcher() {
public long fetchFile(String path, long revision, OutputStream os, SVNProperties properties) throws SVNException {
SVNURL url = reposRoot.appendPath(SVNPathUtil.removeTail(path), false);
if (repos2[0] == null) {
repos2[0] = createRepository(url, null, null, false);
} else {