SVNLogClient logClient = getClientManager().getLogClient();
ISVNLogEntryHandler handler = this;
SVNXMLSerializer serializer = null;
if (getCommandLine().hasArgument(SVNArgument.XML)) {
serializer = new SVNXMLSerializer(out);
handler = new SVNXMLLogHandler(serializer);
if (!getCommandLine().hasArgument(SVNArgument.INCREMENTAL)) {
((AbstractXMLHandler) handler).startDocument();
}
}
if (getCommandLine().hasURLs()) {