SVNNodeKind fileNodeKind = repository.checkPath(rootUrl + fileName, -1);
SVNURL fileUrl = SVNURL.parseURIEncoded(rootUrl + fileName);
SVNClientManager clientManager = SVNClientManager.newInstance();
if (fileNodeKind == SVNNodeKind.NONE)
{
        clientManager.getCommitClient().doImport(file, fileUrl, "Committing 
file",
false);
}


An execption is thrown when the import is executed saying that the file
already exists. But if it exists, why does fileNodeKind equal
SVNNodeKind.NONE?
-- 
View this message in context: 
http://old.nabble.com/SVNNodeKind-is-NONE-even-if-the-file-exists-tp32380511p32380511.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.


Reply via email to