ISVNAuthenticationManager authManager=SVNWCUtil.createDefaultAuthenticationManager(username, password)
//缺肆svn的账号,密码
SVNRepository repository = SVNRepositoryFactory.create(repositoryUrl) //svn的地址
repository.setAuthenticationManager(authManager)
SVN版本号伏并轿=repository.getLatestRevision();蔽氏
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)