// lock acquired; rebase, apply commit hooks, and unlock
rebase();
builder.setChildNode(ROOT, hook.processCommit(
base.getChildNode(ROOT), head.getChildNode(ROOT)));
builder.removeProperty("token");
builder.removeProperty("timeout");
// complete the commit
SegmentNodeState newHead =
writer.writeNode(builder.getNodeState());
if (store.setHead(after, newHead)) {