0
所以,我在SVN倉庫下創建了一個項目TEST,我想知道這個項目目錄是否與SVNKit庫存在。協議是http。SVNKit - 檢查目錄是否存在
我想例如...
private String urlSviluppo = "http://myrepo/SVILUPPO";
DAVRepositoryFactory.setup();
SVNURL url = SVNURL.parseURIDecoded(urlSviluppo);
ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager("user", "pwd");
DAVRepository repositorySviluppo = (DAVRepository)DAVRepositoryFactory.create(url, null);
repositorySviluppo.setAuthenticationManager(authManager);
DefaultSVNOptions options = SVNWCUtil.createDefaultOptions(true);
SVNClientManager clientManager = SVNClientManager.newInstance(options, "user", "pwd");
clientManager.createRepository(url, true);
我如何可以訪問存儲庫/項目信息?
感謝