batch = service.createBatch(sessionInfo, target.getId());
Iterator it = changeLog.getOperations().iterator();
while (it.hasNext()) {
Operation op = (Operation) it.next();
log.debug("executing " + op.getName());
op.accept(this);
}
} catch (RepositoryException e) {
ex = e;
} finally {
if (batch != null) {