public KernelNodeState merge() throws CommitFailedException {
MicroKernel kernel = store.getKernel();
CommitEditor editor = store.getCommitEditor();
NodeState oldRoot = store.getRoot();
NodeState toCommit = editor.editCommit(store, oldRoot, currentRoot);
setRoot(toCommit);
try {
String mergedRevision = kernel.merge(branchRevision, null);
branchRevision = null;