SVNStatusClient stClient = getClientManager().getStatusClient();
ISVNStatusHandler handler = new SVNCommandStatusHandler(out, reportAll || showUpdates, reportAll, quiet, showUpdates);
SVNXMLSerializer serializer;
serializer = getCommandLine().hasArgument(SVNArgument.XML) ? new SVNXMLSerializer(System.out) : null;
if (serializer != null) {
handler = new SVNXMLStatusHandler(serializer);
if (!getCommandLine().hasArgument(SVNArgument.INCREMENTAL)) {
((SVNXMLStatusHandler) handler).startDocument();
}
}
boolean error = false;