// also consider nodes with not yet stored modifications (OAK-1107)
Revision minRev = new Revision(minTimestamp, 0, getClusterId());
addPathsForDiff(path, paths, getPendingModifications().getPaths(minRev));
for (Revision r : new Revision[]{fromRev, toRev}) {
if (r.isBranch()) {
BranchCommit c = getBranches().getBranchCommit(r);
if (c != null) {
addPathsForDiff(path, paths, c.getModifiedPaths());
}
}
}
for (String p : paths) {
DocumentNodeState fromNode = getNode(p, fromRev);