* @return a list of pending Migrations since last {@link Equivalence} per migrationConfig
*/
public static List<Migration> determineMigrations(
ProjectContext context, MigrationConfig migrationConfig, Db db) {
Repository fromRepo = context.repositories.get(migrationConfig.getFromRepository());
EquivalenceMatchResult equivMatch = fromRepo.revisionHistory.findRevisions(
null, // Start at head.
new EquivalenceMatcher(migrationConfig.getToRepository(), db));
// TODO(user): Decide whether to migrate linear or graph history here. Once DVCS Writers