checkedOutFiles = checkOut( source, baseDestination, fileList, repository.getModule() );
// write metadata file
LocalScmMetadataUtils metadataUtils = new LocalScmMetadataUtils( getLogger() );
metadataUtils.writeMetadata( baseDestination, metadataUtils.buildMetadata( source ) );
}
catch ( IOException ex )
{
throw new ScmException( "Error while checking out the files.", ex );
}