public String execute() throws Exception,SVNException {
CVEHistory cve = new CVEHistory();
System.out.println("in svn history");
DAVRepositoryFactory.setup();
String[] details = new String[10];
//String url = "file:///D:/IDS/MSCVE/ADVISORIES/CVE-2010-3148.doc";
String url = "https://xxxxxxxxxx/svn/SVN/CVE";
String dstPath="D:/kiran12345";
long startRevision = 0;
long endRevision = -1; // HEAD (the latest) revision
System.out.println("in svn history2");
SVNRepository repository = null;
System.out.println("before checkout");
client.checkout(url, dstPath, null,null, false, false);
System.out.println("after checkout");
}
错误:
org.tigris.subversion.javahl.ClientException: svn: Invalid report for top level of working copy