String reservedScmFile = scmProvider.getScmSpecificFilename();
if ( reservedScmFile != null && new File( basedir, reservedScmFile ).exists() )
{
scmProvider.update( scmRepository, new ScmFileSet( basedir ), makeScmVersion() );
}
else
{
// TODO: this should be checking out a full hierarchy (requires the -d equiv)
basedir.mkdirs();