final Properties buildMetaDataProperties,
final RevisionNumberFetcher revisionFetcher) throws ScmException
{
try
{
final ScmFileSet fileSet =
new ScmFileSet(scmAccessInfo.getRootDirectory(), "**/*", null);
final LocallyModifiedInfo info =
revisionFetcher.containsModifications(fileSet);
buildMetaDataProperties.setProperty(
Constant.PROP_NAME_SCM_LOCALLY_MODIFIED,
String.valueOf(info.isLocallyModified()));