boolean force = getCommandLine().hasArgument(SVNArgument.FORCE);
boolean disableAutoProps = getCommandLine().hasArgument(SVNArgument.NO_AUTO_PROPS);
boolean enableAutoProps = getCommandLine().hasArgument(SVNArgument.AUTO_PROPS);
getClientManager().setEventHandler(new SVNCommandEventProcessor(out, err, false));
SVNWCClient wcClient = getClientManager().getWCClient();
if (disableAutoProps) {
wcClient.getOptions().setUseAutoProperties(false);
}
if (enableAutoProps) {
wcClient.getOptions().setUseAutoProperties(true);
}
boolean noIgnore = getCommandLine().hasArgument(SVNArgument.NO_IGNORE);
for (int i = 0; i < getCommandLine().getPathCount(); i++) {
final String absolutePath = getCommandLine().getPathAt(i);
matchTabsInPath(absolutePath, err);
wcClient.doAdd(new File(absolutePath), force, false, false, recursive, noIgnore);
}
}