resetLog();
}
}
private void info2(String pathOrUrl, Revision revision, Revision pegRevision, int depth, String[] changelists, ISVNInfoHandler handler) throws SVNException {
SVNWCClient client = getSVNWCClient();
if (isURL(pathOrUrl)) {
client.doInfo(SVNURL.parseURIEncoded(pathOrUrl),
JavaHLObjectFactory.getSVNRevision(pegRevision),
JavaHLObjectFactory.getSVNRevision(revision),
JavaHLObjectFactory.getSVNDepth(depth), handler);
} else {
Collection changeListsCollection = null;
if (changelists != null && changelists.length > 0) {
changeListsCollection = Arrays.asList(changelists);
}
client.doInfo(new File(pathOrUrl).getAbsoluteFile(),
JavaHLObjectFactory.getSVNRevision(pegRevision),
JavaHLObjectFactory.getSVNRevision(revision),
JavaHLObjectFactory.getSVNDepth(depth), changeListsCollection, handler);
}
}