NodeExistsCommand existCommand = new NodeExistsCommand(nodeStore,
path, baseRevisionId);
existCommand.setBranchId(branchId);
boolean exists = false;
try {
exists = existCommand.execute();
} catch (Exception ignore) {}
if (!exists) {
throw new NotFoundException(path + " @rev" + baseRevisionId);
}