0
通過代碼,我導入文件到SVN倉庫,如:添加文件的添加和自動提交,但如果我當SVNError:文件已經存在:org.tmatesoft.svn.core.SVNException
SVNCommitClient client = new SVNCommitClient(authManager,null);
client.doImport(file,SVNURL.parseURIEncoded(<SVN Path>),
"Am ready to commit", new SVNProperties(), false, false, SVNDepth.INFINITY);
第一次運行相同的代碼時,文件已經在destLocation(即SVN回購地點)以下錯誤是發生exsisting:
ERROR : Failed to Download File.SVNException
org.tmatesoft.svn.core.SVNException: svn: E160020: File already exists: ....
請幫我通過Java代碼來覆蓋SVN已經exsisting文件。
感謝,
Rajhrita