}
public ChangeLogScmResult changeLog( ContinuumScmConfiguration configuration )
throws ScmException
{
ScmVersion scmVersion = getScmVersion( configuration );
Date startDate = null;
// TODO: probably need to base this from a working directory in the main configuration
File workingDirectory = configuration.getWorkingDirectory();
ScmRepository repository = getScmRepository( configuration );
ChangeLogScmResult result;
ScmFileSet fileSet = new ScmFileSet( workingDirectory );
if ( scmVersion == null || StringUtils.isBlank( scmVersion.getName() ) )
{
// let's get the start date instead
startDate = getScmStartDate( configuration );
result = scmManager.changeLog( repository, fileSet, startDate, null, 0, null, null );