Equivalence lastEq = migrations.get(0).sinceEquivalence;
// toRe represents toRepo at the revision of last equivalence with fromRepo.
RepositoryExpression toRe = new RepositoryExpression(migrationConfig.getToRepository());
if (lastEq != null) {
toRe = toRe.atRevision(
lastEq.getRevisionForRepository(migrationConfig.getToRepository()).revId);
}
Writer toWriter;
try {