else {
Id newBranchId = Id.fromString(branch(newBaseRevisionId));
try {
CommitBuilder cb = rep.getCommitBuilder(newBranchId,
"rebasing " + branchRevisionId + " onto " + newBaseRevisionId);
return cb.rebase(baseId, branchId).toString();
}
catch (Exception e) {
throw new MicroKernelException(e);
}
}