// TODO Handle the case where p4Label is set.
private boolean wouldSyncChangeWorkspace(AbstractProject project, Depot depot,
PrintStream logger) throws IOException, InterruptedException, PerforceException {
Workspaces workspaces = depot.getWorkspaces();
String result = workspaces.syncDryRun().toString();
if (result.startsWith("File(s) up-to-date.")) {
logger.println("Workspace up-to-date.");
return false;
} else {