} catch (NumberFormatException nfe) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CL_ARG_PARSING_ERROR,
"Non-numeric change argument ({0}) given to -c", token);
SVNErrorManager.error(err, SVNLogType.CLIENT);
}
SVNRevisionRange range = null;
if (change == 0) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CL_ARG_PARSING_ERROR,
"There is no change 0");
SVNErrorManager.error(err, SVNLogType.CLIENT);
} else if (change > 0) {
range = new SVNRevisionRange(SVNRevision.create(change - 1), SVNRevision.create(change));
} else {
change = -change;
range = new SVNRevisionRange(SVNRevision.create(change), SVNRevision.create(change - 1));
}
myRevisionRanges.add(range);
myIsChangeOptionUsed = true;
}
} else if (option == SVNOption.REVISION) {
String revStr = optionValue.getValue();
SVNRevision[] revisions = parseRevision(revStr);
if (revisions == null) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.CL_ARG_PARSING_ERROR,
"Syntax error in revision argument ''{0}''", revStr);
SVNErrorManager.error(err, SVNLogType.CLIENT);
}
SVNRevisionRange range = new SVNRevisionRange(revisions[0], revisions[1]);
myRevisionRanges.add(range);
myIsRevisionOptionUsed = true;
} else if (option == SVNOption.VERBOSE) {
myIsVerbose = true;
} else if (option == SVNOption.UPDATE) {