toRev = i;
}
writeRevisionRecord(dumpStream, fsfs, toRev);
boolean useDeltasForRevision = useDeltas && (isIncremental || i != start);
FSRevisionRoot toRoot = fsfs.createRevisionRoot(toRev);
ISVNEditor dumpEditor = new SVNDumpEditor(fsfs, toRoot, toRev, start, "/", dumpStream, useDeltasForRevision);
if (i == start && !isIncremental) {
FSRevisionRoot fromRoot = fsfs.createRevisionRoot(fromRev);
SVNAdminHelper.deltifyDir(fsfs, fromRoot, "/", "", toRoot, "/", dumpEditor);
} else {
FSRepositoryUtil.replay(fsfs, toRoot, "", -1, false, dumpEditor);
}
String message = (isDumping ? "* Dumped" : "* Verified") + " revision " + toRev + ".";