ScmVersion startRevision, ScmVersion endRevision )
throws ScmException
{
DiffScmResult result;
IntegrityScmProviderRepository iRepo = (IntegrityScmProviderRepository) repository;
APISession api = iRepo.getAPISession();
getLogger().info( "Showing differences bettween local files in " + fileSet.getBasedir().getAbsolutePath()
+ " and server project " + iRepo.getConfigruationPath() );
// Since the si diff command is not completely API ready, we will use the CLI for this command
Commandline shell = new Commandline();
shell.setWorkingDirectory( fileSet.getBasedir() );
shell.setExecutable( "si" );
shell.createArg().setValue( "diff" );
shell.createArg().setValue( "--hostname=" + api.getHostName() );
shell.createArg().setValue( "--port=" + api.getPort() );
shell.createArg().setValue( "--user=" + api.getUserName() );
shell.createArg().setValue( "-R" );
shell.createArg().setValue( "--filter=changed:all" );
shell.createArg().setValue( "--filter=format:text" );
IntegrityDiffConsumer shellConsumer = new IntegrityDiffConsumer( getLogger() );