FSCommitter committer = getCommitter(fsfs, root, txn, resource.getLockTokens(), resource.getUserName());
SVNNodeKind kind = DAVServletUtil.checkPath(resource.getRoot(), resource.getResourceURI().getPath());
if (kind == SVNNodeKind.NONE) {
try {
committer.makeFile(path);
} catch (SVNException svne) {
throw DAVException.convertError(svne.getErrorMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
"Could not create file within the repository.", null);
}
}