public boolean hasOne(User user, String path) {
SVNClientManager svnClientManager = null;
try {
svnClientManager = getSVNClientManager();
SVNURL userRepoUrl = SVNURL.fromFile(getUserRepoDirectory(user));
SVNRepository repo = svnClientManager.createRepository(userRepoUrl, true);
SVNNodeKind nodeKind = repo.checkPath(path, -1);
return (nodeKind != SVNNodeKind.NONE);
} catch (Exception e) {
LOG.error("Error while fetching files from SVN", e);
throw processException("Error while checking file existence from SVN", e);