private void readExistingNodes() {
FetchNodesAction action = new FetchNodesAction(nodeStore, affectedPaths,
branchId == null? mongoSync.getHeadRevisionId() : baseRevisionId);
action.setBranchId(branchId);
action.setValidCommits(validCommits);
existingNodes = action.execute();
}
private void mergeNodes() {
for (MongoNode existingNode : existingNodes.values()) {
for (MongoNode committingNode : nodes) {