SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CL_INSUFFICIENT_ARGS,
"Missing repository path argument");
SVNErrorManager.error(err, SVNLogType.FSFS);
}
FSFS fsfs = open(repositoryRoot, revision);
try {
long revNum = SVNAdminHelper.getRevisionNumber(revision, fsfs.getYoungestRevision(), fsfs);
FSRoot root = fsfs.createRevisionRoot(revNum);
catFile(root, path, out);
} finally {
SVNAdminHelper.closeRepository(fsfs);
}
}