private ScmResultWrapper execute(final ScmFileSet fileSet,
final ScmRepository repository, final ScmProvider provider)
throws org.apache.maven.scm.ScmException
{
final ScmVersion remoteVersion = scmConnectionInfo.getRemoteVersion();
final ScmResultWrapper result;
if (remoteVersion != null)
{
final ScmVersion localVersion = null;
result =
createScmDiffResultWrapper(provider.diff(repository, fileSet,
remoteVersion, localVersion));
}
else