SVNRevision svnRev = SVNRevision.create(r.getRevisionNumber());
if (checkCurrentRevision && r == model.getCurrentRevision()) {
return new CurrentRevision(_filePath.getVirtualFile(), new SvnRevisionNumber(svnRev));
} else {
SvnVcs svnVcs = SvnVcs.getInstance(_project);
return new SvnFileRevision(svnVcs, svnRev, svnRev,
revisionHistory.getRepoRoot() + r.getRelPath(), null, null, null, null);
}
}