throw new MoeProblem(e.getMessage());
} catch (CodebaseCreationError e) {
throw new MoeProblem(e.getMessage());
}
MetadataScrubberConfig sc = migration.config.getMetadataScrubberConfig();
RevisionMetadata metadata = (sc == null)
? DetermineMetadataLogic.determine(context, migration.fromRevisions, mostRecentFromRev)
: DetermineMetadataLogic.determine(context, migration.fromRevisions, sc, mostRecentFromRev);
return ChangeLogic.change(fromCodebase, destination, metadata);