boolean useHead = tag == null || tag.equals(CVS_HEAD_TAG) || tag.equals("");
if (useHead) {
commandLine.createArgument().setValue("-N");
}
String dateRange = formatCVSDate(lastBuildTime) + "<" + formatCVSDate(checkTime);
commandLine.createArgument().setValue("-d" + dateRange);
if (!useHead) {
// add -b and -rTAG to list changes relative to the current branch,
// not relative to the default branch, which is HEAD