UpdateScmResult result = command.update( repository, fileSet, parameters );
if ( result.isSuccess() && parameters.getBoolean( CommandParameter.RUN_CHANGELOG_WITH_UPDATE ) )
{
AccuRevUpdateScmResult accuRevResult = (AccuRevUpdateScmResult) result;
ScmRevision fromRevision = new ScmRevision( accuRevResult.getFromRevision() );
ScmRevision toRevision = new ScmRevision( accuRevResult.getToRevision() );
parameters.setScmVersion( CommandParameter.START_SCM_VERSION, fromRevision );
parameters.setScmVersion( CommandParameter.END_SCM_VERSION, toRevision );
AccuRevVersion startVersion = accurevRepo.getAccuRevVersion( fromRevision );