String start = startRev != null && StringUtils.isNotEmpty( startRev.getName() ) ? "@" + startRev.getName() : "";
String end = endRev != null && StringUtils.isNotEmpty( endRev.getName() ) ? endRev.getName() : "now";
Commandline command = PerforceScmProvider.createP4Command( repo, workingDirectory );
command.createArg().setValue( "diff2" );
command.createArg().setValue( "-u" );
// I'm assuming the "revs" are actually labels
command.createArg().setValue( "..." + start );
command.createArg().setValue( "...@" + end );
return command;